Uploaded image for project: 'FUSE Mediation Router'
  1. FUSE Mediation Router
  2. MR-362

OSGi - camel-itest-osgi - XsltRouteTest fails due SUN class not found

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2.5.0-fuse-00-00
    • Component/s: None
    • Labels:
      None

      Description

      In tests/camel-itest-osgi this test fails on both JDK 1.5 and 1.6

      -------------------------------------------------------------------------------
      Test set: org.apache.camel.itest.osgi.spring.xslt.XsltRouteTest
      -------------------------------------------------------------------------------
      Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 10.754 sec <<< FAILURE!
      testXsltRoute [equinox](org.apache.camel.itest.osgi.spring.xslt.XsltRouteTest)  Time elapsed: 5.178 sec  <<< ERROR!
      org.apache.camel.CamelExecutionException: Exception occurred during execution on the exchange: Exchange[Message: <hello>world!</hello>]
      	at org.apache.camel.util.ObjectHelper.wrapCamelExecutionException(ObjectHelper.java:1156)
      	at org.apache.camel.impl.DefaultExchange.setException(DefaultExchange.java:262)
      	at org.apache.camel.impl.converter.AsyncProcessorTypeConverter$ProcessorToAsyncProcessorBridge.process(AsyncProcessorTypeConverter.java:53)
      	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)
      	at org.apache.camel.processor.SendProcessor$2.doInAsyncProducer(SendProcessor.java:104)
      	at org.apache.camel.impl.ProducerCache.doInAsyncProducer(ProducerCache.java:272)
      	at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:98)
      	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)
      	at org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)
      	at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)
      	at org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:99)
      	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)
      	at org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:297)
      	at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:206)
      	at org.apache.camel.processor.DefaultChannel.process(DefaultChannel.java:256)
      	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)
      	at org.apache.camel.processor.Pipeline.process(Pipeline.java:143)
      	at org.apache.camel.processor.Pipeline.process(Pipeline.java:78)
      	at org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:113)
      	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)
      	at org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)
      	at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)
      	at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:68)
      	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)
      	at org.apache.camel.component.direct.DirectProducer.process(DirectProducer.java:61)
      	at org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:99)
      	at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:91)
      	at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:85)
      	at org.apache.camel.processor.UnitOfWorkProducer.process(UnitOfWorkProducer.java:63)
      	at org.apache.camel.impl.ProducerCache$1.doInProducer(ProducerCache.java:333)
      	at org.apache.camel.impl.ProducerCache$1.doInProducer(ProducerCache.java:304)
      	at org.apache.camel.impl.ProducerCache.doInProducer(ProducerCache.java:208)
      	at org.apache.camel.impl.ProducerCache.sendExchange(ProducerCache.java:303)
      	at org.apache.camel.impl.ProducerCache.send(ProducerCache.java:154)
      	at org.apache.camel.impl.DefaultProducerTemplate.send(DefaultProducerTemplate.java:110)
      	at org.apache.camel.impl.DefaultProducerTemplate.sendBody(DefaultProducerTemplate.java:123)
      	at org.apache.camel.impl.DefaultProducerTemplate.sendBody(DefaultProducerTemplate.java:130)
      	at org.apache.camel.itest.osgi.spring.xslt.XsltRouteTest.testXsltRoute(XsltRouteTest.java:35)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at org.ops4j.pax.exam.junit.extender.impl.internal.CallableTestMethodImpl.injectContextAndInvoke(CallableTestMethodImpl.java:143)
      	at org.ops4j.pax.exam.junit.extender.impl.internal.CallableTestMethodImpl.call(CallableTestMethodImpl.java:105)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at org.ops4j.pax.exam.rbc.internal.RemoteBundleContextImpl.remoteCall(RemoteBundleContextImpl.java:80)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
      	at sun.rmi.transport.Transport$1.run(Transport.java:159)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
      	at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
      	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
      	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      	at java.lang.Thread.run(Thread.java:637)
      Caused by: java.lang.NoClassDefFoundError: com/sun/org/apache/xml/internal/dtm/DTMAxisIterator
      	at java.lang.Class.getDeclaredConstructors0(Native Method)
      	at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
      	at java.lang.Class.getConstructor0(Class.java:2699)
      	at java.lang.Class.newInstance0(Class.java:326)
      	at java.lang.Class.newInstance(Class.java:308)
      	at com.sun.org.apache.xalan.internal.xsltc.trax.TemplatesImpl.getTransletInstance(TemplatesImpl.java:353)
      	at com.sun.org.apache.xalan.internal.xsltc.trax.TemplatesImpl.newTransformer(TemplatesImpl.java:382)
      	at org.apache.camel.builder.xml.XsltBuilder.process(XsltBuilder.java:77)
      	at org.apache.camel.impl.ProcessorEndpoint.onExchange(ProcessorEndpoint.java:102)
      	at org.apache.camel.impl.ProcessorEndpoint$1.process(ProcessorEndpoint.java:72)
      	at org.apache.camel.impl.converter.AsyncProcessorTypeConverter$ProcessorToAsyncProcessorBridge.process(AsyncProcessorTypeConverter.java:50)
      	... 60 more
      Caused by: java.lang.ClassNotFoundException: com.sun.org.apache.xml.internal.dtm.DTMAxisIterator
      	at java.lang.ClassLoader.findClass(ClassLoader.java:359)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
      	... 71 more
      
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                willem.jiang Willem Jiang
                Reporter:
                davsclaus Claus Ibsen
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: