Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7901503

Exception details are swallowed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • TBD_Major
    • None
    • tools
    • None

      I use -ancf option few times in the command line. Apparently one of my filters has a problem, but all I get is this:
      Exception in thread "main" java.lang.Error: Cannot create an instance of AncFilter: java.lang.NullPointerException
      at com.sun.tdk.jcov.RepGen.generateReport(RepGen.java:235)
      at com.sun.tdk.jcov.RepGen.generateReport(RepGen.java:183)
      at com.sun.tdk.jcov.RepGen.generateReport(RepGen.java:168)
      at com.sun.tdk.jcov.RepGen.run(RepGen.java:599)
      at com.sun.tdk.jcov.tools.JCovCMDTool.run(JCovCMDTool.java:159)
      at com.sun.tdk.jcov.RepGen.main(RepGen.java:320)

      Judging by the message an NPE is caught somewhere and swallowed.

            afedorch Alexey Fedorchenko (Inactive)
            shurailine Aleksandre Iline
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: