Report Issue - Total Bytes Transferred by Interface

Description

I also noticed that after I upgraded that the report "Total Bytes Transferred by Interface / This Month / Last Month" breaks and shows the following exception trace. I have confirmed this behavior on the OpenNMS demo box as well.

net.sf.jasperreports.engine.JRException
at org.opennms.netmgt.jasper.jrobin.JRobinQueryExecutor.createDatasource(JRobinQueryExecutor.java:30)
at net.sf.jasperreports.engine.fill.JRFillDataset.createQueryDatasource(JRFillDataset.java:684)
at net.sf.jasperreports.engine.fill.JRFillDataset.initDatasource(JRFillDataset.java:605)
at net.sf.jasperreports.engine.fill.JRBaseFiller.setParameters(JRBaseFiller.java:1281)
at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:901)
at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:845)
at net.sf.jasperreports.engine.fill.JRFillSubreport.fillSubreport(JRFillSubreport.java:609)
at net.sf.jasperreports.engine.fill.JRSubreportRunnable.run(JRSubreportRunnable.java:59)
at net.sf.jasperreports.engine.fill.JRThreadSubreportRunner.run(JRThreadSubreportRunner.java:205)
at java.lang.Thread.run(Thread.java:662)

-Eric

Environment

System Details -------------- OpenNMS Version: 1.8.11 Java Version: 1.5.0_18 Sun Microsystems Inc. Java Virtual Machine: 1.5.0_18-b02 Sun Microsystems Inc. Operating System: Linux 2.6.18-194.26.1.el5 amd64 Servlet Container: jetty/6.1.24 (Servlet Spec 2.5) User Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_7; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.205 Safari/534.16

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Donald Desloge April 26, 2011 at 12:32 PM

I tracked the problem down. Turns out the ds for the jrb file was being calculated wrong. In the subreport when we determine if we are using ifHCInOctets or ifInOctets they have different ds's and it was failing at that point.

Just committed to 1.8 12c16bbe4de8b1ba5d679e26ee34154bd9070e99 should make it in nightlies and the next release.

Eric W Abrahamsen April 25, 2011 at 1:52 PM

Sorry, I should have been more specific. If you run the report and change the surveillance group to "Production" it will show this trace. The "Production" surveillance group was the only one that had SNMP data on the demo box, on my test box I can choose any of the groups.

Donald Desloge April 25, 2011 at 1:21 PM

Eric,

I can't seem to reproduce the error that you are getting on the demo box. The TotalBytes Transferred by Interface seems to be working, though there isn't any data for the report.

Fixed

Details

Assignee

Reporter

Labels

Components

Fix versions

Affects versions

Priority

PagerDuty

Created April 19, 2011 at 4:56 PM
Updated January 27, 2017 at 4:21 PM
Resolved April 29, 2011 at 11:38 AM