Page 1 of 1

java.lang.NoSuchMethodError

Posted: Thu May 13, 2010 4:09 pm
by Notorious
L2J Revision Number: 4175
L2JDP Revision Number: 7405

Just updated the server to revisions above, and when logging in with GM char in IT (where I was before I took server offline) I get this error, and nothing works. I manually set the spawn-coords for the character, and relogged, and everything was fine. I then went back to IT, and only a few mobs were spawned, and no new spawned as I moved through the place. What could be causing this error?

Code: Select all

Client: [Character: Name[268480025] - Account: account - IP: 192.168.0.2]- Failed running: [C] 03 EnterWorld - L2J Server Version: ${l2j.revision} - DP Revision: ${l2jdp.revision}java.lang.NoSuchMethodError: javolution.util.FastSet.shared()Ljavolution/util/FastSet;        at com.l2jserver.gameserver.model.actor.L2Character.getAttackByList(L2Character.java:2258)        at com.l2jserver.gameserver.ai.L2AttackableAI.thinkActive(L2AttackableAI.java:507)        at com.l2jserver.gameserver.ai.L2AttackableAI.onEvtThink(L2AttackableAI.java:2400)        at com.l2jserver.gameserver.ai.L2CharacterAI.onIntentionActive(L2CharacterAI.java:175)        at com.l2jserver.gameserver.ai.L2AttackableAI.onIntentionActive(L2AttackableAI.java:2522)        at com.l2jserver.gameserver.ai.AbstractAI.setIntention(AbstractAI.java:304)        at com.l2jserver.gameserver.ai.AbstractAI.setIntention(AbstractAI.java:250)        at com.l2jserver.gameserver.model.actor.knownlist.MonsterKnownList.addKnownObject(MonsterKnownList.java:41)        at com.l2jserver.gameserver.model.L2World.addVisibleObject(L2World.java:375)        at com.l2jserver.gameserver.model.L2Object.spawnMe(L2Object.java:501)        at com.l2jserver.gameserver.network.clientpackets.EnterWorld.runImpl(EnterWorld.java:389)        at com.l2jserver.gameserver.network.clientpackets.L2GameClientPacket.run(L2GameClientPacket.java:92)        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)        at java.lang.Thread.run(Unknown Source)

Re: java.lang.NoSuchMethodError

Posted: Thu May 13, 2010 4:42 pm
by lion

Re: java.lang.NoSuchMethodError

Posted: Thu May 13, 2010 4:45 pm
by Notorious
No, I double-checked for double files in the libs-folder already, and I only have one there. I got it with the updates I installed today, and was sure to delete the older one.

So only one in libs-folder: javolution-5.5.1.jar

Re: java.lang.NoSuchMethodError

Posted: Thu May 13, 2010 4:52 pm
by Notorious
A strange thing though.... I tested on my test-server first, which is identical with the live, except for the database ofc, and I cannot reproduce the error there! :(

Edit: not the same hardware or OS though, if that can be a factor... Server is running 2008 server, and test is running normal W7.

Re: java.lang.NoSuchMethodError

Posted: Thu May 13, 2010 4:58 pm
by hope
update your handlers with fresh ones

Re: java.lang.NoSuchMethodError

Posted: Thu May 13, 2010 6:47 pm
by Notorious
I will do a more thorough installation and testing on next update. For now I run with the old installation. Good thing I always make backup! :D

Re: java.lang.NoSuchMethodError

Posted: Thu May 13, 2010 7:54 pm
by JIV
you must have somewhere in your classpath older javolution.

Re: java.lang.NoSuchMethodError

Posted: Sat May 15, 2010 10:35 am
by Notorious
Second update made yesterday went well, so not sure what it was, but probably my own fault.

Topic closed! :D