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

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
User avatar
xone
Posts: 122
Joined: Thu Nov 05, 2009 5:04 am

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

Post 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
User avatar
xone
Posts: 122
Joined: Thu Nov 05, 2009 5:04 am

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

Post by xone »

Please anyone any ideeas ? sorry for double post.... :(
User avatar
JIV
L2j Veteran
L2j Veteran
Posts: 1882
Joined: Sun Jan 06, 2008 8:17 pm
Location: Slovakia
Contact:

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

Post by JIV »

Code: Select all

clanName = ClanTable.getInstance().getClan(clanId).getName();
User avatar
xone
Posts: 122
Joined: Thu Nov 05, 2009 5:04 am

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

Post 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 ...
User avatar
xone
Posts: 122
Joined: Thu Nov 05, 2009 5:04 am

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

Post by xone »

well after 10 or more DB checks I found out that 1 player was missing clan data. Problem fixed.
User avatar
shoko
Posts: 160
Joined: Sat Jul 28, 2007 11:46 am

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

Post by shoko »

How to check this
I has delete character lv < 56
has this problem

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