Live server NPE :)

    Share
    avatar
    Karakan

    Posts : 406
    Join date : 2013-10-04

    Live server NPE :)

    Post  Karakan on 3rd June 2017, 14:23

    Server runs smooth so far. Smile


    Just one thing
    Characters getting stuck when teleport to certain Towns. (Gludio, Giran, Dwarven Village)
    Any idea whats causing this.

    Here is the error log.


    Dual Box protection causing it maybe?


    Code:

    Client: [Character: Karakan[268475104] - Account: xxxxx - IP: xx.xx.xxx.xxx] - Failed running: [C] 30 Appearing - L2J Server Version: ${l2j.revision} - DP Revision: ${l2jdp.revision} ; null
    java.lang.NullPointerException

    java.lang.NullPointerException
     at net.sf.l2j.gameserver.model.actor.knownlist.PcKnownList.addKnownObject(PcKnownList.java:186)
     at net.sf.l2j.gameserver.model.actor.knownlist.PcKnownList.addKnownObject(PcKnownList.java:97)
     at net.sf.l2j.gameserver.taskmanager.KnownListUpdateTaskManager.updateRegion(KnownListUpdateTaskManager.java:118)
     at net.sf.l2j.gameserver.taskmanager.KnownListUpdateTaskManager$KnownListUpdate.run(KnownListUpdateTaskManager.java:73)
     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
     at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
     at java.lang.Thread.run(Thread.java:745)

    avatar
    Karakan

    Posts : 406
    Join date : 2013-10-04

    Re: Live server NPE :)

    Post  Karakan on 3rd June 2017, 16:26

    Edit
    Seems it was causing by server RAM.
    Ill report here if it happens again.

    Edit2
    Hmm,guess not Smile


    Last edited by Karakan on 9th June 2017, 00:21; edited 1 time in total
    avatar
    Karakan

    Posts : 406
    Join date : 2013-10-04

    Re: Live server NPE :)

    Post  Karakan on 8th June 2017, 23:54

    Reporting back  Cool


    First of all...Thanks DnR for adding a isOnline check.
    Even if you have no time to do stuff, you keep fixing server bugs. Big Kudos. Cool Very Happy


    Back to my report....
    After testing several times.
    The NPE only appears when the dual box protection is active.

    When I disable it everyone can port and move without and problems.  scratch


    This is the main feature on our server and I really wish it could work as intended soon.
    Maybe we should use a login check on EnterWorld ?


    Using latest revision (586)



    Code:

    java.lang.NullPointerException
     at net.sf.l2j.gameserver.model.actor.knownlist.PcKnownList.addKnownObject(PcKnownList.java:186)
     at net.sf.l2j.gameserver.model.actor.knownlist.PcKnownList.addKnownObject(PcKnownList.java:97)
     at net.sf.l2j.gameserver.taskmanager.KnownListUpdateTaskManager.updateRegion(KnownListUpdateTaskManager.java:118)
     at net.sf.l2j.gameserver.taskmanager.KnownListUpdateTaskManager$KnownListUpdate.run(KnownListUpdateTaskManager.java:73)
     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
     at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
     at java.lang.Thread.run(Thread.java:745)

    Regards

    DnR
    Admin
    Admin

    Posts : 985
    Join date : 2012-12-03

    Re: Live server NPE :)

    Post  DnR on 17th June 2017, 13:52

    Commit 587 provides us with a GM-friendly dual box protection that checks for multiple clients during login
    and allows dual boxing for GMs. Dual Boxing is also allowed for offline characters.

    Thanks a lot for the precious feedback.
    avatar
    Karakan

    Posts : 406
    Join date : 2013-10-04

    Re: Live server NPE :)

    Post  Karakan on 17th June 2017, 17:30

    Awesome mate!  Cool
    Gonna update the server today and stress test the protection. Smile

    Thanks for your time and the implementation.
    Best wishes.^^

    Sponsored content

    Re: Live server NPE :)

    Post  Sponsored content


      Current date/time is 18th August 2017, 04:08