Development Assistance NMS Error?

Discussion in 'Plugin Help/Development/Requests' started by Flaps, Jun 22, 2015.

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

    Flaps

    Basically, this works on craftbukkit but when I attempt to run it on spigot (changed imports to v1_7_R4) it crashes the server.

    Error (open)

    Code:
    [17:44:23] [Server thread/ERROR]: Encountered an unexpected exception
    java.lang.NullPointerException
        at net.minecraft.server.v1_7_R4.PlayerConnection.sendPacket(PlayerConnection.java:751) ~[spigot.jar:git-Spigot-1.7.9-R0.2-207-g03373bb]
        at net.minecraft.server.v1_7_R4.EntityTrackerEntry.broadcastIncludingSelf(EntityTrackerEntry.java:280) ~[spigot.jar:git-Spigot-1.7.9-R0.2-207-g03373bb]
        at net.minecraft.server.v1_7_R4.EntityTrackerEntry.b(EntityTrackerEntry.java:247) ~[spigot.jar:git-Spigot-1.7.9-R0.2-207-g03373bb]
        at net.minecraft.server.v1_7_R4.EntityTrackerEntry.track(EntityTrackerEntry.java:173) ~[spigot.jar:git-Spigot-1.7.9-R0.2-207-g03373bb]
        at net.minecraft.server.v1_7_R4.EntityTracker.updatePlayers(EntityTracker.java:157) ~[spigot.jar:git-Spigot-1.7.9-R0.2-207-g03373bb]
        at net.minecraft.server.v1_7_R4.MinecraftServer.v(MinecraftServer.java:723) ~[spigot.jar:git-Spigot-1.7.9-R0.2-207-g03373bb]
        at net.minecraft.server.v1_7_R4.DedicatedServer.v(DedicatedServer.java:289) ~[spigot.jar:git-Spigot-1.7.9-R0.2-207-g03373bb]
        at net.minecraft.server.v1_7_R4.MinecraftServer.u(MinecraftServer.java:584) ~[spigot.jar:git-Spigot-1.7.9-R0.2-207-g03373bb]
        at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java:490) [spigot.jar:git-Spigot-1.7.9-R0.2-207-g03373bb]
        at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:628) [spigot.jar:git-Spigot-1.7.9-R0.2-207-g03373bb]
    [17:44:23] [Server thread/ERROR]: This crash report has been saved to: D:\Server\.\crash-reports\crash-2015-06-21_17.44.23-server.txt
    [17:44:23] [Server thread/INFO]: Stopping server
     
  2. Offline

    timmaker

    @Flaps maybe you should show us the code.... without we can't help you
     
  3. Offline

    Ratismal

    What works with craftbukkit? Is this a crash with a plugin you're developing, or is it a crash with spigot? If it's the latter, you're in the wrong place. This forum is for the discussion and helping of developers when it comes to plugin development, not issues with trying to use bukkit or spigot.

    The reason I'm asking is you've given us minimal information, and I don't see a specific plugin mentioned in that crash log.
     
  4. Offline

    Flaps


    It's a large plugin, would take awhile to show you all the code.
    There is nothing in the stacktrace that focuses on any part of my code.
    Here is something that may be related?

    [​IMG]

    I'm using NPCFactory to spawn NPC's for my plugin, they spawn in Craftbukkit but in spigot it crashes the server.
     
  5. Offline

    Zombie_Striker

    @Flaps
    Are you using the right version? Are the two compatible?
     
  6. Offline

    Flaps

    I'm using the same version to compile as the server is running.
     
  7. Offline

    xTrollxDudex

    What packet are you sending, show code for sending it
     
  8. Try to run the server without the plugin. It seems to me that it is something server-related.
     
  9. Online

    timtower Administrator Administrator Moderator

    Moved to Bukkit alternatives.
     
Thread Status:
Not open for further replies.

Share This Page