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.

  • Can you post the full server log as an attachment here? It should have the name of the plugin throwing that exception in it somewhere :)


    Judging by the de.pbplugins.icListenerGuiInfo part I would guess it is caused by the iConomy plugin by @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)
    =====================================================================

  • The last reply was more than 365 days ago, this thread is most likely obsolete. It is recommended to create a new thread instead.

    • :)
    • ;)
    • :(
    • :P
    • ^^
    • :D
    • :verysad:
    • ;(
    • X(
    • :*
    • :|
    • :crazy:
    • :lol:
    • :dizzy:
    • =O
    • <X
    • ||
    • :thinking:
    • :wacko:
    • :/
    • 8)
    • :wat:
    • :huh:
    • :silenced:
    • :wow:
    • 8|
    • :angry:
    • :thumbdown:
    • :thumbup:
    • :sleeping:
    • :hushed:
    • :nerd:
    • :saint:
    • :drooling:
    • :love:
    • :monocle:
    • :poo:
    • :party:
    • :drunk:
    • <3
    • :!:
    • :?:
    The maximum number of attachments: 10
    Maximum File Size: 1 MB
    Allowed extensions: 7z, avi, bmp, dds, gif, jpeg, jpg, json, log, lua, mp3, mp4, ogg, pdf, permissions, png, properties, rar, txt, xml, zip

Participate now!

Don’t have an account yet? Create a new account now and be part of our community!