Page 1 of 1

Exception in thread "main" Server Can't start updated.

Posted: Tue Jan 11, 2011 12:37 pm
by xone
If you want to receive support we need this info to help you properly.
ยป Find Revision
L2J Revision Number: 4474
L2JDP Revision Number: 7739

DP was at 7739 already.
I did core update from 4473 to 4474 and I got this:
Before this update everything was fine, donno what happened, I tryed to start server without 4474 update ... and still same.
At server Start, I got this, HELP please can't start server
Hero System: Loaded 1 diary entries for Hero: Magicshow
Hero System: Loaded 0 fights for Hero: Haji
Hero System: Loaded 1 diary entries for Hero: Haji
Hero System: Loaded 0 fights for Hero: HellBoy
Hero System: Loaded 1 diary entries for Hero: HellBoy
Hero System: Loaded 0 fights for Hero: xNuggetSx
Hero System: Loaded 1 diary entries for Hero: xNuggetSx
Exception in thread "main" java.lang.ExceptionInInitializerError
at com.l2jserver.gameserver.model.entity.Hero.getInstance(Hero.java:100)

at com.l2jserver.gameserver.GameServer.<init>(GameServer.java:295)
at com.l2jserver.gameserver.GameServer.main(GameServer.java:497)
Caused by: java.lang.NullPointerException
at com.l2jserver.gameserver.model.entity.Hero.init(Hero.java:163)
at com.l2jserver.gameserver.model.entity.Hero.<init>(Hero.java:105)
at com.l2jserver.gameserver.model.entity.Hero.<init>(Hero.java:62)
at com.l2jserver.gameserver.model.entity.Hero$SingletonHolder.<clinit>(H
ero.java:1135)
... 3 more
My Hero.java here:
http://pastebin.com/gLUne7kG

Please let me know if you need any other files.

I found 1 thing, I created a new DB, used DB backup from 3 day ago, used same server files.
It worked, but I can't do rollback 3 days.... anyone have any ideea from where in DB it might be. ?

I analyzed all DB tables: they returned status OK

Re: Exception in thread "main" Server Can't start updated.

Posted: Tue Jan 11, 2011 1:49 pm
by xone
Please anyone any ideeas ? sorry for double post.... :(

Re: Exception in thread "main" Server Can't start updated.

Posted: Tue Jan 11, 2011 2:08 pm
by JIV

Code: Select all

clanName = ClanTable.getInstance().getClan(clanId).getName();

Re: Exception in thread "main" Server Can't start updated.

Posted: Tue Jan 11, 2011 3:01 pm
by xone
JIV wrote:

Code: Select all

clanName = ClanTable.getInstance().getClan(clanId).getName();
JIV or someone, please give me an hint or something, I understand that it has to do something with clans... but I don't know what.

I put on latest DB and made restore of old table "characters" and server starts ... but I can't seem to find the problem ...

Re: Exception in thread "main" Server Can't start updated.

Posted: Tue Jan 11, 2011 4:23 pm
by xone
well after 10 or more DB checks I found out that 1 player was missing clan data. Problem fixed.

Re: Exception in thread "main" Server Can't start updated.

Posted: Sun Feb 10, 2013 5:52 pm
by shoko
How to check this
I has delete character lv < 56
has this problem

clanName = ClanTable.getInstance().getClan(clanId).getName();