-
Bug
-
Resolution: Duplicate
-
None
-
20w09a
-
None
-
Windows 10
java version "1.8.0_241"
Java(TM) SE Runtime Environment (build 1.8.0_241-b07)
Java HotSpot(TM) 64-Bit Server VM (build 25.241-b07, mixed mode)
-
Unconfirmed
-
(Unassigned)
El server.jar publicado para la snapshot 20w09a, no lee correctamente el archivo ops.json. También resulta imposible modificarlo mediante los comandos /op y /deop. Al iniciar el servidor, se obtiene el error "Failed to load operators list", y al ejecutar el comando /op se obtiene "An unexpected error occurred trying to execute that command".
A continuación del error al iniciar el servidor, se obtiene el siguiente código:
15:14:36 [javastacktrace] at com.google.gson.Gson.fromJson(Gson.java:897) ~[server.jar:?]15:14:36 [javastacktrace] at com.google.gson.Gson.fromJson(Gson.java:897) ~[server.jar:?]15:14:36 [javastacktrace] at com.google.gson.Gson.fromJson(Gson.java:825) ~[server.jar:?]15:14:36 [javastacktrace] at java.lang.Thread.run(Unknown Source) [?:1.8.0_241]15:14:36 [javastacktrace] at com.google.gson.stream.JsonReader.nextNonWhitespace(JsonReader.java:1393) ~[server.jar:?]15:14:36 [javastacktrace] at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:549) ~[server.jar:?]15:14:36 [javastacktrace] at com.google.gson.stream.JsonReader.hasNext(JsonReader.java:414) ~[server.jar:?]15:14:36 [javastacktrace] at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:730) ~[server.jar:?]15:14:37 [javastacktrace] at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:714) ~[server.jar:?]15:14:37 [javastacktrace] at com.google.gson.internal.bind.TypeAdapters$35$1.read(TypeAdapters.java:910) ~[server.jar:?]15:14:37 [javastacktrace] at com.google.gson.Gson.fromJson(Gson.java:887) ~[server.jar:?]
- duplicates
-
MC-173176 Serialization error affecting operators list and whitelist
- Resolved