[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opennms-devel
Subject:    Re: [opennms-devel] Alarm view showing blank screen and NullPointerException in web.log
From:       Seth Leger <seth () opennms ! org>
Date:       2015-10-27 13:04:41
Message-ID: 562F7669.8090605 () opennms ! org
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Is it possible that you are sending an event with invalid information?
For instance, is the node ID set to an ID that is not in the database or
something similar to that?

-- Seth


On 10/24/15 5:43 AM, Thomas Bahlo wrote:
> Hi,
> 
> we are running opennms 1.16 on various raspi 2 boxes. One installation
> that worked correctly for about one week is not showing alarm details
> anymore.
> Cleaning alarms and events did not help, but the processing including
> notifications is working correctly.
> I can see alarms in the table but are unable to view alarm details in
> the WebUI.
> 
> The web.log file is containing the following errors:
> 
> 2015-10-24 11:21:53,556 WARN  [qtp3239402-796 -
> /opennms/alarm/detail.htm?id=103] o.e.j.s.ServletHandler:
> org.apache.jasper.JasperException: java.lang.NullPointerException
> at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
> ~[org.apache.jasper.glassfish-2.2.2.v201112011158.jar:?]
> at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:492)
> ~[org.apache.jasper.glassfish-2.2.2.v201112011158.jar:?]
> at
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:378)
> ~[org.apache.jasper.glassfish-2.2.2.v201112011158.jar:?]
> at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
> ~[geronimo-servlet_3.0_spec-1.0.jar:1.0]
> at
> org.eclipse.jetty.servlet.JspPropertyGroupServlet.service(JspPropertyGroupServlet.java:127)
>  ~[jetty-servlet-8.1.10.v20130312.jar:8.1.10.v20130312]
> at
> org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:669)
> ~[jetty-servlet-8.1.10.v20130312.jar:8.1.10.v20130312]
> at
> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:457)
> ~[jetty-servlet-8.1.10.v20130312.jar:8.1.10.v20130312]
> at
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
> ~[jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
> at
> org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:575)
> ~[jetty-security-8.1.10.v20130312.jar:8.1.10.v20130312]
> at
> org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
> ~[jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
> at
> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1075)
> ~[jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
> at
> org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:384)
> ~[jetty-servlet-8.1.10.v20130312.jar:8.1.10.v20130312]
> at
> org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
> ~[jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
> at
> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1009)
> ~[jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
> at
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
> ~[jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
> at
> org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:276)
> ~[jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
> at
> org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:103)
> ~[jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
> at
> org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:209)
>  ~[org.apache.servicemix.bundles.spring-webmvc-4.0.5.RELEASE_1.jar:?]
> ……
> 2015-10-24 11:21:53,721 WARN  [qtp3239402-796 -
> /opennms/alarm/detail.htm?id=103] o.e.j.s.ServletHandler:
> /opennms/alarm/detail.htm
> java.lang.NullPointerException
> at
> org.apache.jsp.WEB_002dINF.jsp.alarm.detail_jsp._jspService(detail_jsp.java:366)
> ~[?:?]
> at
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
> ~[org.apache.jasper.glassfish-2.2.2.v201112011158.jar:?]
> at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
> ~[geronimo-servlet_3.0_spec-1.0.jar:1.0]
> at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:403)
> ~[org.apache.jasper.glassfish-2.2.2.v201112011158.jar:?]
> at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:492)
> ~[org.apache.jasper.glassfish-2.2.2.v201112011158.jar:?]
> at
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:378)
> ~[org.apache.jasper.glassfish-2.2.2.v201112011158.jar:?]
> at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
> ~[geronimo-servlet_3.0_spec-1.0.jar:1.0]
> at
> org.eclipse.jetty.servlet.JspPropertyGroupServlet.service(JspPropertyGroupServlet.java:127)
>  ~[jetty-servlet-8.1.10.v20130312.jar:8.1.10.v20130312]
> at
> org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:669)
> ~[jetty-servlet-8.1.10.v20130312.jar:8.1.10.v20130312]
> at
> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:457)
> ~[jetty-servlet-8.1.10.v20130312.jar:8.1.10.v20130312]
> at
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
> ~[jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
> at
> org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:575)
> ~[jetty-security-8.1.10.v20130312.jar:8.1.10.v20130312]
> at
> org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
> ~[jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
> at
> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1075)
> ~[jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
> at
> org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:384)
> ~[jetty-servlet-8.1.10.v20130312.jar:8.1.10.v20130312]
> at
> org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
> ~[jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
> at
> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1009)
> ~[jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
> at
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
> ~[jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
> at
> org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:276)
> ~[jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
> at
> org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:103)
> ~[jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
> at
> org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:209)
>  ~[org.apache.servicemix.bundles.spring-webmvc-4.0.5.RELEASE_1.jar:?]
> 
> 
> 
> 
> Kind regards,
> 
> Thomas
> 
> 
> 
> DIBACO MISSION - efficient Business Service Management
> ______________________________________________________________
> 
> DIBACO AG                               Thomas Bahlo
> Liebknechtstrasse 33               D-70565 Stuttgart
> Fon   : +49 (711) 7811-700
> Fax   : +49 (711) 7811-701
> 
> 
> Project Office:
> Fichtenstr. 31                            D-89275 Elchingen
> Fon   : +49 (7308) 929311
> Fax   : +49 (7308) 929312
> Mobil : +49 (160)  97930676
> 
> mailto:thomas.bahlo@dibaco.de      www.dibaco.de <http://www.dibaco.de/>
> 
> Vorstand: Thomas Bahlo
> Aufsichtsratsvorsitzender: Dr. jur. Hans-Martin Käser
> Amtsgericht Stuttgart: HRB 23245
> 
> The information contained in this message is confidential and
> may be legally privileged. The message is intended solely for
> the addressee(s). If you are not the intended recipient, you
> are hereby notified that any use, dissemination, or reproduction
> is strictly prohibited and may be unlawful. If you are not the
> intended recipient, please contact the sender by return e-mail
> and destroy all copies of the original message.
> ______________________________________________________________
> 
> 
> 
> ------------------------------------------------------------------------------
> 
> 
> _______________________________________________
> Please read the OpenNMS Mailing List FAQ:
> http://www.opennms.org/index.php/Mailing_List_FAQ
> 
> opennms-devel mailing list
> 
> To *unsubscribe* or change your subscription options, see the bottom of this page:
> https://lists.sourceforge.net/lists/listinfo/opennms-devel


[Attachment #5 (text/html)]

<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Is it possible that you are sending an
      event with invalid information? For instance, is the node ID set
      to an ID that is not in the database or something similar to that?<br>
      <br>
      -- Seth<br>
      <br>
      <br>
      On 10/24/15 5:43 AM, Thomas Bahlo wrote:<br>
    </div>
    <blockquote
      cite="mid:2E1E0CF2-E2C7-4760-836F-EF9A721ACC07@dibaco.de"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <div class="">Hi,</div>
      <div class=""><br class="">
      </div>
      <div class="">we are running opennms 1.16 on various raspi 2
        boxes. One installation that worked correctly for about one week
        is not showing alarm details anymore.</div>
      <div class="">Cleaning alarms and events did not help, but the
        processing including notifications is working correctly.</div>
      <div class="">I can see alarms in the table but are unable to view
        alarm details in the WebUI.</div>
      <div class=""><br class="">
      </div>
      <div class="">The web.log file is containing the following errors:</div>
      <div class=""><br class="">
      </div>
      <div class="">
        <div class="">2015-10-24 11:21:53,556 WARN  [qtp3239402-796 -
          /opennms/alarm/detail.htm?id=103] o.e.j.s.ServletHandler:</div>
        <div class="">org.apache.jasper.JasperException:
          java.lang.NullPointerException</div>
        <div class="">        at
          org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
  ~[org.apache.jasper.glassfish-2.2.2.v201112011158.jar:?]</div>
        <div class="">        at
          org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:492)
          ~[org.apache.jasper.glassfish-2.2.2.v201112011158.jar:?]</div>
        <div class="">        at
          org.apache.jasper.servlet.JspServlet.service(JspServlet.java:378)
          ~[org.apache.jasper.glassfish-2.2.2.v201112011158.jar:?]</div>
        <div class="">        at
          javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
          ~[geronimo-servlet_3.0_spec-1.0.jar:1.0]</div>
        <div class="">        at
          org.eclipse.jetty.servlet.JspPropertyGroupServlet.service(JspPropertyGroupServlet.java:127)
  ~[jetty-servlet-8.1.10.v20130312.jar:8.1.10.v20130312]</div>
        <div class="">        at
          org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:669)
          ~[jetty-servlet-8.1.10.v20130312.jar:8.1.10.v20130312]</div>
        <div class="">        at
          org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:457)
          ~[jetty-servlet-8.1.10.v20130312.jar:8.1.10.v20130312]</div>
        <div class="">        at
          org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
  ~[jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]</div>
        <div class="">        at
          org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:575)
          ~[jetty-security-8.1.10.v20130312.jar:8.1.10.v20130312]</div>
        <div class="">        at
          org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
  ~[jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]</div>
        <div class="">        at
          org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1075)
  ~[jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]</div>
        <div class="">        at
          org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:384)
          ~[jetty-servlet-8.1.10.v20130312.jar:8.1.10.v20130312]</div>
        <div class="">        at
          org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
  ~[jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]</div>
        <div class="">        at
          org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1009)
  ~[jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]</div>
        <div class="">        at
          org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
  ~[jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]</div>
        <div class="">        at
          org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:276)
          ~[jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]</div>
        <div class="">        at
          org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:103)
          ~[jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]</div>
        <div class="">        at
          org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:209)
 ~[org.apache.servicemix.bundles.spring-webmvc-4.0.5.RELEASE_1.jar:?]</div>
      </div>
      <div class="">……</div>
      <div class="">
        <div class="">2015-10-24 11:21:53,721 WARN  [qtp3239402-796 -
          /opennms/alarm/detail.htm?id=103] o.e.j.s.ServletHandler:
          /opennms/alarm/detail.htm</div>
        <div class="">java.lang.NullPointerException</div>
        <div class="">        at
          org.apache.jsp.WEB_002dINF.jsp.alarm.detail_jsp._jspService(detail_jsp.java:366)
  ~[?:?]</div>
        <div class="">        at
          org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
          ~[org.apache.jasper.glassfish-2.2.2.v201112011158.jar:?]</div>
        <div class="">        at
          javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
          ~[geronimo-servlet_3.0_spec-1.0.jar:1.0]</div>
        <div class="">        at
          org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:403)
  ~[org.apache.jasper.glassfish-2.2.2.v201112011158.jar:?]</div>
        <div class="">        at
          org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:492)
          ~[org.apache.jasper.glassfish-2.2.2.v201112011158.jar:?]</div>
        <div class="">        at
          org.apache.jasper.servlet.JspServlet.service(JspServlet.java:378)
          ~[org.apache.jasper.glassfish-2.2.2.v201112011158.jar:?]</div>
        <div class="">        at
          javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
          ~[geronimo-servlet_3.0_spec-1.0.jar:1.0]</div>
        <div class="">        at
          org.eclipse.jetty.servlet.JspPropertyGroupServlet.service(JspPropertyGroupServlet.java:127)
  ~[jetty-servlet-8.1.10.v20130312.jar:8.1.10.v20130312]</div>
        <div class="">        at
          org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:669)
          ~[jetty-servlet-8.1.10.v20130312.jar:8.1.10.v20130312]</div>
        <div class="">        at
          org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:457)
          ~[jetty-servlet-8.1.10.v20130312.jar:8.1.10.v20130312]</div>
        <div class="">        at
          org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
  ~[jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]</div>
        <div class="">        at
          org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:575)
          ~[jetty-security-8.1.10.v20130312.jar:8.1.10.v20130312]</div>
        <div class="">        at
          org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
  ~[jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]</div>
        <div class="">        at
          org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1075)
  ~[jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]</div>
        <div class="">        at
          org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:384)
          ~[jetty-servlet-8.1.10.v20130312.jar:8.1.10.v20130312]</div>
        <div class="">        at
          org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
  ~[jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]</div>
        <div class="">        at
          org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1009)
  ~[jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]</div>
        <div class="">        at
          org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
  ~[jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]</div>
        <div class="">        at
          org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:276)
          ~[jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]</div>
        <div class="">        at
          org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:103)
          ~[jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]</div>
        <div class="">        at
          org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:209)
 ~[org.apache.servicemix.bundles.spring-webmvc-4.0.5.RELEASE_1.jar:?]</div>
      </div>
      <div class=""><br class="">
      </div>
      <div class=""><br class="">
      </div>
      <div class=""><br class="">
      </div>
      <div class=""><br class="">
      </div>
      <div class="">Kind regards,</div>
      <div class=""><br class="">
      </div>
      <div class="">Thomas</div>
      <div class=""><br class="">
      </div>
      <div class=""><br class="">
      </div>
      <br class="">
      <div apple-content-edited="true" class="">
        DIBACO MISSION - efficient Business Service Management<br
          class="">
        ______________________________________________________________<br
          class="">
        <br class="">
        DIBACO AG                               Thomas Bahlo<br class="">
        Liebknechtstrasse 33               D-70565 Stuttgart<br class="">
        Fon   : +49 (711) 7811-700<br class="">
        Fax   : +49 (711) 7811-701<br class="">
        <br class="">
        <br class="">
        Project Office:<br class="">
        Fichtenstr. 31                            D-89275 Elchingen<br
          class="">
        Fon   : +49 (7308) 929311<br class="">
        Fax   : +49 (7308) 929312<br class="">
        Mobil : +49 (160)  97930676<br class="">
        <br class="">
        <a moz-do-not-send="true" href="mailto:thomas.bahlo@dibaco.de"
          class="">mailto:thomas.bahlo@dibaco.de</a>      <a
          moz-do-not-send="true" href="http://www.dibaco.de/" class=""><a \
class="moz-txt-link-abbreviated" href="http://www.dibaco.de">www.dibaco.de</a></a><br \
class="">  <br class="">
        Vorstand: Thomas Bahlo<br class="">
        Aufsichtsratsvorsitzender: Dr. jur. Hans-Martin Käser<br
          class="">
        Amtsgericht Stuttgart: HRB 23245<br class="">
        <br class="">
        The information contained in this message is confidential and<br
          class="">
        may be legally privileged. The message is intended solely for<br
          class="">
        the addressee(s). If you are not the intended recipient, you<br
          class="">
        are hereby notified that any use, dissemination, or reproduction<br
          class="">
        is strictly prohibited and may be unlawful. If you are not the<br
          class="">
        intended recipient, please contact the sender by return e-mail<br
          class="">
        and destroy all copies of the original message.<br class="">
        ______________________________________________________________
      </div>
      <br class="">
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">------------------------------------------------------------------------------
 </pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Please read the OpenNMS Mailing List FAQ:
<a class="moz-txt-link-freetext" \
href="http://www.opennms.org/index.php/Mailing_List_FAQ">http://www.opennms.org/index.php/Mailing_List_FAQ</a>


opennms-devel mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
<a class="moz-txt-link-freetext" \
href="https://lists.sourceforge.net/lists/listinfo/opennms-devel">https://lists.sourceforge.net/lists/listinfo/opennms-devel</a></pre>
  </blockquote>
    <br>
  </body>
</html>



------------------------------------------------------------------------------


_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-devel mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic