Hello,
I updated exo from 4.2.1 to 4.3.0 and also updated chat to 1.2.0 but it gives me the following error at startup and halts exo startup as well (chatServer is inside platform.ear):
09:45:38,139 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/chatServer]] (ServerService Thread Pool -- 57) JBWEB000287: Exception sending context initialized event to listener instance of class org.exoplatform.chat.listener.MigrateServiceListener: java.lang.NullPointerException
at com.mongodb.DBApiLayer.getCollectionNames(DBApiLayer.java:153) [mongo-java-driver-2.14.0.jar:]
at com.mongodb.DB.collectionExists(DB.java:524) [mongo-java-driver-2.14.0.jar:]
at org.exoplatform.chat.services.mongodb.MongoBootstrap.initCollection(MongoBootstrap.java:158) [server-1.2.0.jar:1.2.0]
at org.exoplatform.chat.services.mongodb.MongoBootstrap.initCollection(MongoBootstrap.java:153) [server-1.2.0.jar:1.2.0]
at org.exoplatform.chat.services.mongodb.MongoBootstrap.getDB(MongoBootstrap.java:126) [server-1.2.0.jar:1.2.0]
at org.exoplatform.chat.services.mongodb.MongoBootstrap.getDB(MongoBootstrap.java:110) [server-1.2.0.jar:1.2.0]
at org.exoplatform.chat.services.MigrateService.<init>(MigrateService.java:22) [server-1.2.0.jar:1.2.0]
at org.exoplatform.chat.listener.MigrateServiceListener.contextInitialized(MigrateServiceListener.java:19) [server-1.2.0.jar:1.2.0]
at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3339) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3777) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
at org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:156) [jboss-as-web-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14]
at org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:60) [jboss-as-web-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14]
at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:93) [jboss-as-web-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [rt.jar:1.8.0_74]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [rt.jar:1.8.0_74]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_74]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_74]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_74]
at org.jboss.threads.JBossThread.run(JBossThread.java:122)
09:45:38,145 INFO [GuiceManager] (ServerService Thread Pool -- 57) INITIALIZING GUICE
Hello,
I updated exo from 4.2.1 to 4.3.0 and also updated chat to 1.2.0 but it gives me the following error at startup and halts exo startup as well (chatServer is inside platform.ear):