Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-173239

Failed to save operators list & unable to op new users

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Duplicate
    • Affects Version/s: 20w09a
    • Fix Version/s: None
    • Labels:
      None
    • Confirmation Status:
      Unconfirmed
    • Category:
      (Unassigned)

      Description

      When updating to 20w09a the following error occurs on load:

      // Failed to save operators list:java.lang.IllegalArgumentException: class zu declares multiple JSON fields named aat com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.getBoundFields(ReflectiveTypeAdapterFactory.java:170) ~[server.jar:?]at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.create(ReflectiveTypeAdapterFactory.java:100) ~[server.jar:?]at com.google.gson.Gson.getAdapter(Gson.java:423) ~[server.jar:?]at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.write(TypeAdapterRuntimeTypeWrapper.java:56) ~[server.jar:?]at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.write(CollectionTypeAdapterFactory.java:97) ~[server.jar:?]at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.write(CollectionTypeAdapterFactory.java:61) ~[server.jar:?]at com.google.gson.Gson.toJson(Gson.java:669) ~[server.jar:?]at com.google.gson.Gson.toJson(Gson.java:648) ~[server.jar:?]at com.google.gson.Gson.toJson(Gson.java:623) ~[server.jar:?]at zw.f(SourceFile:114) ~[server.jar:?]at wg.B(SourceFile:114) [server.jar:?]at wg.<init>(SourceFile:31) [server.jar:?]at wh.d(SourceFile:186) [server.jar:?]at net.minecraft.server.MinecraftServer.run(SourceFile:634) [server.jar:?]at java.lang.Thread.run(Thread.java:748) [?:1.8.0_212]
      

      If i delete the ops.json and restart the server, using the op command also throws an error

      // An unexpected error occurred trying to execute that command
      

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              ArZor ArZor
              Votes:
              2 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: