java.lang.NoSuchMethodError

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
Locked
User avatar
Notorious
Posts: 501
Joined: Thu May 28, 2009 3:50 pm
Location: Sweden

java.lang.NoSuchMethodError

Post 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)
lion
L2j Veteran
L2j Veteran
Posts: 967
Joined: Sun Mar 11, 2007 7:49 pm
Location: Ukraine

Re: java.lang.NoSuchMethodError

Post by lion »

User avatar
Notorious
Posts: 501
Joined: Thu May 28, 2009 3:50 pm
Location: Sweden

Re: java.lang.NoSuchMethodError

Post 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
User avatar
Notorious
Posts: 501
Joined: Thu May 28, 2009 3:50 pm
Location: Sweden

Re: java.lang.NoSuchMethodError

Post 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.
hope
Posts: 1160
Joined: Thu Aug 30, 2007 5:17 pm

Re: java.lang.NoSuchMethodError

Post by hope »

update your handlers with fresh ones
User avatar
Notorious
Posts: 501
Joined: Thu May 28, 2009 3:50 pm
Location: Sweden

Re: java.lang.NoSuchMethodError

Post 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
User avatar
JIV
L2j Veteran
L2j Veteran
Posts: 1882
Joined: Sun Jan 06, 2008 8:17 pm
Location: Slovakia
Contact:

Re: java.lang.NoSuchMethodError

Post by JIV »

you must have somewhere in your classpath older javolution.
User avatar
Notorious
Posts: 501
Joined: Thu May 28, 2009 3:50 pm
Location: Sweden

Re: java.lang.NoSuchMethodError

Post by Notorious »

Second update made yesterday went well, so not sure what it was, but probably my own fault.

Topic closed! :D
Locked