Probably something really stupid but help plz

Discussion in 'Plugin Development' started by cronikkk, May 18, 2011.

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

    cronikkk

    17:42:43 [SEVERE] null loading EasyAdmin v0.1 (Is it up to date?)
    java.lang.NullPointerException
    at com.elitecraft.cronikkk.easyadmin.EasyAdmin.onEnable(EasyAdmin.java:1
    9)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:676)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:249)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:131)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:109)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:218)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:205)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:260)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)

    Why am i getting this? All my other programs are using the same craftbukkit and they dont get the error.

    Source: http://pastebin.com/cg3KPjX0

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 16, 2016
  2. Offline

    Truecorruptor

    I have no idea but im having troubel finding out how to update plugins, any idea how?
     
  3. Offline

    DreadKyller

    when you make pdfFile you need to put in in the onEnable, that might help. unlike some listeners I've tried setting the default for an object in the class and it just doesn't initialize, so it's trying to load something null. just try that, tell me if it works.

    @Truecorruptor you need to download newest bukkit if you are a developer and make the plugin with that, make the new bukkit an external source and get rid of old and upgrade any scripts. If you're just a person looking for an update for a plugin you want just search for that plugin or get the plugin AutoUpdater or whatever.
     
  4. Offline

    Jayjay110

    for future reference it tells u what line to look at in your code :):
    at com.elitecraft.cronikkk.easyadmin.EasyAdmin.onEnable(EasyAdmin.java:1
    9)
     
  5. Offline

    DreadKyller

    yah, at the end it says 19, that's the line if you don't know that.
     
Thread Status:
Not open for further replies.

Share This Page