Projects tigase _server server-core Issues #584
tigase-server-7.2.0-SNAPSHOT-b4069 Exception (#584)
Closed
Eric Dziewa opened 9 years ago
Due Date
2015-10-12

Cannot connect after this exception and logging ceases.

2015-10-11 19:11:01.625 [main]             ThreadExceptionHandler.uncaughtException()  SEVERE: Uncaught thread: "main" exception
java.lang.NoClassDefFoundError: tigase/component2/exceptions/ComponentException
        at java.lang.Class.getDeclaredConstructors0(Native Method)
        at java.lang.Class.privateGetDeclaredConstructors(Class.java:2658)
        at java.lang.Class.getConstructor0(Class.java:2964)
        at java.lang.Class.newInstance(Class.java:403)
        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.Configurator.componentAdded(Configurator.java:33)
        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)
Caused by: java.lang.ClassNotFoundException: tigase.component2.exceptions.ComponentException
        at java.net.URLClassLoader$1.run(URLClassLoader.java:372)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:360)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        at java.lang.Class.getDeclaredConstructors0(Native Method)
        at java.lang.Class.privateGetDeclaredConstructors(Class.java:2658)
        at java.lang.Class.getConstructor0(Class.java:2964)
        at java.lang.Class.newInstance(Class.java:403)
        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.Configurator.componentAdded(Configurator.java:33)
        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)
wojciech.kapcia@tigase.net commented 9 years ago

Bartek, after looking at the issue - it's caused by tigase-acs-pubsub being not in line with the changes to tigase-pubsub thus exception about @java.lang.NoClassDefFoundError: tigase/component2/exceptions/ComponentException@.

Please correct tigase-acs-pubsub project in the same manner that tigase-pubsub was -- create new release branch with current code, in the master bump the version of the component and use that version in tigase-server@. Most likely @tigase-acs would also require such changes as we want to have ACS build compatible with both 7.1.0 and 7.2.0...

issue 1 of 1
Type
Bug
Priority
Major
Assignee
RedmineID
3611
Spent time
81h
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/server-core#584
Please wait...
Page is in error, reload to recover