When upgraded SmartGWT version from 5.0-p20150412 to 5.1p20151213 we had a problem with DataTools class.
javax.servlet.ServletException: java.lang.NoClassDefFoundError: Could not initialize class com.isomorphic.util.DataTools at com.caucho.server.dispatch.FilterManager.createFilter(FilterManager.java:174) at com.caucho.server.dispatch.FilterMapper.buildDispatchChain(FilterMapper.java:166) at com.caucho.server.webapp.WebApp.buildInvocation(WebApp.java:2069) at com.caucho.server.webapp.WebAppContainer.buildInvocation(WebAppContainer.java:716) at com.caucho.server.host.Host.buildInvocation(Host.java:489) at com.caucho.server.host.HostContainer.buildInvocation(HostContainer.java:314) at com.caucho.server.cluster.Server.buildInvocation(Server.java:1013) at com.caucho.server.dispatch.DispatchServer.buildInvocation(DispatchServer.java:209) at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:265) at com.caucho.server.port.TcpConnection.run(TcpConnection.java:682) at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:743) at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:662) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.isomorphic.util.DataTools at com.isomorphic.base.ConfigLoader.loadAndMerge(ConfigLoader.java:111) at com.isomorphic.base.ConfigLoader.loadAndMerge(ConfigLoader.java:70) at com.isomorphic.base.ConfigLoader.loadConfig(ConfigLoader.java:187) at com.isomorphic.base.Config.initGlobalConfig(Config.java:150) at com.isomorphic.base.Config.initGlobalConfig(Config.java:142) at com.isomorphic.base.Config.getGlobal(Config.java:97) at com.isomorphic.base.Config.getGlobal(Config.java:106) at com.isomorphic.servlet.BaseFilter.init(BaseFilter.java:58) at com.isomorphic.servlet.CompressionFilter.init(CompressionFilter.java:149) at com.google.inject.servlet.FilterDefinition.init(FilterDefinition.java:81) at com.google.inject.servlet.ManagedFilterPipeline.initPipeline(ManagedFilterPipeline.java:102) at com.google.inject.servlet.GuiceFilter.init(GuiceFilter.java:168) at com.caucho.server.dispatch.FilterManager.createFilter(FilterManager.java:144) at com.caucho.server.dispatch.FilterMapper.buildDispatchChain(FilterMapper.java:166) at com.caucho.server.webapp.WebApp.buildInvocation(WebApp.java:2069) at com.caucho.server.webapp.WebAppContainer.buildInvocation(WebAppContainer.java:716) at com.caucho.server.host.Host.buildInvocation(Host.java:489) at com.caucho.server.host.HostContainer.buildInvocation(HostContainer.java:314) at com.caucho.server.cluster.Server.buildInvocation(Server.java:1013) at com.caucho.server.dispatch.DispatchServer.buildInvocation(DispatchServer.java:209) at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:265) at com.caucho.server.port.TcpConnection.run(TcpConnection.java:682) at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:743) at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:662) at java.lang.Thread.run(Thread.java:745)
Checked all jars and everything looks OK. I replaced the isomorphic-core-rpc-5.1-p20151213.jar jar with the one from previous version ( 5.0-p20150412) and the project is working. We suspect there is a problem with this jar. Can you please check if there are any problems with this jar?
javax.servlet.ServletException: java.lang.NoClassDefFoundError: Could not initialize class com.isomorphic.util.DataTools at com.caucho.server.dispatch.FilterManager.createFilter(FilterManager.java:174) at com.caucho.server.dispatch.FilterMapper.buildDispatchChain(FilterMapper.java:166) at com.caucho.server.webapp.WebApp.buildInvocation(WebApp.java:2069) at com.caucho.server.webapp.WebAppContainer.buildInvocation(WebAppContainer.java:716) at com.caucho.server.host.Host.buildInvocation(Host.java:489) at com.caucho.server.host.HostContainer.buildInvocation(HostContainer.java:314) at com.caucho.server.cluster.Server.buildInvocation(Server.java:1013) at com.caucho.server.dispatch.DispatchServer.buildInvocation(DispatchServer.java:209) at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:265) at com.caucho.server.port.TcpConnection.run(TcpConnection.java:682) at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:743) at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:662) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.isomorphic.util.DataTools at com.isomorphic.base.ConfigLoader.loadAndMerge(ConfigLoader.java:111) at com.isomorphic.base.ConfigLoader.loadAndMerge(ConfigLoader.java:70) at com.isomorphic.base.ConfigLoader.loadConfig(ConfigLoader.java:187) at com.isomorphic.base.Config.initGlobalConfig(Config.java:150) at com.isomorphic.base.Config.initGlobalConfig(Config.java:142) at com.isomorphic.base.Config.getGlobal(Config.java:97) at com.isomorphic.base.Config.getGlobal(Config.java:106) at com.isomorphic.servlet.BaseFilter.init(BaseFilter.java:58) at com.isomorphic.servlet.CompressionFilter.init(CompressionFilter.java:149) at com.google.inject.servlet.FilterDefinition.init(FilterDefinition.java:81) at com.google.inject.servlet.ManagedFilterPipeline.initPipeline(ManagedFilterPipeline.java:102) at com.google.inject.servlet.GuiceFilter.init(GuiceFilter.java:168) at com.caucho.server.dispatch.FilterManager.createFilter(FilterManager.java:144) at com.caucho.server.dispatch.FilterMapper.buildDispatchChain(FilterMapper.java:166) at com.caucho.server.webapp.WebApp.buildInvocation(WebApp.java:2069) at com.caucho.server.webapp.WebAppContainer.buildInvocation(WebAppContainer.java:716) at com.caucho.server.host.Host.buildInvocation(Host.java:489) at com.caucho.server.host.HostContainer.buildInvocation(HostContainer.java:314) at com.caucho.server.cluster.Server.buildInvocation(Server.java:1013) at com.caucho.server.dispatch.DispatchServer.buildInvocation(DispatchServer.java:209) at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:265) at com.caucho.server.port.TcpConnection.run(TcpConnection.java:682) at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:743) at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:662) at java.lang.Thread.run(Thread.java:745)
Checked all jars and everything looks OK. I replaced the isomorphic-core-rpc-5.1-p20151213.jar jar with the one from previous version ( 5.0-p20150412) and the project is working. We suspect there is a problem with this jar. Can you please check if there are any problems with this jar?
Comment