Strange error in the log

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
Onepamopa
Posts: 113
Joined: Thu Jan 14, 2010 6:35 pm
Contact:

Strange error in the log

Post by Onepamopa »

» Find Revision
L2J Revision Lastest:
L2JDP Revision Lastest:

I started to get this message recently, I just noticed it in the logs, so here it is:
Anyone knows what's this error, and how to fix it ?

could not restore container:
java.lang.NullPointerException
at com.l2jserver.gameserver.model.ClanWarehouse.getOwner(ClanWarehouse.java:38)
at com.l2jserver.gameserver.model.ClanWarehouse.getOwner(ClanWarehouse.java:22)
at com.l2jserver.gameserver.model.itemcontainer.ItemContainer.restore(ItemContainer.java:633)
at com.l2jserver.gameserver.model.L2Clan.<init>(L2Clan.java:184)
at com.l2jserver.gameserver.datatables.ClanTable.<init>(ClanTable.java:93)
at com.l2jserver.gameserver.datatables.ClanTable.<init>(ClanTable.java:56)
at com.l2jserver.gameserver.datatables.ClanTable$SingletonHolder.<clinit>(ClanTable.java:528)
at com.l2jserver.gameserver.datatables.ClanTable.getInstance(ClanTable.java:64)
at com.l2jserver.gameserver.GameServer.<init>(GameServer.java:250)
at com.l2jserver.gameserver.GameServer.main(GameServer.java:502)

I thought that this is related to clanhalls, so I checked clanhall.sql @ our server, ownerId is 0 on all clan halls.
There are clans with clan halls @ the server.
Still cant find anything about this error
----------------------------------------------------
ICQ: 287731217
Skype: d.i.dobrev
IRC: Onepamopa
----------------------------------------------------
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: Strange error in the log

Post by jurchiks »

warehouse has nothing to do with clan hall...
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
hope
Posts: 1160
Joined: Thu Aug 30, 2007 5:17 pm

Re: Strange error in the log

Post by hope »

jurchiks wrote:warehouse has nothing to do with clan hall...
it does it takes the adena from the clan wh to pay for the clan hall
Onepamopa
Posts: 113
Joined: Thu Jan 14, 2010 6:35 pm
Contact:

Re: Strange error in the log

Post by Onepamopa »

well, I still get this error and I dont know what to do.
No one of the developers even responded in the topic with some info..
----------------------------------------------------
ICQ: 287731217
Skype: d.i.dobrev
IRC: Onepamopa
----------------------------------------------------
Onepamopa
Posts: 113
Joined: Thu Jan 14, 2010 6:35 pm
Contact:

Re: Strange error in the log

Post by Onepamopa »

_DS_ said a while ago that this is caused by:
"You have a clan without leader in the table. "
This isnt the case, cause I checked the clan_data table - every clan has leader.
----------------------------------------------------
ICQ: 287731217
Skype: d.i.dobrev
IRC: Onepamopa
----------------------------------------------------
Onepamopa
Posts: 113
Joined: Thu Jan 14, 2010 6:35 pm
Contact:

Re: Strange error in the log

Post by Onepamopa »

Here's more complete log:

L2World: Setting up World Regions
L2World: (136 by 136) World Region Grid set up.
could not restore container:
java.lang.NullPointerException
at com.l2jserver.gameserver.model.ClanWarehouse.getOwner(ClanWarehouse.java:38)
at com.l2jserver.gameserver.model.ClanWarehouse.getOwner(ClanWarehouse.java:22)
at com.l2jserver.gameserver.model.itemcontainer.ItemContainer.restore(ItemContainer.java:633)
at com.l2jserver.gameserver.model.L2Clan.<init>(L2Clan.java:184)
at com.l2jserver.gameserver.datatables.ClanTable.<init>(ClanTable.java:93)
at com.l2jserver.gameserver.datatables.ClanTable.<init>(ClanTable.java:56)
at com.l2jserver.gameserver.datatables.ClanTable$SingletonHolder.<clinit>(ClanTable.java:528)
at com.l2jserver.gameserver.datatables.ClanTable.getInstance(ClanTable.java:64)
at com.l2jserver.gameserver.instancemanager.ClanHallManager.load(ClanHallManager.java:105)
at com.l2jserver.gameserver.instancemanager.ClanHallManager.<init>(ClanHallManager.java:61)
at com.l2jserver.gameserver.instancemanager.ClanHallManager.<init>(ClanHallManager.java:36)
at com.l2jserver.gameserver.instancemanager.ClanHallManager$SingletonHolder.<clinit>(ClanHallManager.java:249)
at com.l2jserver.gameserver.instancemanager.ClanHallManager.getInstance(ClanHallManager.java:47)
at com.l2jserver.gameserver.GameServer.<init>(GameServer.java:214)
at com.l2jserver.gameserver.GameServer.main(GameServer.java:502)

Restored 47 clans from the database.
Loaded: 3 clan halls
Loaded: 41 free clan halls
----------------------------------------------------
ICQ: 287731217
Skype: d.i.dobrev
IRC: Onepamopa
----------------------------------------------------
Post Reply