java.nio.BufferOverflowException

  • Hello,


    Happy new year to all ! :D


    @red51 I have installed some plugins on my server. Now the error "java.nio.BufferOverflowException" appears.
    Because of the buffer overflow the players are losing connection and/or have to log in more times before they can play without lag.
    Can you tell which plugin is causing the problem?
    The logfile is attached.

  • Happy new year :) And thanks for the log! Actually the overflow exception isn't caused by a plugin directly, instead it occurs when the game tries to save the player inventories - which indicates that one (or more) players have broken items in their inventory. It's very likely that the invalid item was added by a plugin, but unfortunately the log provides no information about the plugin which is responsible for this :(


    The error is indeed a big problem, on the one hand, it has a big impact on the server performance, on the other hand, player inventories are no longer saved properly... Does the error still occur after restarting the server? What happens if you remove the plugins and restart the server? If the error is still there in this case, this would indicate that the inventories are also broken in the database.

  • i made a whole new world, without plugins and the problem is reappearing again.
    it must be something else than a plugin or the database. ?(
    =====
    SEVERE: ChestRequest: Chest (ID: -1,000,001) not found!


    ====
    PLAYER REQUEST AUTHENTICATION 23
    [BeginAuthSession] 1403580684 - [72, 69, 77, 85, 59, 1, 0, 0, -71, -55, 88, -56, 0, 0, 0, 0, 12, -15, -88, 83, 1, 0, 16, 1, -33, 26, 23, 32, 0, 0, 0, 0, -70, 100, -117, 92, -21, 109, 98, -71, 1, 0, 0, 0, 0, 0, 0, 0, -63, 1, 21, 82, 1, 0, 16, 1, 32, 0, 0, 0, 35, -47, 33, -114, 80, -118, -39, 54, -70, -9, -125, 109, -100, -2, -5, 117, 83, 63, -10, -117, -53, -39, 81, -88, 59, -1, 27, 10, 117, 29, 113, 89, -64, -88, 0, 102, 122, 81, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0]
    com.codedisaster.steamworks.SteamException: InvalidTicket
    at server.i.a(SourceFile:182)
    at G.g.a(SourceFile:208)
    at G.g.messageReceived(SourceFile:133)
    at de.jiw.network.server.core.ServerTcpChannel.onMessageReceived(ServerTcpChannel.java:99)
    at de.jiw.network.server.core.AbstractServerChannel.dispatchTCP(AbstractServerChannel.java:62)
    at de.jiw.network.server.session.TcpSessionHandler.channelRead0(TcpSessionHandler.java:79)
    at de.jiw.network.server.session.TcpSessionHandler.channelRead0(TcpSessionHandler.java:15)
    at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
    at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:310)
    at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:284)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
    at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
    at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:310)
    at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:284)
    at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
    at io.netty.channel.AbstractChannelHandlerContext.access$600(AbstractChannelHandlerContext.java:38)
    at io.netty.channel.AbstractChannelHandlerContext$7.run(AbstractChannelHandlerContext.java:353)
    at io.netty.util.concurrent.DefaultEventExecutor.run(DefaultEventExecutor.java:66)
    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)

  • SEVERE: Invalid GlobalItemID for player S.(ItemID: 523)

    Even though the message states "severe", it's not a big issue at all ;) Unless the log gets spammed with this...
    Basically it indicates that a player interacted with an item which does no longer exist in the world. In most cases, this is caused by desync. It can also happen if two players try to pick up the same item at the same time, for example. If you just see this message sporadically, it's safe to ignore it :)


    com.codedisaster.steamworks.SteamException: InvalidTicket

    This is actually a different problem: It indicates that Steam could not authenticate the ticket of a player. Either the player sent an invalid ticket (this can happen sometimes if Steam was running a long time without restart for example), or if there is an issue with the Steam servers (in fact some Steam services are unavailable sporadically).


    Apart from that, the log looks ok so far.

    • :)
    • ;)
    • :(
    • :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, log, lua, 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!