null pointer exception from Admin ? Instrumentation Log Reader jsp page

Description

When I click on Admin ? Instrumentation Log Reader I get an error.

This is a stock install of opennms 1.8.3 (via http://debian.opennms.org package archive) on Ubuntu 10.04.

I'll attach the relevant error from jetty.log.

Environment

Operating System: Linux Platform: PC URL: https://www.example.com/opennms/admin/nodemanagement/instrumentationLogReader.jsp

Acceptance / Success Criteria

None

Attachments

1

Lucidchart Diagrams

Activity

Jeff Gehlbach April 25, 2011 at 3:11 PM

Additional fixes pushed to 1.8 in commit 758b39c0c41d0c6a891ea6f3da53c7d6c736a93d and cherry-picked to master in commit 3d441165408e1f65750e5f918387588f88c84e3c.

Jeff Gehlbach April 25, 2011 at 3:05 PM

Found a couple more NPE sources. Also, we should indicate to the user when we don't have any data and provide a hint on configuring logging so that we'll get some.

Seth Leger February 10, 2011 at 10:36 PM

This was caused by trying to inspect the modification time on a null log entry (probably when the instrumentation log is empty). I've added a check for this case that will prevent this problem. Marking as fixed.

commit e1373eda83c1df87b54e485be6f6bb05d9de94cb

Adam Monsen August 31, 2010 at 2:26 AM

Created an attachment (id=1078)
javax.el.ELException: java.lang.NullPointerException from jetty.log

Adam Monsen August 31, 2010 at 2:25 AM

  •  

    •  

      • has been marked as a duplicate of this bug. ***

Fixed

Details

Assignee

Reporter

Components

Affects versions

Priority

PagerDuty

Created August 31, 2010 at 2:24 AM
Updated January 27, 2017 at 4:25 PM
Resolved April 25, 2011 at 3:11 PM