Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-12050

[camel-jetty] java.lang.NoClassDefFoundError: org/eclipse/jetty/util/MultiPartInputStreamParser

XMLWordPrintable

    • Fuse 7.5 Sprint 54 - Interim

      java.lang.NoClassDefFoundError: org/eclipse/jetty/util/MultiPartInputStreamParser
      	at org.eclipse.jetty.servlets.MultiPartFilter.doFilter(MultiPartFilter.java:163) ~[!/:9.4.20.v20190813]
      	at org.apache.camel.component.jetty.CamelFilterWrapper.doFilter(CamelFilterWrapper.java:43) ~[!/:2.21.0.fuse-750032]
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1591) ~[?:?]
      	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:542) ~[?:?]
      	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) ~[!/:9.4.20.v20190813]
      	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1307) ~[!/:9.4.20.v20190813]
      	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188) ~[!/:9.4.20.v20190813]
      	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:482) ~[?:?]
      	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186) ~[!/:9.4.20.v20190813]
      	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1204) ~[!/:9.4.20.v20190813]
      	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) ~[!/:9.4.20.v20190813]
      	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) ~[!/:9.4.20.v20190813]
      	at org.eclipse.jetty.server.Server.handle(Server.java:494) ~[!/:9.4.20.v20190813]
      	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:374) [!/:9.4.20.v20190813]
      	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:268) [!/:9.4.20.v20190813]
      	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311) [!/:9.4.20.v20190813]
      	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) [!/:9.4.20.v20190813]
      	at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117) [!/:9.4.20.v20190813]
      	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336) [!/:9.4.20.v20190813]
      	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313) [!/:9.4.20.v20190813]
      	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171) [!/:9.4.20.v20190813]
      	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129) [!/:9.4.20.v20190813]
      	at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:367) [!/:9.4.20.v20190813]
      	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:782) [!/:9.4.20.v20190813]
      	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:918) [!/:9.4.20.v20190813]
      	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_181]
      09:20:48.664 ERROR [RMI TCP Connection(8)-127.0.0.1] Failed: org.jboss.qe.camel.components.jetty.JettyBaseOptionsTest.testSendMultiPartForm
      java.lang.ArrayIndexOutOfBoundsException: 0
      
      karaf@root()> headers org.eclipse.jetty.util
      
      Jetty :: Utilities (276)
      
      .....
      
      Export-Package = 
      	org.eclipse.jetty.util;
      		exclude:=MultiPartInputStreamParser;
      		uses:="org.eclipse.jetty.util.annotation,
      			org.eclipse.jetty.util.component,
      			org.eclipse.jetty.util.log,
      			org.eclipse.jetty.util.resource,
      			org.eclipse.jetty.util.thread";
      

      You can see exclude:=MultiPartInputStreamParser; in jetty-util headers. It seems that jetty-servlet is using it. http://git.eclipse.org/c/jetty/org.eclipse.jetty.project.git/tree/jetty-servlets/src/main/java/org/eclipse/jetty/servlets/MultiPartFilter.java?h=jetty-9.4.x-Feature#n54

            yfang@redhat.com Freeman(Yue) Fang
            jbouska@redhat.com Jan Bouska
            Jan Bouska Jan Bouska
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: