Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: DigiChat Java Error ....
01-18-2011, 09:22 AM #1
- Join Date
- Jan 2011
- Thanked 0 Times in 0 Posts
DigiChat Java Error ....
Does anyone know what error this means in java? I know it means it doesn't work but idk, i been working on this for weeks now trying to fix server.zip in digichat here is the error:
ChatServer params: ports=8896,8897,8898,8899 This server allows the following: Unlimited sites Unlimited users Unlimited rooms Moderated Chat Commander Login Expires on: Fri Jan 13 00:00:00 PST 2479 Registered to : E G Y O N E DigiChat Server 184.108.40.206 Updating DigiChat Applet...Done! Loading info from the file ... Admin: Tue Jan 18 01:17:46 PST 2011 Site Admin (ID=0, perm=0) initialized in 34 ms. Exception in thread "main" java.lang.NullPointerException at com.juse.xmppserver.a.a.a.q(Unknown Source) at com.juse.xmppserver.a.a.a.a.q(Unknown Source) at com.juse.xmppserver.a.a.a.a.q(Unknown Source) at com.juse.xmppserver.a.a.a.a.e(Unknown Source) at com.diginet.oldchat.server.m.y(Unknown Source) at com.diginet.digichat.server.ChatServer.<init>(Unknown Source) at com.diginet.digichat.server.ChatServer.main(Unknown Source)
@echo off Java -cp Server.zip com.diginet.digichat.server.ChatServer pause
01-18-2011, 06:02 PM #2
- Join Date
- Sep 2002
- Saskatoon, Saskatchewan
- Thanked 2,659 Times in 2,628 Posts
The error means you are trying to access a non-instantiated object, but it doesn't say where (usually the backtrace will give you some lines to look at, which could be that you don't have all the lines posted here). You'll need to walk that through a debugger. Its possible as well that there is a throws that is tossing null.
It is potential that the underlying cause is external such as your database. NullPointerException is tossed off of any null object, which would include a failed attempt at connecting to a database. If it is tossed from here, it would indicate a poor implementation of error checking.
header('HTTP/1.1 420 Enhance Your Calm');