Bug #2474

java.lang.ClassCastException on container startup

Added by Luca Frosini almost 4 years ago. Updated almost 4 years ago.

Status:ClosedStart date:Mar 04, 2016
Priority:ImmediateDue date:Mar 04, 2016
Assignee:Luca Frosini% Done:

100%

Category:distribution
Sprint:zz - Smartgears Improvements & Fixes
Milestones:
Duration: 1

Description

java.lang.ClassCastException: com.sun.org.apache.xerces.internal.dom.ElementNSImpl cannot be cast to org.gcube.smartgears.handlers.Handler
at org.gcube.smartgears.handlers.Pipeline.forward(Pipeline.java:58) ~[common-smartgears-1.2.7-SNAPSHOT.jar:na]
at org.gcube.smartgears.managers.ContainerManager.startHandlers(ContainerManager.java:139) ~[common-smartgears-1.2.7-SNAPSHOT.jar:na]
at org.gcube.smartgears.managers.ContainerManager.start(ContainerManager.java:56) ~[common-smartgears-1.2.7-SNAPSHOT.jar:na]
at org.gcube.smartgears.Bootstrap.startContainerIfItHasntAlreadyFailed(Bootstrap.java:124) [common-smartgears-1.2.7-SNAPSHOT.jar:na]
at org.gcube.smartgears.Bootstrap.onStartup(Bootstrap.java:59) [common-smartgears-1.2.7-SNAPSHOT.jar:na]
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5573) [catalina.jar:7.0.68]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147) [catalina.jar:7.0.68]
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899) [catalina.jar:7.0.68]
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875) [catalina.jar:7.0.68]
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652) [catalina.jar:7.0.68]
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1091) [catalina.jar:7.0.68]
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1980) [catalina.jar:7.0.68]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_80]
at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_80]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_80]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_80]
at java.lang.Thread.run(Thread.java:745) [na:1.7.0_80]


Related issues

Related to gCube - Release #2370: common-smartgears.1.2.6 Released Feb 26, 2016

History

#1 Updated by Luca Frosini almost 4 years ago

  • % Done changed from 0 to 100
  • Status changed from In Progress to Resolved

#2 Updated by Luca Frosini almost 4 years ago

#3 Updated by Luca Frosini almost 4 years ago

Added missing class org.gcube.smartgears.handlers.container.lifecycle.AccountingManager on file
./src/main/resources/META-INF/services/org.gcube.smartgears.handlers.container.ContainerHandler.

The Class AccountingManager was added for flushing issues, tested on conmmon-service-2.0.0 but not correctly backported on common-smartgears.1.2.6 forgetting to update the above mentioned file.

#4 Updated by Luca Frosini almost 4 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF