java.lang.NullPointerExeption #10


  • Defect
  • Replied
Open
Assigned to _ForgeUser8881742
  • _ForgeUser9450062 created this issue Aug 22, 2012

    What steps will reproduce the problem?
    1.I have change the Default Wands .

    What is the expected output? What do you see instead?
    I can't see any Wands Because the plug-in with this config doesn't work :(

    What version of the product are you using?
    v1.6.1 for bukkit 1.3.1-R1.0 but i Work on bukkit 1.3.1-R2.0 .

    Do you have an error log of what happened?
    17:07:03 [SEVERE] Error occurred while enabling MagicalSpells v1.61 (Is it up to
    date?)
    java.lang.NullPointerException
            at Squish000.MagicalWands.WandDB.getEnchanmnet(WandDB.java:139)
            at Squish000.MagicalWands.WandDB.loadWands(WandDB.java:123)
            at Squish000.MagicalWands.WandDB.<init>(WandDB.java:46)
            at Squish000.MagicalWands.MagicalWands.onEnable(MagicalWands.java:248)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:365)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:381)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:265)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:247
    )
            at net.minecraft.server.MinecraftServer.i(MinecraftServer.java:296)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:275)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:225)
            at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:140)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:378)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)

    Please provide any additional information below.
    My Config.yml
    Ps: I'm french Sorry for the faults o/ .
    Nice Work Don't surrender !
    A french fan .

  • _ForgeUser9450062 added the tags New Defect Aug 22, 2012
  • _ForgeUser9450062 added an attachment config.yml Aug 22, 2012

    config.yml

  • _ForgeUser9450062 added an attachment settings.yml Aug 22, 2012

    settings.yml

  • _ForgeUser8881742 posted a comment Aug 28, 2012

    I don't think the config will work if you have spaces in the name of the wand, but you can have spaces in the display name of the wand.

  • _ForgeUser8881742 removed a tag New Aug 28, 2012
  • _ForgeUser8881742 added a tag Waiting Aug 28, 2012
  • _ForgeUser9450062 posted a comment Aug 30, 2012

    @Squish000: Go

    I try to change it and i tell you :p


    Edited Aug 30, 2012
  • _ForgeUser9450062 removed a tag Waiting Aug 30, 2012
  • _ForgeUser9450062 added a tag Replied Aug 30, 2012

To post a comment, please login or register a new account.