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

Can't download generated reports, a NPE is thrown by the WebUI

    Details

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

      Description

      The solution for NMS-6580 (revision b136c90c0669b3eb2d04ef0c6940ce68e4bcd9d6) has introduced a new problem.

      The typical use case is not provide the fileName of a report file, it is passing the locatorId, and then use the ReportCatalogDAO to find the report location (which means the fileName is not going to exist).

      The current code assumes that fileName exist, so it throws a NPE when trying to download a report based on the locatorId.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: