We moved our repositories to BitBucket!

If you can't login or you can't register to the forums do not rise an issue, instead please write to support (at) l2jserver.com

Check our wiki!

Report server issues here

Forum has been updated to phpBB 3.2, let's see if this fixes some minor bugs we had.

Thank you for visiting http://www.l2jserver.com/

Exception in thread "main"

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

Exception in thread "main"

Post by Morkovkinator » Wed Sep 24, 2014 10:07 pm

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 » Thu Sep 25, 2014 9:32 pm

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: 4195
Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria
Contact:

Re: Exception in thread "main"

Post by UnAfraid » Thu Sep 25, 2014 10:39 pm

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 » Fri Sep 26, 2014 5:53 am

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: 4195
Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria
Contact:

Re: Exception in thread "main"

Post by UnAfraid » Fri Sep 26, 2014 12:51 pm

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 » Fri Sep 26, 2014 3:35 pm

UnAfraid wrote:what's the owner of the files?
root

User avatar
UnAfraid
L2j Veteran
L2j Veteran
Posts: 4195
Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria
Contact:

Re: Exception in thread "main"

Post by UnAfraid » Fri Sep 26, 2014 3:42 pm

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

Locked