Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-4300

NoSuchMethodError with felix-http running under apache-karaf-2.3.3

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • http-2.2.1
    • http-2.2.2
    • HTTP Service
    • None
    • apache-karaf-2.3.3 (felix-framework-4.0.3)

    Description

      We get the following exception under karaf-2.3.3 when issuing the first HTTP request to felix-http-2.2.1 after starting the bundle:

      java.lang.NoSuchMethodError: org.eclipse.jetty.util.QuotedStringTokenizer.unquoteOnly(Ljava/lang/String;)Ljava/lang/String;
      at org.eclipse.jetty.server.CookieCutter.parseFields(CookieCutter.java:284)[134:org.apache.felix.http.bundle:2.2.1]
      at org.eclipse.jetty.server.CookieCutter.getCookies(CookieCutter.java:64)[134:org.apache.felix.http.bundle:2.2.1]
      at org.eclipse.jetty.server.Request.getCookies(Request.java:499)[134:org.apache.felix.http.bundle:2.2.1]
      at org.eclipse.jetty.server.session.SessionHandler.checkRequestedSessionId(SessionHandler.java:260)[134:org.apache.felix.http.bundle:2.2.1]
      at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:155)[134:org.apache.felix.http.bundle:2.2.1]
      at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:978)[134:org.apache.felix.http.bundle:2.2.1]
      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)[134:org.apache.felix.http.bundle:2.2.1]
      at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255)[134:org.apache.felix.http.bundle:2.2.1]
      at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)[134:org.apache.felix.http.bundle:2.2.1]
      at org.eclipse.jetty.server.Server.handle(Server.java:369)[134:org.apache.felix.http.bundle:2.2.1]
      at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:486)[134:org.apache.felix.http.bundle:2.2.1]
      at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:933)[134:org.apache.felix.http.bundle:2.2.1]
      at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:995)[134:org.apache.felix.http.bundle:2.2.1]
      at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:630)[134:org.apache.felix.http.bundle:2.2.1]
      at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:230)[134:org.apache.felix.http.bundle:2.2.1]
      at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)[134:org.apache.felix.http.bundle:2.2.1]
      at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:606)[134:org.apache.felix.http.bundle:2.2.1]
      at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:46)[134:org.apache.felix.http.bundle:2.2.1]
      at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:603)[134:org.apache.felix.http.bundle:2.2.1]
      at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:538)[134:org.apache.felix.http.bundle:2.2.1]
      at java.lang.Thread.run(Thread.java:724)[:1.7.0_25]

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              wolfgang.glas@ev-i.at Wolfgang Glas
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: