Solved Getting error in console where plugin is working fine?

Discussion in 'Plugin Development' started by Trevor1134, Jul 3, 2013.

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

    Trevor1134

    I am getting an error with a fly cancelling plugin. Here is the error:
    http://pastebin.com/rZUp9GWb

    However the plugin is doing exactly what it should be, stopping flying without a perm.
     
  2. Offline

    TomFromCollege

    NullPointer is on this line:
    me.Trevor1134.ControlledFly.FlyCanceller.onPlayerMove(FlyCanceller.java:19)
     
  3. Offline

    ProtoTempus

    Looks like you're getting an NPE at line 19 in your FlyCanceller Class:
    Code:
    04.07 03:45:55 [Server] INFO at me.Trevor1134.ControlledFly.FlyCanceller.onPlayerMove(FlyCanceller.java:19)
    04.07 03:45:55 [Server] INFO Caused by: java.lang.NullPointerException
     
  4. Offline

    xXSilentYoshiXx

    Make sure wherever it shows the line "me.Trevor1134.ControlledFly._____.____(____.java:__)", that you look in Eclipse or whatever you use to code, and see what might the error be. :)
     
  5. Offline

    Trevor1134

  6. Offline

    xXSilentYoshiXx

Thread Status:
Not open for further replies.

Share This Page