Plugin exception -> java.lang.NullPointerExeption

We've posted an important announcement regarding the current situation and the future of the game: Announcement

  • Plugin exception -> java.lang.NullPointerExeption

    Hello,

    The following error occurs on my server (see below).
    The message runs in the chat constantly and i have to restart the server to be able to use (write/read) the chat again,
    Is there a solution for this problem? Thx.

    Greetings, Fabienne


    ====================================================================
    [TcpSessionHandler ChannelInactive] /109.93.191.141:56772
    REMOVE: de.jiw.network.server.session.ClientConnection@bc504c0 - 35 -
    8
    [TcpSessionHandler ChannelInactive] /109.93.191.141:56406
    2019/05/05 12:41 PM G.g
    INFO: Delete Client ID: 35
    [EndAuthSession] 224537345
    [TcpSessionHandler ChannelInactive] /109.93.191.141:56524
    [TcpSessionHandler ChannelInactive] /109.93.191.141:56765

    PLUGIN EXCEPTION ---->
    java.lang.NullPointerException
    at de.pbplugins.icListenerGuiInfo.lambda$onPlayerConnect$0(icListenerGuiInfo.java:110)
    at pluginapi.PluginTimerManager.update(SourceFile:73)
    at pluginapi.PluginManager.update(SourceFile:303)
    at server.Main.update(SourceFile:286)
    at commons.JIWApplication.update(SourceFile:324)
    at com.jme3.system.NullContext.run(NullContext.java:133)
    at java.lang.Thread.run(Thread.java:745)

    ##Exception: null
    ##Exception: java.lang.NullPointerException
    =============================================================================
  • you may have a bad plugin. 1 that interferes with another. check your plugins. If you installed any lately try disabling them 1 at a time till you find the problem starting with the last you installed. you can add a .1 behind the .jar on the .jar files to disable them and restart the server to reset them. I know it is a bother but the only way I know how to troubleshoot the problem. You will probably have to shut the server down to disable the plugins then restart it.
  • Yes, this problem comes from my iConomy. I look at this problem. It comes anyway soon a new update for iConomy.

    EDIT:
    And already I have the cause: The plugin tried to close a GUI by timer. But this player has just gone offline. The plugin did not find the player.


    Will be fixed in the next update!
    ADMIN von: Sandboxgamer ;)

    Unsere Homepage (im Umbau + NEU: SSL):
    Zurzeit ist unsere Homepage wegen Server-Problemen nicht erreichbar!

    Steam: steamcommunity.com/id/patrickbronke
  • Hi Patrick,

    Problem is not solved yet.

    1. In the log file (see attachment) are the following messages:

    =================================================
    CLIENT 20 CHANGE STATE: Connected -> Disconnecting
    CLIENT 20 CHANGE STATE: Disconnecting -> Disconnected
    REMOVE: de.jiw.network.server.session.ClientConnection@6d60f38a - 20 -
    4
    [TcpSessionHandler ChannelInactive] /86.82.195.4:57581
    [TcpSessionHandler ChannelInactive] /86.82.195.4:57614
    2019/05/07 01:46 PM G.g
    INFO: [TcpSessionHandler ChannelInactive] /86.82.195.4:57647
    Delete Client ID: 20
    [EndAuthSession] 365204712
    [TcpSessionHandler ChannelInactive] /86.82.195.4:57548
    ccat: newstatus 50 (50)
    ======================================================

    2. Also a Connection reset by peer message:
    ==============================================
    java.io.IOException: Connection reset by peer
    at sun.nio.ch.FileDispatcherImpl.read0(Native Method)
    at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39)
    at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
    at sun.nio.ch.IOUtil.read(IOUtil.java:192)
    at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380)
    at io.netty.buffer.PooledUnsafeDirectByteBuf.setBytes(PooledUnsafeDirectByteBuf.java:288)
    at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1106)
    at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:343)
    at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:123)
    at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:645)
    at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:580)
    at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:497)
    at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:459)
    at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858)
    at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:138)
    at java.lang.Thread.run(Thread.java:745)
    =====================================================================
    Files
    • 1557215659.log

      (781.6 kB, downloaded 2 times, last: )
  • Hi,

    1. is normal. It comes from the Game.

    2. That is not an Error of iConomy. That is an Error of the Game. I got the same Error. But only @red51 can do something.

    Tip: Disable the debugging of ActiveSign. It looks like it's working normally.

    When the debug is on, it takes much longer for ActiveSign to process everything.
    ADMIN von: Sandboxgamer ;)

    Unsere Homepage (im Umbau + NEU: SSL):
    Zurzeit ist unsere Homepage wegen Server-Problemen nicht erreichbar!

    Steam: steamcommunity.com/id/patrickbronke