MobRider

MobRider

117k Downloads

Error on the EntityTargetEvent and EntityTargetLivingEntityEvent on MobRider v0.47.2-b155

XxCoolGamesxX opened this issue ยท 8 comments

commented

Hello,

Here the Error i have do spam my server.log:

2012-12-16 07:44:18 [SEVERE] Could not pass event EntityTargetLivingEntityEvent to MobRider v0.47.2-b155
org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:341)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:35)
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
    at org.bukkit.craftbukkit.v1_4_5.event.CraftEventFactory.callEntityTargetLivingEvent(CraftEventFactory.java:486)
    at net.minecraft.server.v1_4_5.PathfinderGoalTarget.a(PathfinderGoalTarget.java:119)
    at net.minecraft.server.v1_4_5.PathfinderGoalHurtByTarget.a(SourceFile:20)
    at net.minecraft.server.v1_4_5.PathfinderGoalSelector.a(PathfinderGoalSelector.java:66)
    at net.minecraft.server.v1_4_5.EntityLiving.bl(EntityLiving.java:1434)
    at net.minecraft.server.v1_4_5.EntityLiving.c(EntityLiving.java:1234)
    at net.minecraft.server.v1_4_5.EntityMonster.c(EntityMonster.java:20)
    at net.minecraft.server.v1_4_5.EntitySkeleton.c(EntitySkeleton.java:122)
    at net.minecraft.server.v1_4_5.EntityLiving.j_(EntityLiving.java:508)
    at net.minecraft.server.v1_4_5.EntityMonster.j_(EntityMonster.java:24)
    at net.minecraft.server.v1_4_5.World.tickEntity(World.java:1459)
    at net.minecraft.server.v1_4_5.World.entityJoinedWorld(World.java:1421)
    at net.minecraft.server.v1_4_5.WorldServer.entityJoinedWorld(WorldServer.java:570)
    at net.minecraft.server.v1_4_5.World.playerJoinedWorld(World.java:1411)
    at net.minecraft.server.v1_4_5.World.tickEntities(World.java:1289)
    at net.minecraft.server.v1_4_5.WorldServer.tickEntities(WorldServer.java:464)
    at net.minecraft.server.v1_4_5.MinecraftServer.r(MinecraftServer.java:564)
    at net.minecraft.server.v1_4_5.DedicatedServer.r(DedicatedServer.java:222)
    at net.minecraft.server.v1_4_5.MinecraftServer.q(MinecraftServer.java:478)
    at net.minecraft.server.v1_4_5.MinecraftServer.run(MinecraftServer.java:413)
    at net.minecraft.server.v1_4_5.ThreadServerApplication.run(SourceFile:856)
Caused by: java.lang.NoClassDefFoundError: org/bukkit/craftbukkit/entity/CraftEntity
    at com.edwardhand.mobrider.listeners.RiderTargetListener.onEntityTarget(RiderTargetListener.java:42)
    at sun.reflect.GeneratedMethodAccessor221.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:339)
    ... 25 more

and

2012-12-16 07:44:20 [SEVERE] Could not pass event EntityTargetEvent to MobRider v0.47.2-b155
org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:341)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:35)
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
    at org.bukkit.craftbukkit.v1_4_5.event.CraftEventFactory.callEntityTargetEvent(CraftEventFactory.java:480)
    at net.minecraft.server.v1_4_5.EntityExperienceOrb.j_(EntityExperienceOrb.java:72)
    at net.minecraft.server.v1_4_5.World.tickEntity(World.java:1459)
    at net.minecraft.server.v1_4_5.World.entityJoinedWorld(World.java:1421)
    at net.minecraft.server.v1_4_5.WorldServer.entityJoinedWorld(WorldServer.java:570)
    at net.minecraft.server.v1_4_5.World.playerJoinedWorld(World.java:1411)
    at net.minecraft.server.v1_4_5.World.tickEntities(World.java:1289)
    at net.minecraft.server.v1_4_5.WorldServer.tickEntities(WorldServer.java:464)
    at net.minecraft.server.v1_4_5.MinecraftServer.r(MinecraftServer.java:564)
    at net.minecraft.server.v1_4_5.DedicatedServer.r(DedicatedServer.java:222)
    at net.minecraft.server.v1_4_5.MinecraftServer.q(MinecraftServer.java:478)
    at net.minecraft.server.v1_4_5.MinecraftServer.run(MinecraftServer.java:413)
    at net.minecraft.server.v1_4_5.ThreadServerApplication.run(SourceFile:856)
Caused by: java.lang.NoClassDefFoundError: org/bukkit/craftbukkit/entity/CraftEntity
    at com.edwardhand.mobrider.listeners.RiderTargetListener.onEntityTarget(RiderTargetListener.java:42)
    at sun.reflect.GeneratedMethodAccessor221.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:339)
    ... 17 more

I use:

Spigot: 325 (http://ci.ecocitycraft.com/job/Spigot/)
MobRider v0.47.2-b155

Hope you can fix the error.

commented

It's definitely fixable - just looking at the different options on how to address the issue.

commented
commented

@XxCoolGamesxX

It's actually because of this commit:
Bukkit/CraftBukkit@8f12382

See the many comments from the community regarding the commit.

commented

Yes, I now of the update of bukkit. We can fix it is not hard to do it. Like add the net.minecraft.server.v1.4.6 and on the
pox.xml update a bit. Here Example: http://forums.bukkit.org/threads/update-makes-imports-act-weird.116815/

commented

Go to work on the plugin for you. To fix the codes. ok : )

commented

Good news. I fix it. Here the dev I make for the 1.4.6: https://dl.dropbox.com/u/16158672/Java%20Codes/MobRider-master/MobRider-0.47.3-SNAPSHOT.jar

Later go to add the codes on the github for you.

commented

Here i send you all the codes i update on your plugin. : )

commented

Thanks for the assistance. However, I've decided to create a compat-1.4.6 branch to contain these changes instead of having them on the master.

This is available as a dev build [here](http://ci.bighatchet.com/job/MobRider%20(compat-1.4.6\)/).