Sporadic NoClassDefFound initing a DTO: RestPackage.Literals
This one is coming and going with absolutely no predictability, including coming and going (with a restart) on the same machine.
It occurs in generated DTO code, on a RTC 2.0 RC4 base. All I can think of is some strange OSGi related plug-in dependency loading problem but that's a stretch.
Here's the exception stack. Any insight or experiments to run would be greatly appreciated. Some substitution done in "<>".
It occurs in generated DTO code, on a RTC 2.0 RC4 base. All I can think of is some strange OSGi related plug-in dependency loading problem but that's a stretch.
Here's the exception stack. Any insight or experiments to run would be greatly appreciated. Some substitution done in "<>".
com.ibm.ws.webcontainer.servlet.ServletWrapper service SRVE0068E: Uncaught exception created in one of the service methods of the servlet equinoxbridgeservlet in application jazz_war. Exception created : java.lang.NoClassDefFoundError: <package>.common.web.rest.dto.RestPackage$Literals (initialization failure)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:140)
at <package>.common.web.rest.dto.impl.<name>DTOImpl.eStaticClass(<name>DTOImpl.java:392)
at org.eclipse.emf.ecore.impl.EObjectImpl.eClass(EObjectImpl.java:224)
at com.ibm.team.repository.common.internal.marshal.impl.EObjectJSONMarshaller.marshalObjectToJSON(EObjectJSONMarshaller.java:125)
at com.ibm.team.repository.common.internal.marshal.impl.EObjectJSONMarshaller.marshalSingleValuedContainmentReference(EObjectJSONMarshaller.java:373)
at com.ibm.team.repository.common.internal.marshal.impl.EObjectJSONMarshaller.marshalContainmentReferences(EObjectJSONMarshaller.java:355)
at com.ibm.team.repository.common.internal.marshal.impl.EObjectJSONMarshaller.marshalReferences(EObjectJSONMarshaller.java:250)
at com.ibm.team.repository.common.internal.marshal.impl.EObjectJSONMarshaller.marshalObjectToJSON(EObjectJSONMarshaller.java:142)
at com.ibm.team.repository.common.internal.marshal.impl.EObjectJSONMarshaller.marshalSingleValuedContainmentReference(EObjectJSONMarshaller.java:373)
at com.ibm.team.repository.common.internal.marshal.impl.EObjectJSONMarshaller.marshalContainmentReferences(EObjectJSONMarshaller.java:355)
at com.ibm.team.repository.common.internal.marshal.impl.EObjectJSONMarshaller.marshalReferences(EObjectJSONMarshaller.java:250)
at com.ibm.team.repository.common.internal.marshal.impl.EObjectJSONMarshaller.marshalObjectToJSON(EObjectJSONMarshaller.java:142)
at com.ibm.team.repository.common.internal.marshal.impl.EObjectJSONMarshaller.marshalSingleValuedContainmentReference(EObjectJSONMarshaller.java:373)
at com.ibm.team.repository.common.internal.marshal.impl.EObjectJSONMarshaller.marshalContainmentReferences(EObjectJSONMarshaller.java:355)
at com.ibm.team.repository.common.internal.marshal.impl.EObjectJSONMarshaller.marshalReferences(EObjectJSONMarshaller.java:250)
at com.ibm.team.repository.common.internal.marshal.impl.EObjectJSONMarshaller.marshalObjectToJSON(EObjectJSONMarshaller.java:142)
at com.ibm.team.repository.common.internal.marshal.impl.EObjectJSONMarshaller.marshalSingleValuedContainmentReference(EObjectJSONMarshaller.java:373)
at com.ibm.team.repository.common.internal.marshal.impl.EObjectJSONMarshaller.marshalContainmentReferences(EObjectJSONMarshaller.java:355)
at com.ibm.team.repository.common.internal.marshal.impl.EObjectJSONMarshaller.marshalReferences(EObjectJSONMarshaller.java:250)
at com.ibm.team.repository.common.internal.marshal.impl.EObjectJSONMarshaller.marshalObjectToJSON(EObjectJSONMarshaller.java:142)
at com.ibm.team.repository.common.internal.marshal.impl.EObjectJSONMarshaller.marshalObject(EObjectJSONMarshaller.java:93)
at com.ibm.team.repository.common.internal.marshal.impl.EObjectJSONMarshaller.marshalObjectToOutputStream(EObjectJSONMarshaller.java:88)
at com.ibm.team.repository.common.internal.marshal.impl.WebServicesMarshaller.marshalObjectToOutputStream(WebServicesMarshaller.java:325)
at com.ibm.team.repository.common.internal.marshal.impl.WebServicesMarshaller.marshalServiceResponse(WebServicesMarshaller.java:226)
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.doModelledRestService(AbstractTeamServerServlet.java:581)
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest(AbstractTeamServerServlet.java:1655)
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.service(AbstractTeamServerServlet.java:1471)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:75)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
at org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:121)
at com.ibm.team.repository.server.servletbridge.JazzServlet.service(JazzServlet.java:54)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1455)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:793)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:444)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:175)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3622)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:276)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:927)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1566)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:175)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:455)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:384)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83)
at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1772)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1527)