Jump to content
  • 0

[Help] Console Error (Event)


Question

Posted

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:
 
Thanks in advice

3 answers to this question

Recommended Posts

  • 0
Posted (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 by SweeTs
Guest
This topic is now closed to further replies.


×
×
  • Create New...