java.lang.NoSuchMethodError in gateway

I installed wildfire 3.1.0 and the gateway verion 1.0 Beta 3a today on Linux, using the included JRE. From the admin console (Gateways -> Settings) I enabled AOL, MSN, and Yahoo. I also created some a registration for myself (Gateways -> Registrations) for each of these services. When I connect with my client (kopete), it doesn’'t connect. Snooping in the logs, I found this in the stderror.log file:


Exception in thread “Client SR - 24177700” java.lang.NoSuchMethodError: net.kano.joscar.DefensiveTools.asUnmodifiableList([Ljava/lang/Object;)Ljava/uti l/List;

at net.kano.joscar.snaccmd.auth.ClientAuthCmdFactory.(LoginConnection.java:35)

at org.jivesoftware.wildfire.gateway.protocols.oscar.OSCARSession.logIn(OSCARSessi on.java:80)

at org.jivesoftware.wildfire.gateway.protocols.oscar.OSCARTransport.registrationLo ggedIn(OSCARTransport.java:89)

at org.jivesoftware.wildfire.gateway.BaseTransport.processPacket(BaseTransport.jav a:249)

at org.jivesoftware.wildfire.gateway.BaseTransport.processPacket(BaseTransport.jav a:131)

at org.jivesoftware.wildfire.component.InternalComponentManager$RoutableComponent. process(InternalComponentManager.java:435)

at org.jivesoftware.wildfire.roster.Roster.broadcastPresence(Roster.java:586)

at org.jivesoftware.wildfire.handler.PresenceUpdateHandler.broadcastUpdate(Presenc eUpdateHandler.java:258)

at org.jivesoftware.wildfire.handler.PresenceUpdateHandler.process(PresenceUpdateH andler.java:96)

at org.jivesoftware.wildfire.handler.PresenceUpdateHandler.process(PresenceUpdateH andler.java:153)

at org.jivesoftware.wildfire.PresenceRouter.handle(PresenceRouter.java:92)

at org.jivesoftware.wildfire.PresenceRouter.route(PresenceRouter.java:61)

at org.jivesoftware.wildfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:75)

at org.jivesoftware.wildfire.net.SocketReader.processPresence(SocketReader.java:29 9)

at org.jivesoftware.wildfire.net.ClientSocketReader.processPresence(ClientSocketRe ader.java:57)

at org.jivesoftware.wildfire.net.SocketReader.process(SocketReader.java:193)

at org.jivesoftware.wildfire.net.BlockingReadingMode.readStream(BlockingReadingMod e.java:156)

at org.jivesoftware.wildfire.net.BlockingReadingMode.run(BlockingReadingMode.java: 62)

at org.jivesoftware.wildfire.net.SocketReader.run(SocketReader.java:123)

at java.lang.Thread.run(Unknown Source)


When I delete my AIM registration, I can log in from my client and connect to the other services via the gateway. I suspect this is a bug, but my guess is that it will be difficult to reproduce. Let me know if you need additional info to try and track this down.

Message was edited by: kotfu

I am still mystified by this one. It has been reported a couple of times before but I’‘ve yet to figure out what’'s causing it. I may actually ping the joscar folk about it and see if they have some ideas. Either way, GATE-62