Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Java-SCA-1.6.1
-
None
Description
The testOMElementFileTransfer test in FileTransferMTOMTestCase is failing. It has probably been failing for some considerable time but the failure was masked by TUSCANY-3802. Here's the stack trace:
- org.apache.tuscany.sca.databinding.TransformationException: org.apache.tuscany
.sca.databinding.TransformationException: java.security.PrivilegedActionExceptio
n: java.lang.InstantiationException: org.apache.axiom.om.OMElement
org.apache.axis2.AxisFault: org.apache.tuscany.sca.databinding.TransformationExc
eption: org.apache.tuscany.sca.databinding.TransformationException: java.securit
y.PrivilegedActionException: java.lang.InstantiationException: org.apache.axiom.
om.OMElement
at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
at org.apache.tuscany.sca.binding.ws.axis2.Axis2ServiceInOutSyncMessageR
eceiver.invokeBusinessLogic(Axis2ServiceInOutSyncMessageReceiver.java:100)
at org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.invokeBus
inessLogic(AbstractInOutSyncMessageReceiver.java:42)
at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMe
ssageReceiver.java:100)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:176)
at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostReq
uest(HTTPTransportUtils.java:275)
at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:1
33)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487
)
01-Dec-2010 19:41:42 org.apache.tuscany.sca.binding.ws.axis2.Axis2ServiceInOutSy
ncMessageReceiver invokeBusinessLogic
SEVERE: org.apache.tuscany.sca.databinding.TransformationException: org.apache.t
uscany.sca.databinding.TransformationException: java.security.PrivilegedActionEx
ception: java.lang.InstantiationException: org.apache.axiom.om.OMElement
org.osoa.sca.ServiceRuntimeException: org.apache.tuscany.sca.databinding.Transfo
rmationException: org.apache.tuscany.sca.databinding.TransformationException: ja
va.security.PrivilegedActionException: java.lang.InstantiationException: org.apa
che.axiom.om.OMElement
at org.apache.tuscany.sca.core.invocation.RuntimeWireInvoker.invoke(Runt
imeWireInvoker.java:138)
at org.apache.tuscany.sca.core.invocation.RuntimeWireInvoker.invoke(Runt
imeWireInvoker.java:104)
at org.apache.tuscany.sca.core.invocation.RuntimeWireInvoker.invoke(Runt
imeWireInvoker.java:98)
at org.apache.tuscany.sca.core.assembly.RuntimeWireImpl.invoke(RuntimeWi
reImpl.java:179)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:3
62)
at org.apache.tuscany.sca.binding.ws.axis2.Axis2ServiceProvider.invokeTa
rget(Axis2ServiceProvider.java:766)
at org.apache.tuscany.sca.binding.ws.axis2.Axis2ServiceInOutSyncMessageR
eceiver.invokeBusinessLogic(Axis2ServiceInOutSyncMessageReceiver.java:70)
at org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.invokeBus
inessLogic(AbstractInOutSyncMessageReceiver.java:42)
at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMe
ssageReceiver.java:100)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:176)
at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostReq
uest(HTTPTransportUtils.java:275)
at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:1
33)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487
)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:3
62)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:1
81)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:7
26)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:1
39)
at org.mortbay.jetty.Server.handle(Server.java:324)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:50
5)
at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnectio
n.java:842)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:648)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.ja
va:395)
at org.apache.tuscany.sca.core.work.Work.run(Work.java:63)
at org.apache.tuscany.sca.core.work.ThreadPoolWorkManager$DecoratingWork
.run(ThreadPoolWorkManager.java:215)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:907)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.apache.tuscany.sca.databinding.TransformationException: org.apach
e.tuscany.sca.databinding.TransformationException: java.security.PrivilegedActio
nException: java.lang.InstantiationException: org.apache.axiom.om.OMElement
at org.apache.tuscany.sca.core.databinding.transformers.Output2OutputTra
nsformer.transform(Output2OutputTransformer.java:264)
at org.apache.tuscany.sca.databinding.impl.MediatorImpl.mediate(Mediator
Impl.java:113)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:1
81)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:7
26)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:1
39)
at org.mortbay.jetty.Server.handle(Server.java:324)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:50
5)
at org.apache.tuscany.sca.databinding.impl.MediatorImpl.mediateOutput(Me
diatorImpl.java:405)
at org.apache.tuscany.sca.core.databinding.wire.DataTransformationInterc
eptor.invoke(DataTransformationInterceptor.java:89)
at org.apache.tuscany.sca.core.invocation.RuntimeWireInvoker.invoke(Runt
imeWireInvoker.java:129)
... 29 more
Caused by: org.apache.tuscany.sca.databinding.TransformationException: java.secu
rity.PrivilegedActionException: java.lang.InstantiationException: org.apache.axi
om.om.OMElement
at org.apache.tuscany.sca.databinding.jaxb.JAXBWrapperHandler.create(JAX
BWrapperHandler.java:63)
at org.apache.tuscany.sca.core.databinding.transformers.Output2OutputTra
nsformer.transform(Output2OutputTransformer.java:200)
... 33 more
Caused by: java.security.PrivilegedActionException: java.lang.InstantiationExcep
tion: org.apache.axiom.om.OMElement
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.tuscany.sca.databinding.jaxb.JAXBWrapperHandler.create(JAX
BWrapperHandler.java:57)
... 34 more
Caused by: java.lang.InstantiationException: org.apache.axiom.om.OMElement
at java.lang.Class.newInstance0(Class.java:340)
at java.lang.Class.newInstance(Class.java:308)
at org.apache.tuscany.sca.databinding.jaxb.JAXBWrapperHandler$1.run(JAXB
WrapperHandler.java:59)
... 36 more
01-Dec-2010 19:41:42 org.apache.tuscany.sca.node.impl.NodeImpl stop
INFO: Stopping node: org/apache/tuscany/sca/binding/ws/axis2/itests/mtom/filetra
nsferservice.composite
01-Dec-2010 19:41:42 org.apache.tuscany.sca.http.jetty.JettyServer removeServlet
Mapping
INFO: Removed Servlet mapping: /FileTransferService
01-Dec-2010 19:41:42 org.apache.tuscany.sca.node.impl.NodeImpl <init>
INFO: Creating node: org/apache/tuscany/sca/binding/ws/axis2/itests/mtom/filetra
nsferservice.composite
at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnectio
n.java:842)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:648)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.ja
va:395)
at org.apache.tuscany.sca.core.work.Work.run(Work.java:63)
at org.apache.tuscany.sca.core.work.ThreadPoolWorkManager$DecoratingWork
.run(ThreadPoolWorkManager.java:215)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:907)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.osoa.sca.ServiceRuntimeException: org.apache.tuscany.sca.databind
ing.TransformationException: org.apache.tuscany.sca.databinding.TransformationEx
ception: java.security.PrivilegedActionException: java.lang.InstantiationExcepti
on: org.apache.axiom.om.OMElement
at org.apache.tuscany.sca.core.invocation.RuntimeWireInvoker.invoke(Runt
imeWireInvoker.java:138)
at org.apache.tuscany.sca.core.invocation.RuntimeWireInvoker.invoke(Runt
imeWireInvoker.java:104)
at org.apache.tuscany.sca.core.invocation.RuntimeWireInvoker.invoke(Runt
imeWireInvoker.java:98)
at org.apache.tuscany.sca.core.assembly.RuntimeWireImpl.invoke(RuntimeWi
reImpl.java:179)
at org.apache.tuscany.sca.binding.ws.axis2.Axis2ServiceProvider.invokeTa
rget(Axis2ServiceProvider.java:766)
at org.apache.tuscany.sca.binding.ws.axis2.Axis2ServiceInOutSyncMessageR
eceiver.invokeBusinessLogic(Axis2ServiceInOutSyncMessageReceiver.java:70)
... 24 more
Caused by: org.apache.tuscany.sca.databinding.TransformationException: org.apach
e.tuscany.sca.databinding.TransformationException: java.security.PrivilegedActio
nException: java.lang.InstantiationException: org.apache.axiom.om.OMElement
at org.apache.tuscany.sca.core.databinding.transformers.Output2OutputTra
nsformer.transform(Output2OutputTransformer.java:264)
at org.apache.tuscany.sca.databinding.impl.MediatorImpl.mediate(Mediator
Impl.java:113)
at org.apache.tuscany.sca.databinding.impl.MediatorImpl.mediateOutput(Me
diatorImpl.java:405)
at org.apache.tuscany.sca.core.databinding.wire.DataTransformationInterc
eptor.invoke(DataTransformationInterceptor.java:89)
at org.apache.tuscany.sca.core.invocation.RuntimeWireInvoker.invoke(Runt
imeWireInvoker.java:129)
... 29 more
Caused by: org.apache.tuscany.sca.databinding.TransformationException: java.secu
rity.PrivilegedActionException: java.lang.InstantiationException: org.apache.axi
om.om.OMElement
at org.apache.tuscany.sca.databinding.jaxb.JAXBWrapperHandler.create(JAX
BWrapperHandler.java:63)
01-Dec-2010 19:41:42 org.apache.tuscany.sca.node.impl.NodeImpl configureNode
INFO: Loading contribution: file:/E:/td/sca1x/trunk/modules/binding-ws-axis2/tar
get/test-classes/
at org.apache.tuscany.sca.core.databinding.transformers.Output2OutputTra
nsformer.transform(Output2OutputTransformer.java:200)
... 33 more
Caused by: java.security.PrivilegedActionException: java.lang.InstantiationExcep
tion: org.apache.axiom.om.OMElement
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.tuscany.sca.databinding.jaxb.JAXBWrapperHandler.create(JAX
BWrapperHandler.java:57)
... 34 more
Caused by: java.lang.InstantiationException: org.apache.axiom.om.OMElement
at java.lang.Class.newInstance0(Class.java:340)
at java.lang.Class.newInstance(Class.java:308)
at org.apache.tuscany.sca.databinding.jaxb.JAXBWrapperHandler$1.run(JAXB
WrapperHandler.java:59)
... 36 more