I am pretty sure that I compiled EVERYTHING right way! I still get this error, any help? Use password could cause this? btw, I am sure that I used the right pass into ServerConstants before compile!
PHP Code:Could not create a SQL Connection object. Please make sure you've correctly conf
igured the database properties inside constants/ServerConstants.java. MAKE SURE
YOU COMPILED!
Exception in thread "main" java.lang.NullPointerException
at tools.DatabaseConnection$ThreadLocalConnection.get(DatabaseConnection
.java:72)
at tools.DatabaseConnection$ThreadLocalConnection.get(DatabaseConnection
.java:44)
at tools.DatabaseConnection.getConnection(DatabaseConnection.java:36)
at net.server.Server.run(Server.java:136)
at net.server.Server.main(Server.java:212)
Shutting down the server!
Exception in thread "Thread-0" java.lang.NullPointerException
at server.TimerManager.stop(TimerManager.java:69)
at net.server.Server$2.run(Server.java:534)
at java.lang.Thread.run(Unknown Source)
Press any key to continue . . .



Reply With Quote


