Exception in thread "main"

Find the proper support area, Saga-Version.
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
Morkovkinator
Posts: 6
Joined: Fri Sep 19, 2014 6:40 am

Exception in thread "main"

Post 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 ?
Morkovkinator
Posts: 6
Joined: Fri Sep 19, 2014 6:40 am

Re: Exception in thread "main"

Post 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.
User avatar
UnAfraid
L2j Veteran
L2j Veteran
Posts: 4199
Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria
Contact:

Re: Exception in thread "main"

Post by UnAfraid »

or your user didn't had correct rights.
Image
Morkovkinator
Posts: 6
Joined: Fri Sep 19, 2014 6:40 am

Re: Exception in thread "main"

Post 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 .
User avatar
UnAfraid
L2j Veteran
L2j Veteran
Posts: 4199
Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria
Contact:

Re: Exception in thread "main"

Post by UnAfraid »

what's the owner of the files?
Image
Morkovkinator
Posts: 6
Joined: Fri Sep 19, 2014 6:40 am

Re: Exception in thread "main"

Post by Morkovkinator »

UnAfraid wrote:what's the owner of the files?
root
User avatar
UnAfraid
L2j Veteran
L2j Veteran
Posts: 4199
Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria
Contact:

Re: Exception in thread "main"

Post by UnAfraid »

how do u expect that this would work out? :P
Image
Post Reply