Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-5275

Data Export throws an exception when trying to process a '-nan' value.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.10.0
    • Fix Version/s: 1.10.1
    • Component/s: Web UI - Reporting
    • Security Level: Default (Default Security Scheme)
    • Labels:

      Description

      When trying to export data through the WebUI using a command like the following:

      curl "http://admin:admin@localhost:8980/opennms/summary/results.htm?filterRule=nodelabel='myserver'&startTime=1332793503&endTime=1332793803&attributeSieve=(ifInOctets%7CifOutOctets)"

      An exception like the following is thrown:

      2012-03-27 13:49:50,398 WARN [qtp535999362-4949186] ServletHandler: /opennms/summary/results.htm
      org.springframework.dao.DataAccessResourceFailureException: Value of line 1 of output from RRD is not a valid floating point number: '-nan'
      at org.opennms.netmgt.dao.support.DefaultRrdDao.getPrintValues(DefaultRrdDao.java:129)
      at org.opennms.web.svclayer.support.DefaultRrdSummaryService$1.getValues(DefaultRrdSummaryService.java:376)
      at org.opennms.web.svclayer.support.DefaultRrdSummaryService$1.addAttributes(DefaultRrdSummaryService.java:362)
      at org.opennms.web.svclayer.support.DefaultRrdSummaryService$1.addResource(DefaultRrdSummaryService.java:351)
      at org.opennms.web.svclayer.support.DefaultRrdSummaryService$1.addResource(DefaultRrdSummaryService.java:344)
      at org.opennms.web.svclayer.support.DefaultRrdSummaryService$1.visitNode(DefaultRrdSummaryService.java:299)
      at org.opennms.netmgt.dao.support.JdbcFilterDao.walkMatchingNodes(JdbcFilterDao.java:158)
      at org.opennms.web.svclayer.support.DefaultRrdSummaryService.getSummary(DefaultRrdSummaryService.java:284)
      at org.opennms.web.svclayer.support.DefaultRrdSummaryService.getSummary(DefaultRrdSummaryService.java:430)
      at sun.reflect.GeneratedMethodAccessor523.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)

      This is related with support ticket 1169.

        Attachments

          Activity

            People

            • Assignee:
              agalue Alejandro Galue
              Reporter:
              agalue Alejandro Galue
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: