Chukwa
  1. Chukwa
  2. CHUKWA-494

NPE when no time range is specified

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.5.0
    • Component/s: User Interface
    • Labels:
      None

      Description

      on the HICC dashboard I encounter a NPE:

      :WARN: /hicc/jsp/single-series-chart-javascript.jsp
      java.lang.NullPointerException
      at org.apache.hadoop.chukwa.hicc.TimeHandler.init(TimeHandler.java:177)
      at org.apache.hadoop.chukwa.hicc.TimeHandler.<init>(TimeHandler.java:68)
      at org.apache.jsp.jsp.single_002dseries_002dchart_002djavascript_jsp._jspService(org.apache.jsp.jsp.single_002dseries_002dchart_002djavascript_jsp:185)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:93)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:470)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:364)
      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:362)
      at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
      at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
      at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729)
      at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
      at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
      at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
      at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
      at org.mortbay.jetty.Server.handle(Server.java:324)
      at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
      at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:829)
      at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513)
      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.java:395)
      at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)

      1. CHUKWA-494.patch
        1 kB
        Bernd Fondermann

        Activity

        Bernd Fondermann created issue -
        Hide
        Bernd Fondermann added a comment -

        simple fix.

        Show
        Bernd Fondermann added a comment - simple fix.
        Bernd Fondermann made changes -
        Field Original Value New Value
        Attachment CHUKWA-494.patch [ 12449342 ]
        Hide
        Ari Rabkin added a comment -

        Patch looks good. I'll commit it later today, barring objection.

        Show
        Ari Rabkin added a comment - Patch looks good. I'll commit it later today, barring objection.
        Ari Rabkin made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Hide
        Ari Rabkin added a comment -

        I just committed this. Thanks, Bernd.

        Show
        Ari Rabkin added a comment - I just committed this. Thanks, Bernd.
        Ari Rabkin made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Fix Version/s 0.5.0 [ 12315030 ]
        Resolution Fixed [ 1 ]
        Hide
        Hudson added a comment -

        Integrated in Chukwa-trunk #421 (See http://hudson.zones.apache.org/hudson/job/Chukwa-trunk/421/)
        CHUKWA-494. NPE when no time range specified. Contributed by Bernd Fondermann

        Show
        Hudson added a comment - Integrated in Chukwa-trunk #421 (See http://hudson.zones.apache.org/hudson/job/Chukwa-trunk/421/ ) CHUKWA-494 . NPE when no time range specified. Contributed by Bernd Fondermann

          People

          • Assignee:
            Unassigned
            Reporter:
            Bernd Fondermann
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development