A Project for Chronicle 4 based on L2JServer.


    java.nio.Buffer.limit

    Share
    avatar
    Pret

    Posts : 63
    Join date : 2013-11-04
    Age : 31

    java.nio.Buffer.limit

    Post  Pret on 18th June 2014, 00:09

    Code:

    Jun 17, 2014 10:59:17 PM net.sf.l2j.gameserver.SelectorThread parse
    SEVERE: Error on parsing input from client: nickname
    java.lang.IllegalArgumentException
            at java.nio.Buffer.limit(Buffer.java:275)
            at net.sf.l2j.gameserver.SelectorThread.parse(SelectorThread.java:594)
            at net.sf.l2j.gameserver.SelectorThread.readData(SelectorThread.java:514)
            at net.sf.l2j.gameserver.SelectorThread.run(SelectorThread.java:327)

    Sometimes in logs
    What is it ?
    avatar
    DnR
    Admin
    Admin

    Posts : 1027
    Join date : 2012-12-03

    Re: java.nio.Buffer.limit

    Post  DnR on 18th June 2014, 20:09

    Already attempted to fix it a while ago, but it seems that catching exception isn't fully functional.
    I found a proper fix that will probably solve the problem. It prevents exception before it happens. Wink
    Thanks for reporting.

      Current date/time is 20th October 2017, 09:43