|
Here it is.
Code:java.lang.NullPointerException at client.process(client.java:19192) at PlayerHandler.process(PlayerHandler.java:278) at process.run(process.java:23) at java.lang.Thread.run(Unknown Source) java.lang.NullPointerException at client.logout(client.java:12415) at PlayerHandler.saveGame(PlayerHandler.java:379) at PlayerHandler.process(PlayerHandler.java:315) at process.run(process.java:23) at java.lang.Thread.run(Unknown Source) java.lang.NullPointerException
and my lines
line 19192....
Code:} else {
line 12415....
I'm positive it's to do with saving. But I'm not sure if I should fix it or add a catch. And If I do fix it, I'm not sure how to. Ask for more info and I'll post it. Thanks.Code:outStream.createFrame(109);
But wut about
at client.logout(client.java:12415)
at PlayerHandler.saveGame(PlayerHandler.java:379)
I also go to the line 12415 and it's saving
Go to line 19192 in client, that veriable on that line is null...
Same goes for the second error, veriable on line 12415 is null
line 19192....
Code:} else {
line 12415....
Code:outStream.createFrame(109);
Have you changed your source code since you had those errors?
Ya I added a shutdown hook to save my players I think? And couldn't I just add a catch to my save method?
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |