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

Regression: NPE in TestTreePanel$PanelModel.finishedTest causes Harness to lose track of test result

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3 P3
    • TBD_Major
    • None
    • tools
    • x86
    • windows_xp

      Javatest 4.2_b13.

      - Start the Harness. Open WD.
      - Select and run testA in normal circumstances to get passed (or failed/error) result.
      - Modify testsuite code in such a way that it will generate NOT_RUN result next time for testA.
      - run test session. You'll see NPE exception in console and test session will never be stopped.

      java.lang.NullPointerException
              at com.sun.javatest.exec.TestTreePanel$PanelModel.finishedTest(TestTreePanel.java:1896)
              at com.sun.javatest.Harness$Notifier.finishedTest(Harness.java:906)
              at com.sun.javatest.TestRunner.notifyFinishedTest(TestRunner.java:227)
      ...

      This is a regression compared to jt4.1.4

            dbessono Dmitry Bessonov
            kromanovorcl Konstantin Romanovskiy (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: