Project

General

Profile

new socks5 init error

毅德 蒲
Added about 3 years ago

Hi Everybody

    I use tigase 7.1.0-SNAPSHOT config socks5 The following error

2016-01-08 10:16:05.052 [main] ThreadExceptionHandler.uncaughtException() SEVERE: Uncaught thread: "main" exception

java.lang.NoSuchMethodError: tigase.cluster.api.CommandListenerAbstract.(Ljava/lang/String;Ltigase/server/Priority;)V

    at tigase.socks5.Socks5ProxyComponent$PacketForward.<init>(Socks5ProxyComponent.java:626)

    at tigase.socks5.Socks5ProxyComponent.<init>(Socks5ProxyComponent.java:97)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

    at java.lang.reflect.Constructor.newInstance(Constructor.java:422)

    at java.lang.Class.newInstance(Class.java:442)

    at tigase.server.MessageRouterConfig.getMsgRcvInstance(MessageRouterConfig.java:419)

    at tigase.server.MessageRouter.setProperties(MessageRouter.java:687)

    at tigase.conf.ConfiguratorAbstract.setup(ConfiguratorAbstract.java:540)

    at tigase.conf.ConfiguratorAbstract.componentAdded(ConfiguratorAbstract.java:177)

    at tigase.conf.Configurator.componentAdded(Configurator.java:50)

    at tigase.conf.ConfiguratorAbstract.componentAdded(ConfiguratorAbstract.java:1)

    at tigase.server.AbstractComponentRegistrator.addComponent(AbstractComponentRegistrator.java:116)

    at tigase.server.MessageRouter.addRegistrator(MessageRouter.java:131)

    at tigase.server.MessageRouter.setConfig(MessageRouter.java:597)

    at tigase.server.XMPPServer.start(XMPPServer.java:142)

    at tigase.server.XMPPServer.main(XMPPServer.java:112)

I adjusted the Packet Forward method

public PacketForward ()

{super (PACKET_FORWARD_CMD, tigase.server.Priority.HIGH);}

But still the same error occurs, can you help me, thanks!


Replies (1)

Added by Andrzej Wójcik IoT 1 CloudTigaseTeam about 3 years ago

Looking at exception I think you use older version of Tigase with newer version of Socks5 Proxy component.

Some time ago we changed in version 7.1.0-SNAPSHOT constructor of CommandListenerAbstract by adding Priority parameter. In your version of Tigase XMPP Server (probably 7.1.0-SNAPSHOT before this change) following constructor do not exist. I would suggest to use newer build of Tigase XMPP Server 7.1.0-SNAPSHOT and this should fix your issue.

    (1-1/1)