Page 1 of 1

Exception in thread "main"

Posted: Wed Sep 24, 2014 10:07 pm
by Morkovkinator
Freya
L2J Server Version: 6646M
L2J Datapack Version: 10447

When you run the gameserver log file has the following contents

Code: Select all

 --------------------------------------------------------------------=[ Cache ]Cache[HTML]: Running lazy cacheException in thread "main" java.lang.ExceptionInInitializerError    at com.l2jserver.gameserver.cache.CrestCache.getInstance(CrestCache.java:56)    at com.l2jserver.gameserver.GameServer.<init>(GameServer.java:290)    at com.l2jserver.gameserver.GameServer.main(GameServer.java:484)Caused by: java.lang.NullPointerException    at com.l2jserver.gameserver.cache.CrestCache.convertOldPedgeFiles(CrestCache.java:141)    at com.l2jserver.gameserver.cache.CrestCache.<init>(CrestCache.java:61)    at com.l2jserver.gameserver.cache.CrestCache.<init>(CrestCache.java:40)    at com.l2jserver.gameserver.cache.CrestCache$SingletonHolder.<clinit>(CrestCache.java:367)    ... 3 moreOlympiad System: Olympiad Game StartedOlympiad System: Loaded 88 stadiums. 
What does this mean and how to fix it ?

Re: Exception in thread "main"

Posted: Thu Sep 25, 2014 9:32 pm
by Morkovkinator
The answer is found !
I ran gameserver with simple user rights .
When started as root , the message in the log file does not appear .

PS I use Debian 7.

Re: Exception in thread "main"

Posted: Thu Sep 25, 2014 10:39 pm
by UnAfraid
or your user didn't had correct rights.

Re: Exception in thread "main"

Posted: Fri Sep 26, 2014 5:53 am
by Morkovkinator
UnAfraid wrote:or your user didn't had correct rights.
I am a novice . From the log I do not see .

The server is located in
/ opt / l2j / ...
All directories permissions are set 755. Permissions for files 644 .

Tell me , what rights need to be installed .

Re: Exception in thread "main"

Posted: Fri Sep 26, 2014 12:51 pm
by UnAfraid
what's the owner of the files?

Re: Exception in thread "main"

Posted: Fri Sep 26, 2014 3:35 pm
by Morkovkinator
UnAfraid wrote:what's the owner of the files?
root

Re: Exception in thread "main"

Posted: Fri Sep 26, 2014 3:42 pm
by UnAfraid
how do u expect that this would work out? :P