Jetty
  1. Jetty
  2. JETTY-59

NullPointerException in ServletHandler.getHolderEntry

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Blocker Blocker
    • Resolution: Won't Fix
    • Affects Version/s: 6.0.0beta15
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      Windows XP, Java 1.5.0_06-b05
    • Number of attachments :
      1

      Description

      Used code based on the embedded StaticContentServer. Source code attached. The server starts up okay with following INFO messages:

      :INFO: Logging to STDERR via org.mortbay.log.StdErrLog :INFO: Java API for XML Processing Reference Implementation 1.2.6 :INFO: Started SelectChannelConnector @ 0.0.0.0:8181

      When entering the URL, http://localhost:8181/index.html, into a browser, the following stack dump occurs:

      :WARN: /index.html: java.lang.NullPointerException at org.mortbay.jetty.servlet.ServletHandler.getHolderEntry(ServletHandler.java:218) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:305) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:542) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:119) at org.mortbay.jetty.Server.handle(Server.java:245) at org.mortbay.jetty.HttpConnection.handlerRequest(HttpConnection.java:365) at org.mortbay.jetty.HttpConnection.access$1500(HttpConnection.java:38) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:609) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:486) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:196) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:296) at org.mortbay.jetty.nio.SelectChannelConnector$HttpEndPoint.run(SelectChannelConnector.java:740) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:435) :WARN: /index.html java.lang.NullPointerException at org.mortbay.jetty.servlet.ServletHandler.getHolderEntry(ServletHandler.java:218) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:305) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:542) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:119) at org.mortbay.jetty.Server.handle(Server.java:245) at org.mortbay.jetty.HttpConnection.handlerRequest(HttpConnection.java:365) at org.mortbay.jetty.HttpConnection.access$1500(HttpConnection.java:38) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:609) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:486) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:196) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:296) at org.mortbay.jetty.nio.SelectChannelConnector$HttpEndPoint.run(SelectChannelConnector.java:740) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:435)

      1. WebServer.java
        2 kB
        George Van Treeck

        Activity

        Jan Bartel made changes -
        Field Original Value New Value
        Resolution Won't Fix [ 2 ]
        Status Open [ 1 ] Closed [ 6 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            George Van Treeck
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: