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

jtreg fails with NPE while scan directory

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • jt4.5
    • jt4.5, jtreg4.1
    • tools
    • b20
    • generic
    • generic
    • Verified

      jtreg could fails unexpectedly while scanning directory:
      here is log :
      Passed: java/lang/management/ThreadMXBean/ThreadStateTest.java
      Passed: java/lang/management/ThreadMXBean/ThreadUserTime.java
      Test results: passed: 65
      Error: Unexpected exception occurred! java.lang.NullPointerException
      java.lang.NullPointerException
      at com.sun.javatest.finder.TagTestFinder.scanDirectory(TagTestFinder.java:190)
      at com.sun.javatest.finder.TagTestFinder.scan(TagTestFinder.java:96)
      at com.sun.javatest.TestFinder.read(TestFinder.java:439)
      at com.sun.javatest.TRT_TreeNode.processFile(TRT_TreeNode.java:1082)
      at com.sun.javatest.TRT_TreeNode.scanIfNeeded(TRT_TreeNode.java:647)
      at com.sun.javatest.TRT_TreeNode.getChildCount(TRT_TreeNode.java:124)
      at com.sun.javatest.TRT_Iterator$PseudoFrame.nextIndex(TRT_Iterator.java:904)
      at com.sun.javatest.TRT_Iterator.findNext(TRT_Iterator.java:599)
      at com.sun.javatest.TRT_Iterator.nextElement(TRT_Iterator.java:179)
      at com.sun.javatest.TRT_Iterator.next(TRT_Iterator.java:200)
      at com.sun.javatest.report.ResultSection.<init>(ResultSection.java:125)
      at com.sun.javatest.report.HTMLReport.write(HTMLReport.java:71)
      at com.sun.javatest.report.Report.writeReportHTML(Report.java:710)
      at com.sun.javatest.report.Report.writeReports(Report.java:138)
      at com.sun.javatest.report.Report.writeReport(Report.java:127)
      at com.sun.javatest.regtest.RegressionReporter.report(RegressionReporter.java:96)
      at com.sun.javatest.regtest.Main.batchHarness(Main.java:1956)
      at com.sun.javatest.regtest.Main.run(Main.java:1114)
      at com.sun.javatest.regtest.Main.run(Main.java:954)
      at com.sun.javatest.regtest.Main.main(Main.java:894)

      real 7m45.220s
      user 15m1.436s
      sys 0m43.007s
      INFO Harness failed with exit code 5
      DEBUG Run.sh failed with exit code 5

            bkurotsu Brian Kurotsuchi (Inactive)
            lmesnik Leonid Mesnik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: