JCov fails with NPE

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • TBD_Major
    • Affects Version/s: jcov_3.0
    • Component/s: tools
    • None
    • generic
    • generic

      JCov fails with NPE if the parent directory of the specified instrumentation path is null.
      NPE is thrown in the 91 line. The cause is because productDir.getParentFile() returns null.
      Workaround is to specify absolute path.

      SEVERE : Can not zip product
      Exception details: NPE in com.sun.tdk.jcov.JCov.run(JCov.java:91)

      Steps to reproduce:
      java -jar jcov.jar JCov -pro build -command "<command>"

            Assignee:
            Alexey Fedorchenko (Inactive)
            Reporter:
            Andrei Eremeev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: