Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BarAPI error MCPC server #17

Open
en27 opened this issue Feb 4, 2014 · 11 comments
Open

BarAPI error MCPC server #17

en27 opened this issue Feb 4, 2014 · 11 comments

Comments

@en27
Copy link

en27 commented Feb 4, 2014

Hi, i've installed your plugin,BarAPI, on my server in order to display the Dragon Health Bar by some plugins that use BarAPI (BossBroadcast and BossMessage), but when i try to send the command to display the healthbar, i receive the same error in both plugins, canyou help me?

This is the error:


2014-02-04 12:30:48 [INFO] enrigon issued server command: /bm 3 test
2014-02-04 12:30:48 [SEVERE] java.lang.ClassNotFoundException: net.minecraft.server.v1_6_R3.Packet24MobSpawn
2014-02-04 12:30:48 [SEVERE]    at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:440)
2014-02-04 12:30:48 [SEVERE]    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:234)
2014-02-04 12:30:48 [SEVERE]    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
2014-02-04 12:30:48 [SEVERE]    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
2014-02-04 12:30:48 [SEVERE]    at java.lang.Class.forName0(Native Method)
2014-02-04 12:30:48 [SEVERE]    at java.lang.Class.forName(Class.java:190)
2014-02-04 12:30:48 [SEVERE]    at me.confuser.barapi.Util.getCraftClass(Util.java:90)
2014-02-04 12:30:48 [SEVERE]    at me.confuser.barapi.nms.v1_6.getSpawnPacket(v1_6.java:31)
2014-02-04 12:30:48 [SEVERE]    at me.confuser.barapi.BarAPI.addDragon(BarAPI.java:228)
2014-02-04 12:30:48 [SEVERE]    at me.confuser.barapi.BarAPI.getDragon(BarAPI.java:222)
2014-02-04 12:30:48 [SEVERE]    at me.confuser.barapi.BarAPI.setMessage(BarAPI.java:128)
2014-02-04 12:30:48 [SEVERE]    at com.thenathang.bossbarmessage.Main.onCommand(Main.java:73)
2014-02-04 12:30:48 [SEVERE]    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
2014-02-04 12:30:48 [SEVERE]    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:192)
2014-02-04 12:30:48 [SEVERE]    at org.bukkit.craftbukkit.v1_6_R3.CraftServer.dispatchCommand(CraftServer.java:532)
2014-02-04 12:30:48 [SEVERE]    at net.minecraft.network.NetServerHandler.func_72566_d(NetServerHandler.java:1386)
2014-02-04 12:30:48 [SEVERE]    at net.minecraft.network.NetServerHandler.chat(NetServerHandler.java:1250)
2014-02-04 12:30:48 [SEVERE]    at net.minecraft.network.NetServerHandler.func_72481_a(NetServerHandler.java:1182)
2014-02-04 12:30:48 [SEVERE]    at net.minecraft.network.packet.Packet3Chat.func_73279_a(Packet3Chat.java:68)
2014-02-04 12:30:48 [SEVERE]    at net.minecraft.network.TcpConnection.func_74428_b(TcpConnection.java:469)
2014-02-04 12:30:48 [SEVERE]    at net.minecraft.network.NetServerHandler.func_72570_d(NetServerHandler.java:233)
2014-02-04 12:30:48 [SEVERE]    at net.minecraft.network.NetworkListenThread.func_71747_b(NetworkListenThread.java:54)
2014-02-04 12:30:48 [SEVERE]    at net.minecraft.server.dedicated.DedicatedServerListenThread.func_71747_b(DedicatedServerListenThread.java:34)
2014-02-04 12:30:48 [SEVERE]    at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:912)
2014-02-04 12:30:48 [SEVERE]    at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:327)
2014-02-04 12:30:48 [SEVERE]    at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:779)
2014-02-04 12:30:48 [SEVERE]    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:661)
2014-02-04 12:30:48 [SEVERE]    at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)
2014-02-04 12:30:48 [SEVERE] null
org.bukkit.command.CommandException: Unhandled exception executing command 'bm' in plugin BossBarMessage v1.0.0
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:192)
    at org.bukkit.craftbukkit.v1_6_R3.CraftServer.dispatchCommand(CraftServer.java:532)
    at net.minecraft.network.NetServerHandler.func_72566_d(NetServerHandler.java:1386)
    at net.minecraft.network.NetServerHandler.chat(NetServerHandler.java:1250)
    at net.minecraft.network.NetServerHandler.func_72481_a(NetServerHandler.java:1182)
    at net.minecraft.network.packet.Packet3Chat.func_73279_a(Packet3Chat.java:68)
    at net.minecraft.network.TcpConnection.func_74428_b(TcpConnection.java:469)
    at net.minecraft.network.NetServerHandler.func_72570_d(NetServerHandler.java:233)
    at net.minecraft.network.NetworkListenThread.func_71747_b(NetworkListenThread.java:54)
    at net.minecraft.server.dedicated.DedicatedServerListenThread.func_71747_b(DedicatedServerListenThread.java:34)
    at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:912)
    at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:327)
    at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:779)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:661)
    at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)
Caused by: java.lang.NullPointerException
    at me.confuser.barapi.nms.v1_6.getSpawnPacket(v1_6.java:34)
    at me.confuser.barapi.BarAPI.addDragon(BarAPI.java:228)
    at me.confuser.barapi.BarAPI.getDragon(BarAPI.java:222)
    at me.confuser.barapi.BarAPI.setMessage(BarAPI.java:128)
    at com.thenathang.bossbarmessage.Main.onCommand(Main.java:73)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
    ... 15 more

My server is 1.6.4 and is based on the Pixelmon Mod, so i use MCPC.
Thanks in advance

@confuser
Copy link
Owner

confuser commented Feb 4, 2014

Can you link to the mcpc build you are currently using please? Thanks
On 4 Feb 2014 17:50, "en27" [email protected] wrote:

Hi, i've installed your plugin,BarAPI, on my server in order to display
the Dragon Health Bar by some plugins that use BarAPI (BossBroadcast and
BossMessage), but when i try to send the command to display the healthbar,
i receive the same error in both plugins, canyou help me?

This is the error:

2014-02-04 12:30:48 [INFO] enrigon issued server command: /bm 3 test
2014-02-04 12:30:48 [SEVERE] java.lang.ClassNotFoundException: net.minecraft.server.v1_6_R3.Packet24MobSpawn
2014-02-04 12:30:48 [SEVERE] at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:440)
2014-02-04 12:30:48 [SEVERE] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:234)
2014-02-04 12:30:48 [SEVERE] at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
2014-02-04 12:30:48 [SEVERE] at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
2014-02-04 12:30:48 [SEVERE] at java.lang.Class.forName0(Native Method)
2014-02-04 12:30:48 [SEVERE] at java.lang.Class.forName(Class.java:190)
2014-02-04 12:30:48 [SEVERE] at me.confuser.barapi.Util.getCraftClass(Util.java:90)
2014-02-04 12:30:48 [SEVERE] at me.confuser.barapi.nms.v1_6.getSpawnPacket(v1_6.java:31)
2014-02-04 12:30:48 [SEVERE] at me.confuser.barapi.BarAPI.addDragon(BarAPI.java:228)
2014-02-04 12:30:48 [SEVERE] at me.confuser.barapi.BarAPI.getDragon(BarAPI.java:222)
2014-02-04 12:30:48 [SEVERE] at me.confuser.barapi.BarAPI.setMessage(BarAPI.java:128)
2014-02-04 12:30:48 [SEVERE] at com.thenathang.bossbarmessage.Main.onCommand(Main.java:73)
2014-02-04 12:30:48 [SEVERE] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
2014-02-04 12:30:48 [SEVERE] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:192)
2014-02-04 12:30:48 [SEVERE] at org.bukkit.craftbukkit.v1_6_R3.CraftServer.dispatchCommand(CraftServer.java:532)
2014-02-04 12:30:48 [SEVERE] at net.minecraft.network.NetServerHandler.func_72566_d(NetServerHandler.java:1386)
2014-02-04 12:30:48 [SEVERE] at net.minecraft.network.NetServerHandler.chat(NetServerHandler.java:1250)
2014-02-04 12:30:48 [SEVERE] at net.minecraft.network.NetServerHandler.func_72481_a(NetServerHandler.java:1182)
2014-02-04 12:30:48 [SEVERE] at net.minecraft.network.packet.Packet3Chat.func_73279_a(Packet3Chat.java:68)
2014-02-04 12:30:48 [SEVERE] at net.minecraft.network.TcpConnection.func_74428_b(TcpConnection.java:469)
2014-02-04 12:30:48 [SEVERE] at net.minecraft.network.NetServerHandler.func_72570_d(NetServerHandler.java:233)
2014-02-04 12:30:48 [SEVERE] at net.minecraft.network.NetworkListenThread.func_71747_b(NetworkListenThread.java:54)
2014-02-04 12:30:48 [SEVERE] at net.minecraft.server.dedicated.DedicatedServerListenThread.func_71747_b(DedicatedServerListenThread.java:34)
2014-02-04 12:30:48 [SEVERE] at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:912)
2014-02-04 12:30:48 [SEVERE] at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:327)
2014-02-04 12:30:48 [SEVERE] at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:779)
2014-02-04 12:30:48 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:661)
2014-02-04 12:30:48 [SEVERE] at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)
2014-02-04 12:30:48 [SEVERE] null
org.bukkit.command.CommandException: Unhandled exception executing command 'bm' in plugin BossBarMessage v1.0.0
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:192)
at org.bukkit.craftbukkit.v1_6_R3.CraftServer.dispatchCommand(CraftServer.java:532)
at net.minecraft.network.NetServerHandler.func_72566_d(NetServerHandler.java:1386)
at net.minecraft.network.NetServerHandler.chat(NetServerHandler.java:1250)
at net.minecraft.network.NetServerHandler.func_72481_a(NetServerHandler.java:1182)
at net.minecraft.network.packet.Packet3Chat.func_73279_a(Packet3Chat.java:68)
at net.minecraft.network.TcpConnection.func_74428_b(TcpConnection.java:469)
at net.minecraft.network.NetServerHandler.func_72570_d(NetServerHandler.java:233)
at net.minecraft.network.NetworkListenThread.func_71747_b(NetworkListenThread.java:54)
at net.minecraft.server.dedicated.DedicatedServerListenThread.func_71747_b(DedicatedServerListenThread.java:34)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:912)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:327)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:779)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:661)
at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)
Caused by: java.lang.NullPointerException
at me.confuser.barapi.nms.v1_6.getSpawnPacket(v1_6.java:34)
at me.confuser.barapi.BarAPI.addDragon(BarAPI.java:228)
at me.confuser.barapi.BarAPI.getDragon(BarAPI.java:222)
at me.confuser.barapi.BarAPI.setMessage(BarAPI.java:128)
at com.thenathang.bossbarmessage.Main.onCommand(Main.java:73)
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
... 15 more

My server is 1.6.4 and is based on the Pixelmon Mod, so i use MCPC.
Thanks in advance

Reply to this email directly or view it on GitHubhttps://github.com//issues/17
.

@en27
Copy link
Author

en27 commented Feb 4, 2014

We're using this build
http://ci.md-5.net/job/MCPC-Plus-164/127/

Yes, it's old... :/ but we can't update because there's some problems with a mod that we're using.. :/

@en27
Copy link
Author

en27 commented Feb 16, 2014

Up :)

@confuser
Copy link
Owner

Sorry I haven't had a chance to look into this yet
On 16 Feb 2014 17:04, "en27" [email protected] wrote:

Up :)

Reply to this email directly or view it on GitHubhttps://github.com//issues/17#issuecomment-35201949
.

@en27
Copy link
Author

en27 commented Feb 16, 2014

Oh, ok, sorry ^^'

@confuser
Copy link
Owner

I can't seem to locate where the packet the plugin uses is actually located within MCPC. I'll investigate further.

@ghost
Copy link

ghost commented Mar 31, 2014

I am also getting this error, any info?

@prodkid
Copy link

prodkid commented May 26, 2014

Im also getting this but im using the latest 1.7.2 build

@hayleyjames
Copy link

I'm getting this while using git-MCPC-Plus-jenkins-MCPC-Plus-164-268 (MC: 1.6.4) (Implementing API version 1.6.4-R2.1-SNAPSHOT)

@MWLVegas
Copy link

MWLVegas commented Jun 1, 2014

Same problem, using MCPC-Plus-1.7.2-R0.4-forge1078-74.

@funnyzocker
Copy link

i know it is years ago but is there any info?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants