L2Absolute Posted November 30, 2015 Posted November 30, 2015 Hello, my console shows this error and i dont know why : Event: Try to get a restriction of a non existing event: ID: 0 Exception in thread "main" java.lang.ExceptionInInitializerError at net.sf.l2j.gameserver.instancemanager.EventManager.getInstance(EventM anager.java:321) at net.sf.l2j.gameserver.GameServer.<init>(GameServer.java:276) at net.sf.l2j.gameserver.GameServer.main(GameServer.java:404) Caused by: java.lang.NullPointerException at net.sf.l2j.gameserver.instancemanager.EventManager.<init>(EventManage r.java:346) at net.sf.l2j.gameserver.instancemanager.EventManager$SingletonHolder.<c linit>(EventManager.java:316) ... 3 more Anyone know where is the problem? Here is the code: http://pastebin.com/E8t7StFR Thanks in advice
0 SweeTs Posted November 30, 2015 Posted November 30, 2015 (edited) Check your events.xml (config folder) the dm id should be 1. 0 stands for global settings. If you miss the file, add it. Edited November 30, 2015 by SweeTs
0 L2Absolute Posted November 30, 2015 Author Posted November 30, 2015 Oh I forgot to add this, thanks a lot :D
Question
L2Absolute
Hello, my console shows this error and i dont know why :
Event: Try to get a restriction of a non existing event: ID: 0
3 answers to this question
Recommended Posts