Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-3866

Essentials error causing server to stop responding.

XMLWordPrintable

    • Essentials

      My friend tried to go to spawn using /spawn, and the server stopped responding. So I restarted it and it worked fine until someone wrote /spawn or /setspawn. 

      I posted the logs in the .gz file.

      I also found an error/warning in the console: 

      [16:57:23 WARN]: [Essentials] Plugin Essentials v2.0.1-b482 generated an exception while executing task 39
      org.yaml.snakeyaml.constructor.ConstructorException: Can't construct a java object for tag:yaml.org,2002:com.earth2me.essentials.settings.Spawns; exception=java.lang.NoSuchFieldException: typeDefinitions
      in 'reader', line 1, column 1:
      spawns:
      ^

      at org.yaml.snakeyaml.constructor.Constructor$ConstructYamlObject.construct(Constructor.java:313) ~[craftbukkit.jar:git-Spigot-4bd94dc-bacaf92]
      at org.yaml.snakeyaml.constructor.BaseConstructor.constructObjectNoCheck(BaseConstructor.java:207) ~[craftbukkit.jar:git-Spigot-4bd94dc-bacaf92]
      at org.yaml.snakeyaml.constructor.BaseConstructor.constructObject(BaseConstructor.java:196) ~[craftbukkit.jar:git-Spigot-4bd94dc-bacaf92]
      at org.yaml.snakeyaml.constructor.BaseConstructor.constructDocument(BaseConstructor.java:161) ~[craftbukkit.jar:git-Spigot-4bd94dc-bacaf92]
      at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:147) ~[craftbukkit.jar:git-Spigot-4bd94dc-bacaf92]
      at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:524) ~[craftbukkit.jar:git-Spigot-4bd94dc-bacaf92]
      at org.yaml.snakeyaml.Yaml.load(Yaml.java:467) ~[craftbukkit.jar:git-Spigot-4bd94dc-bacaf92]
      at com.earth2me.essentials.storage.YamlStorageReader.load(YamlStorageReader.java:41) ~[?:?]
      at com.earth2me.essentials.storage.AbstractDelayedYamlFileReader.run(AbstractDelayedYamlFileReader.java:33) ~[?:?]
      at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:71) ~[craftbukkit.jar:git-Spigot-4bd94dc-bacaf92]
      at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:52) [craftbukkit.jar:git-Spigot-4bd94dc-bacaf92]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_161]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_161]
      at java.lang.Thread.run(Unknown Source) [?:1.8.0_161]
      Caused by: org.yaml.snakeyaml.error.YAMLException: java.lang.NoSuchFieldException: typeDefinitions
      at com.earth2me.essentials.storage.BukkitConstructor$ConstructBukkitMapping.constructJavaBean2ndStep(BukkitConstructor.java:231) ~[?:?]
      at org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.construct(Constructor.java:149) ~[craftbukkit.jar:git-Spigot-4bd94dc-bacaf92]
      at com.earth2me.essentials.storage.BukkitConstructor$ConstructBukkitMapping.construct(BukkitConstructor.java:217) ~[?:?]
      at org.yaml.snakeyaml.constructor.Constructor$ConstructYamlObject.construct(Constructor.java:308) ~[craftbukkit.jar:git-Spigot-4bd94dc-bacaf92]
      ... 13 more
      Caused by: java.lang.NoSuchFieldException: typeDefinitions
      at java.lang.Class.getDeclaredField(Unknown Source) ~[?:1.8.0_161]
      at com.earth2me.essentials.storage.BukkitConstructor$ConstructBukkitMapping.constructJavaBean2ndStep(BukkitConstructor.java:224) ~[?:?]
      at org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.construct(Constructor.java:149) ~[craftbukkit.jar:git-Spigot-4bd94dc-bacaf92]
      at com.earth2me.essentials.storage.BukkitConstructor$ConstructBukkitMapping.construct(BukkitConstructor.java:217) ~[?:?]
      at org.yaml.snakeyaml.constructor.Constructor$ConstructYamlObject.construct(Constructor.java:308) ~[craftbukkit.jar:git-Spigot-4bd94dc-bacaf92]
      ... 13 more

            Unassigned Unassigned
            kjonte123 Jonathan Carlsson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: