[WARNING] Method "public Class getClassByName(String)" is Deprecated, and may be removed in a future

Discussion in 'Bukkit Help' started by aaronfranke, Dec 30, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    aaronfranke

    [WARNING] Method "public Class getClassByName(String)" is Deprecated, and may be removed in a future version of Bukkit

    What causes this?
     
  2. Offline

    falkensmaze

    Typically an outdated plugin. Post the whole error, including the backtrace that follows it.
     
  3. Offline

    aaronfranke

    Ok, nevermind all of this, I hate the new all-plugins-must-be-verified-every-update feature of bukkit and I am just going to start my server from scratch... Goodbye cruel server!
     
  4. Offline

    nhadobas

    That's just bukkit telling you public class getclassbyname(string) is deprecated and may be removed in the future. If the error isn't a severe error it doesn't hurt your servers performance. Nothing to worry about.
     
  5. Offline

    falkensmaze

    Actually this is unrelated to that particular change. This error is harmless, apart from spamming your console.
     
  6. Offline

    kaldyka

    I've got the same error, and the server is crashes in every 10 hours
    Here is the full error:


    Method "public Class<?> getClassByName(String)" is Deprecated, and may be removed in a future version of Bukkit
    org.bukkit.plugin.AuthorNagException:
    at org.bukkit.plugin.java.JavaPluginLoader.getClassByName(JavaPluginLoader.java:284)
    at com.earth2me.essentials.storage.BukkitConstructor.getClassForNode(BukkitConstructor.java:421)
    at org.yaml.snakeyaml.constructor.Constructor$ConstructYamlObject.getConstructor(Constructor.java:321)
    at org.yaml.snakeyaml.constructor.Constructor$ConstructYamlObject.construct(Constructor.java:331)
    at org.yaml.snakeyaml.constructor.BaseConstructor.constructObject(BaseConstructor.java:183)
    at org.yaml.snakeyaml.constructor.BaseConstructor.constructDocument(BaseConstructor.java:142)
    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:128)
    at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480)
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:423)
    at com.earth2me.essentials.storage.YamlStorageReader.load(YamlStorageReader.java:47)
    at com.earth2me.essentials.storage.AbstractDelayedYamlFileReader.run(AbstractDelayedYamlFileReader.java:38)
    at org.bukkit.craftbukkit.v1_4_R1.scheduler.CraftTask.run(CraftTask.java:53)
    at org.bukkit.craftbukkit.v1_4_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:722)
    2013-03-11 14:45:23 [WARNING] Method "public Class<?> getClassByName(String)" is Deprecated, and may be removed in a future version of Bukkit
    org.bukkit.plugin.AuthorNagException:
    at org.bukkit.plugin.java.JavaPluginLoader.getClassByName(JavaPluginLoader.java:284)
    at com.earth2me.essentials.storage.BukkitConstructor.getClassForNode(BukkitConstructor.java:421)
    at org.yaml.snakeyaml.constructor.Constructor$ConstructYamlObject.getConstructor(Constructor.java:321)
    at org.yaml.snakeyaml.constructor.Constructor$ConstructYamlObject.construct(Constructor.java:331)
    at org.yaml.snakeyaml.constructor.BaseConstructor.constructObject(BaseConstructor.java:183)
    at org.yaml.snakeyaml.constructor.BaseConstructor.constructDocument(BaseConstructor.java:142)
    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:128)
    at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480)
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:423)
    at com.earth2me.essentials.storage.YamlStorageReader.load(YamlStorageReader.java:47)
    at com.earth2me.essentials.storage.AbstractDelayedYamlFileReader.run(AbstractDelayedYamlFileReader.java:38)
    at org.bukkit.craftbukkit.v1_4_R1.scheduler.CraftTask.run(CraftTask.java:53)
    at org.bukkit.craftbukkit.v1_4_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:722)


    Can you help me out of this??
     
  7. Offline

    Necrodoom

    is it that hard to read the thread you necroed and find out you need to update your plugins?
     
Thread Status:
Not open for further replies.

Share This Page