Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-5528

Nullpointer on CoverageReportTopComponent when running junit tests

    XMLWordPrintableJSON

    Details

      Description

      Running test with coverage threw a NullPointerException:

      SEVERE [global]
      java.lang.NullPointerException
      at org.netbeans.modules.gsf.codecoverage.CoverageReportTopComponent.updateData(CoverageReportTopComponent.java:367)

      Tests are all passed, but coverage is not shown.

      Now using mouse right button on the project -> code coverage -> show report

      results in a NPE with description: NullPointerException: Cannot invoke "org.netbeans.modules.gsf.codecoverage.api.FileCoverageSummary.getLineCount()" because "summary" is null

       

        Attachments

        1. messages.log
          126 kB
          Stefano Peruzzi

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                sciadellacometarossa Stefano Peruzzi
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m