Page 1 of 1

what is this

Posted: Wed Aug 26, 2009 4:07 pm
by Raincast
26.08.2009 18:52:04 net.sf.l2j.gameserver.model.itemcontainer.ItemContainer restore
WARNING: could not restore container:
java.lang.NullPointerException
at net.sf.l2j.gameserver.model.itemcontainer.ItemContainer.restore(ItemContainer.java:618)
at net.sf.l2j.gameserver.model.L2Clan.<init>(L2Clan.java:181)
at net.sf.l2j.gameserver.datatables.ClanTable.<init>(ClanTable.java:84)
at net.sf.l2j.gameserver.datatables.ClanTable.<init>(ClanTable.java:52)
at net.sf.l2j.gameserver.datatables.ClanTable$SingletonHolder.<clinit>(ClanTable.java:511)
at net.sf.l2j.gameserver.datatables.ClanTable.getInstance(ClanTable.java:60)
at net.sf.l2j.gameserver.instancemanager.ClanHallManager.load(ClanHallManager.java:105)
at net.sf.l2j.gameserver.instancemanager.ClanHallManager.<init>(ClanHallManager.java:59)
at net.sf.l2j.gameserver.instancemanager.ClanHallManager.<init>(ClanHallManager.java:34)
at net.sf.l2j.gameserver.instancemanager.ClanHallManager$SingletonHolder.<clinit>(ClanHallManager.java:247)
at net.sf.l2j.gameserver.instancemanager.ClanHallManager.getInstance(ClanHallManager.java:45)
at net.sf.l2j.gameserver.GameServer.<init>(GameServer.java:227)
at net.sf.l2j.gameserver.GameServer.main(GameServer.java:552)
26.08.2009 18:52:05 net.sf.l2j.gameserver.model.itemcontainer.ItemContainer restore
WARNING: could not restore container:
java.lang.NullPointerException
at net.sf.l2j.gameserver.model.itemcontainer.ItemContainer.restore(ItemContainer.java:618)
at net.sf.l2j.gameserver.model.L2Clan.<init>(L2Clan.java:181)
at net.sf.l2j.gameserver.datatables.ClanTable.<init>(ClanTable.java:84)
at net.sf.l2j.gameserver.datatables.ClanTable.<init>(ClanTable.java:52)
at net.sf.l2j.gameserver.datatables.ClanTable$SingletonHolder.<clinit>(ClanTable.java:511)
at net.sf.l2j.gameserver.datatables.ClanTable.getInstance(ClanTable.java:60)
at net.sf.l2j.gameserver.instancemanager.ClanHallManager.load(ClanHallManager.java:105)
at net.sf.l2j.gameserver.instancemanager.ClanHallManager.<init>(ClanHallManager.java:59)
at net.sf.l2j.gameserver.instancemanager.ClanHallManager.<init>(ClanHallManager.java:34)
at net.sf.l2j.gameserver.instancemanager.ClanHallManager$SingletonHolder.<clinit>(ClanHallManager.java:247)
at net.sf.l2j.gameserver.instancemanager.ClanHallManager.getInstance(ClanHallManager.java:45)
at net.sf.l2j.gameserver.GameServer.<init>(GameServer.java:227)
at net.sf.l2j.gameserver.GameServer.main(GameServer.java:552)

Re: what is this

Posted: Wed Aug 26, 2009 9:00 pm
by _DS_
Looks like damaged CWH contents.

Re: what is this

Posted: Thu Aug 27, 2009 6:46 am
by Raincast
How to clean this error?

Re: what is this

Posted: Fri Aug 28, 2009 6:09 am
by LiquidIce
I once had a similar error but it was shorter, it had to do that when the GS was loading items, there was an item value on the table that wasnt complete, check ur "items" table on ur database for any incomplete values that could cause the GS to crash.
And another thing that i think it could be, which i think its obvious, is clanhall instance loading errors.
Check your "clanhall" table on your database for any problems, if there are players that have a clanhall, i suggest you backup the old table you have just incase. And what you can do is execute the batch file "clanhall.sql" found in the SQL folder on your server directory.

Re: what is this

Posted: Sat Oct 03, 2009 10:49 pm
by JavierDC
solution

in ItemContainer.java

Code: Select all

 Index: C:/final/L2_GameServer/java/net/sf/l2j/gameserver/model/itemcontainer/ItemContainer.java===================================================================--- C:/final/L2_GameServer/java/net/sf/l2j/gameserver/model/itemcontainer/ItemContainer.java	(revision 3599)+++ C:/final/L2_GameServer/java/net/sf/l2j/gameserver/model/itemcontainer/ItemContainer.java	(working copy)@@ -615,9 +615,8 @@  				// If stackable item is found in inventory just add to current quantity 				if (item.isStackable() && getItemByItemId(item.getItemId()) != null)-					addItem("Restore", item, getOwner().getActingPlayer(), null);-				else-					addItem(item);+					addItem("Restore", item, null, getOwner());+				else addItem(item); 			}  			inv.close();  
then apply reverse the patch when you run it once to the server
español
luego aplica reverse al parche, cuando has ejecutado una vez al server

Re: what is this

Posted: Sun Oct 04, 2009 6:28 am
by _DS_
:?
Did you read description of the arguments for addItem() ? If you interested only in masking the problem, not fixing - use addItem(item).

Re: what is this

Posted: Sun Oct 04, 2009 8:13 am
by Gnacik
I have that problem too. Caused by manor crops. Check they WH for double items. idk why but in my case clan have in CWH two of same kind with different quantity.

Re: what is this

Posted: Sun Oct 04, 2009 5:38 pm
by JavierDC
I had problem that some clans could not see his clan warehouse, with the match started to use it, then apply the patch and reverse the more I had that problem.

español
yo tenia problema que algunos clanes no podían ver su warehouse clan, con este parche empezaron a poder a utilizarlo, después aplique el reverse al parche y no tuve mas ese problema.