I am getting a NullPointException stacktrace from the handlePacket method.
Seems like in line 58 the socket array is null? I am literally lost at why it gives out a null array. This error does not let people ingame join the worldServer even though previously logged people can play normally. They get stuck in the character selection screen without being able to join, the button just stops working and throws this stacktrace.
Here is the code of the handlePacket method.
Adding a try catch for the NullPointException or some if statements to check if it's null might fix the problem though. I just want to know why does the server do those things, it is fine for 2-3 hours and then the login server just doesn't permit more people in the server. I had an issue with the Threads in TimeManager.java because it was crashing the whole server, I augmented the Pool Size and it seemed to fix it "temporally", this might be an error that derives from TimeManager.java, I am unsure.
Edit: Pastebin with all the code =>
Seems like in line 58 the socket array is null? I am literally lost at why it gives out a null array. This error does not let people ingame join the worldServer even though previously logged people can play normally. They get stuck in the character selection screen without being able to join, the button just stops working and throws this stacktrace.
Here is the code of the handlePacket method.
You must be registered to see links
Adding a try catch for the NullPointException or some if statements to check if it's null might fix the problem though. I just want to know why does the server do those things, it is fine for 2-3 hours and then the login server just doesn't permit more people in the server. I had an issue with the Threads in TimeManager.java because it was crashing the whole server, I augmented the Pool Size and it seemed to fix it "temporally", this might be an error that derives from TimeManager.java, I am unsure.
Edit: Pastebin with all the code =>
You must be registered to see links
Attachments
You must be registered for see attachments list
Last edited: