Could not pass event ENTITY_DAMAGE to sRPG #1


  • New
  • Defect
Open
Assigned to _ForgeUser7605141
  • _ForgeUser7644362 created this issue Oct 2, 2011

    What steps will reproduce the problem?
    1. Fight a monster
    2. Get hit, or be hit. Not sure which.
    3. Check Server terminal output.

    What is the expected output? What do you see instead?
    No error should be recorded in the server terminal. I see this:

    15:45:18 [SEVERE] Could not pass event ENTITY_DAMAGE to sRPG
    java.lang.NullPointerException

    -or-

    15:30:46 [SEVERE] Could not pass event ENTITY_DAMAGE to sRPG
    java.lang.NullPointerException
        at com.behindthemirrors.minecraft.sRPG.dataStructures.ProfileNPC.getStat(ProfileNPC.java:106)
        at com.behindthemirrors.minecraft.sRPG.dataStructures.ProfileNPC.getStat(ProfileNPC.java:85)
        at com.behindthemirrors.minecraft.sRPG.CombatInstance.resolve(CombatInstance.java:87)
        at com.behindthemirrors.minecraft.sRPG.listeners.DamageEventListener.onEntityDamage(DamageEventListener.java:138)
        at org.bukkit.plugin.java.JavaPluginLoader$61.execute(JavaPluginLoader.java:670)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at net.minecraft.server.EntityHuman.d(EntityHuman.java:710)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:915)
        at net.minecraft.server.Packet7UseEntity.a(SourceFile:33)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
        at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:500)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:464)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)

    What version of the product are you using?
    .6 preview build

    Do you have an error log of what happened?
    See above.

    Please provide any additional information below.
    Additional comment: The combat actually works. Both the player and monster hit and take damage. It could be anything during the combat process, the fact that it is occuring during damage is an assumption on my part based on the error description.

  • _ForgeUser7644362 added the tags New Defect Oct 2, 2011

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