Server crushed NullPointerException

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

tropyw
Posts: 20
Joined: 23 Jul 2020, 16:52
Contact:

Server crushed NullPointerException

Postby tropyw » 31 Dec 2020, 12:46

Hello,
I'm using java extensions for my sfs2x server. the server has been running for something like 15 days in a row.
today the server just crushed. from what I'm seeing in the logs, all the threads got null exception.
I can't understand what is the problem and what cause to this error.
Can someone help me to understand what do I need to fix?

Here is the logs:

Code: Select all

31 Dec 2020 | 14:20:58,662 | WARN  | pool-1-thread-2 | v2.protocol.SFSIoHandler |     | java.lang.NullPointerException:
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Exception: java.lang.NullPointerException
Message: *** Null ***
+--- --- ---+
Stack Trace:
+--- --- ---+
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

31 Dec 2020 | 14:20:58,662 | WARN  | pool-1-thread-1 | v2.protocol.SFSIoHandler |     | java.lang.NullPointerException:
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Exception: java.lang.NullPointerException
Message: *** Null ***
+--- --- ---+
Stack Trace:
+--- --- ---+
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

31 Dec 2020 | 14:21:03,821 | WARN  | pool-1-thread-4 | v2.protocol.SFSIoHandler |     | java.lang.NullPointerException:
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Exception: java.lang.NullPointerException
Message: *** Null ***
+--- --- ---+
Stack Trace:
+--- --- ---+
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

31 Dec 2020 | 14:21:03,821 | WARN  | pool-1-thread-3 | v2.protocol.SFSIoHandler |     | java.lang.NullPointerException:
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Exception: java.lang.NullPointerException
Message: *** Null ***
+--- --- ---+
Stack Trace:
+--- --- ---+
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

31 Dec 2020 | 14:21:03,821 | WARN  | pool-1-thread-2 | v2.protocol.SFSIoHandler |     | java.lang.NullPointerException:
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Exception: java.lang.NullPointerException
Message: *** Null ***
+--- --- ---+
Stack Trace:
+--- --- ---+
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::



**edit:
Now that I looking in the logs, I see that this error happened a lot of times. I think that the server crushed because of it.
(For example: is see a login/some extension log, and after it i see this error for some one of the threads)

Hope you can help me.
Thanks!
User avatar
Lapo
Site Admin
Posts: 22999
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Server crushed NullPointerException

Postby Lapo » 31 Dec 2020, 18:07

Hi,
what is the server version?
It seems like the server is misconfigured as no stack traces seem to be present in the error report.

We need more details to understand this better.
Thanks
Lapo
--
gotoAndPlay()
...addicted to flash games

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 40 guests