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

IAE when user tries to load .jti file while test tree isn't built

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • jt5.0
    • jt4.5
    • tools
    • b04
    • Verified

      For JCK test suite test tree initialization takes ~7-10 sec. If user is fast enough, and tries to load custom .jti configuration while test tree cache isn't ready, user gets IAE.

      This can be reproduced if .jti file contains set of tests selected, e.g:

      jck.tests.tests=api/java_net/URL


      ------------------------------------8<----------------------------------------------------------------
      D:\test4\JCK-runtime-8\lib>java -jar javatest.jar -newdesktop
      Exception in thread "Test Tree Cache Worker" java.lang.IllegalArgumentException: Last path component must be non-null
              at javax.swing.tree.TreePath.<init>(Unknown Source)
              at javax.swing.event.TreeModelEvent.<init>(Unknown Source)
              at com.sun.javatest.exec.TestTreeModel$CacheWorker.finishJob(TestTreeModel.java:1399)
              at com.sun.javatest.exec.TestTreeModel$CacheWorker.run(TestTreeModel.java:1198)
      ------------------------------------8<----------------------------------------------------------------

            bkurotsu Brian Kurotsuchi (Inactive)
            aposledo Alexander Posledov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: