I've been just trying to implement one very simple voice command on the server pack .
I get no errors during compilation , but when i run gameserver i get that error at the end.
I tried to trace it down but i cant find it..
I went on to net.sf.l2j.gameserver.handler.UserCommandHandle and line 45 but it shows no error .
any help would be greatly appreciated.
This is the error :
Exception in thread "main" java.lang.ExceptionInInitializerError
at net.sf.l2j.gameserver.handler.UserCommandHandler.getInstance(UserCommandHandler.java:45)
at net.sf.l2j.gameserver.GameServer.<init>(GameServer.java:277)
at net.sf.l2j.gameserver.GameServer.main(GameServer.java:383)
Caused by: java.lang.NullPointerException
at net.sf.l2j.gameserver.handler.UserCommandHandler.registerUserCommandHandler(UserCommandHandler.java:70)
at net.sf.l2j.gameserver.handler.UserCommandHandler.<init>(UserCommandHandler.java:51)
at net.sf.l2j.gameserver.handler.UserCommandHandler$SingletonHolder.<clinit>(UserCommandHandler.java:97)
... 3 more
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
Re1d
Hello all,
I've been just trying to implement one very simple voice command on the server pack .
I get no errors during compilation , but when i run gameserver i get that error at the end.
I tried to trace it down but i cant find it..
I went on to net.sf.l2j.gameserver.handler.UserCommandHandle and line 45 but it shows no error .
any help would be greatly appreciated.
This is the error :
Exception in thread "main" java.lang.ExceptionInInitializerError
at net.sf.l2j.gameserver.handler.UserCommandHandler.getInstance(UserCommandHandler.java:45)
at net.sf.l2j.gameserver.GameServer.<init>(GameServer.java:277)
at net.sf.l2j.gameserver.GameServer.main(GameServer.java:383)
Caused by: java.lang.NullPointerException
at net.sf.l2j.gameserver.handler.UserCommandHandler.registerUserCommandHandler(UserCommandHandler.java:70)
at net.sf.l2j.gameserver.handler.UserCommandHandler.<init>(UserCommandHandler.java:51)
at net.sf.l2j.gameserver.handler.UserCommandHandler$SingletonHolder.<clinit>(UserCommandHandler.java:97)
... 3 more
6 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.