When the test name is changed (test renamed during TCK development, for example), the JavaTest still presents the old test in the tree, as well as the new one.
Clicking on the old test produces the following exception:
** Internal JavaTest error. Please contact the developers. **
--> Unexpected exception:
com.sun.javatest.TestResult$ResultFileNotFoundFault: Result file not found: /opt/tcks/0-workdirs/mmapi-tck-1.1a/api/signaturetest/SignatureTest.jtr
at com.sun.javatest.TestResult.reload(TestResult.java:1990)
at com.sun.javatest.TestResult.getDescription(TestResult.java:1144)
at com.sun.javatest.exec.TestPanel.updateGUI(TestPanel.java:128)
at com.sun.javatest.exec.TestPanel.updateGUIWhenVisible(TestPanel.java:108)
at com.sun.javatest.exec.TestPanel.updatePanel(TestPanel.java:89)
at com.sun.javatest.exec.TestPanel.setTest(TestPanel.java:67)
at com.sun.javatest.exec.TestTreePanel.selectTest(TestTreePanel.java:895)
at com.sun.javatest.exec.TestTreePanel.access$1100(TestTreePanel.java:75)
at com.sun.javatest.exec.TestTreePanel$Listener.dispatchSelection(TestTreePanel.java:1140)
at com.sun.javatest.exec.TestTreePanel$Listener.valueChanged(TestTreePanel.java:1080)
at javax.swing.JTree.fireValueChanged(JTree.java:2399)
at javax.swing.JTree$TreeSelectionRedirector.valueChanged(JTree.java:2770)
at javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(DefaultTreeSelectionModel.java:629)
at javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(DefaultTreeSelectionModel.java:1078)
at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(DefaultTreeSelectionModel.java:287)
at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPath(DefaultTreeSelectionModel.java:170)
at javax.swing.JTree.setSelectionPath(JTree.java:1174)
at javax.swing.plaf.basic.BasicTreeUI.selectPathForEvent(BasicTreeUI.java:2256)
at javax.swing.plaf.basic.BasicTreeUI$Handler.handleSelection(BasicTreeUI.java:3442)
at javax.swing.plaf.basic.BasicTreeUI$Handler.mousePressed(BasicTreeUI.java:3403)
at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:222)
at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:221)
at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:221)
at java.awt.Component.processMouseEvent(Component.java:5485)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5253)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3889)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1774)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
** End Internal JavaTest error. **
Exception in thread "AWT-EventQueue-0" ** Internal JavaTest error. Please contact the developers. **
com.sun.javatest.JavaTestError: Unable to get a test description for a test result.
at com.sun.javatest.exec.TP_Subpanel.updateSubpanel(TP_Subpanel.java:50)
at com.sun.javatest.exec.TP_PropertySubpanel.updateSubpanel(TP_PropertySubpanel.java:70)
at com.sun.javatest.exec.TP_DescSubpanel.updateSubpanel(TP_DescSubpanel.java:27)
at com.sun.javatest.exec.TestPanel.updateGUI(TestPanel.java:166)
at com.sun.javatest.exec.TestPanel.updateGUIWhenVisible(TestPanel.java:108)
at com.sun.javatest.exec.TestPanel.updatePanel(TestPanel.java:89)
at com.sun.javatest.exec.TestPanel.setTest(TestPanel.java:67)
at com.sun.javatest.exec.TestTreePanel.selectTest(TestTreePanel.java:895)
at com.sun.javatest.exec.TestTreePanel.access$1100(TestTreePanel.java:75)
at com.sun.javatest.exec.TestTreePanel$Listener.dispatchSelection(TestTreePanel.java:1140)
at com.sun.javatest.exec.TestTreePanel$Listener.valueChanged(TestTreePanel.java:1080)
at javax.swing.JTree.fireValueChanged(JTree.java:2399)
at javax.swing.JTree$TreeSelectionRedirector.valueChanged(JTree.java:2770)
at javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(DefaultTreeSelectionModel.java:629)
at javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(DefaultTreeSelectionModel.java:1078)
at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(DefaultTreeSelectionModel.java:287)
at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPath(DefaultTreeSelectionModel.java:170)
at javax.swing.JTree.setSelectionPath(JTree.java:1174)
at javax.swing.plaf.basic.BasicTreeUI.selectPathForEvent(BasicTreeUI.java:2256)
at javax.swing.plaf.basic.BasicTreeUI$Handler.handleSelection(BasicTreeUI.java:3442)
at javax.swing.plaf.basic.BasicTreeUI$Handler.mousePressed(BasicTreeUI.java:3403)
at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:222)
at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:221)
at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:221)
at java.awt.Component.processMouseEvent(Component.java:5485)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5253)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3889)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1774)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Clicking on the old test produces the following exception:
** Internal JavaTest error. Please contact the developers. **
--> Unexpected exception:
com.sun.javatest.TestResult$ResultFileNotFoundFault: Result file not found: /opt/tcks/0-workdirs/mmapi-tck-1.1a/api/signaturetest/SignatureTest.jtr
at com.sun.javatest.TestResult.reload(TestResult.java:1990)
at com.sun.javatest.TestResult.getDescription(TestResult.java:1144)
at com.sun.javatest.exec.TestPanel.updateGUI(TestPanel.java:128)
at com.sun.javatest.exec.TestPanel.updateGUIWhenVisible(TestPanel.java:108)
at com.sun.javatest.exec.TestPanel.updatePanel(TestPanel.java:89)
at com.sun.javatest.exec.TestPanel.setTest(TestPanel.java:67)
at com.sun.javatest.exec.TestTreePanel.selectTest(TestTreePanel.java:895)
at com.sun.javatest.exec.TestTreePanel.access$1100(TestTreePanel.java:75)
at com.sun.javatest.exec.TestTreePanel$Listener.dispatchSelection(TestTreePanel.java:1140)
at com.sun.javatest.exec.TestTreePanel$Listener.valueChanged(TestTreePanel.java:1080)
at javax.swing.JTree.fireValueChanged(JTree.java:2399)
at javax.swing.JTree$TreeSelectionRedirector.valueChanged(JTree.java:2770)
at javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(DefaultTreeSelectionModel.java:629)
at javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(DefaultTreeSelectionModel.java:1078)
at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(DefaultTreeSelectionModel.java:287)
at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPath(DefaultTreeSelectionModel.java:170)
at javax.swing.JTree.setSelectionPath(JTree.java:1174)
at javax.swing.plaf.basic.BasicTreeUI.selectPathForEvent(BasicTreeUI.java:2256)
at javax.swing.plaf.basic.BasicTreeUI$Handler.handleSelection(BasicTreeUI.java:3442)
at javax.swing.plaf.basic.BasicTreeUI$Handler.mousePressed(BasicTreeUI.java:3403)
at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:222)
at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:221)
at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:221)
at java.awt.Component.processMouseEvent(Component.java:5485)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5253)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3889)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1774)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
** End Internal JavaTest error. **
Exception in thread "AWT-EventQueue-0" ** Internal JavaTest error. Please contact the developers. **
com.sun.javatest.JavaTestError: Unable to get a test description for a test result.
at com.sun.javatest.exec.TP_Subpanel.updateSubpanel(TP_Subpanel.java:50)
at com.sun.javatest.exec.TP_PropertySubpanel.updateSubpanel(TP_PropertySubpanel.java:70)
at com.sun.javatest.exec.TP_DescSubpanel.updateSubpanel(TP_DescSubpanel.java:27)
at com.sun.javatest.exec.TestPanel.updateGUI(TestPanel.java:166)
at com.sun.javatest.exec.TestPanel.updateGUIWhenVisible(TestPanel.java:108)
at com.sun.javatest.exec.TestPanel.updatePanel(TestPanel.java:89)
at com.sun.javatest.exec.TestPanel.setTest(TestPanel.java:67)
at com.sun.javatest.exec.TestTreePanel.selectTest(TestTreePanel.java:895)
at com.sun.javatest.exec.TestTreePanel.access$1100(TestTreePanel.java:75)
at com.sun.javatest.exec.TestTreePanel$Listener.dispatchSelection(TestTreePanel.java:1140)
at com.sun.javatest.exec.TestTreePanel$Listener.valueChanged(TestTreePanel.java:1080)
at javax.swing.JTree.fireValueChanged(JTree.java:2399)
at javax.swing.JTree$TreeSelectionRedirector.valueChanged(JTree.java:2770)
at javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(DefaultTreeSelectionModel.java:629)
at javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(DefaultTreeSelectionModel.java:1078)
at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(DefaultTreeSelectionModel.java:287)
at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPath(DefaultTreeSelectionModel.java:170)
at javax.swing.JTree.setSelectionPath(JTree.java:1174)
at javax.swing.plaf.basic.BasicTreeUI.selectPathForEvent(BasicTreeUI.java:2256)
at javax.swing.plaf.basic.BasicTreeUI$Handler.handleSelection(BasicTreeUI.java:3442)
at javax.swing.plaf.basic.BasicTreeUI$Handler.mousePressed(BasicTreeUI.java:3403)
at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:222)
at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:221)
at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:221)
at java.awt.Component.processMouseEvent(Component.java:5485)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5253)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3889)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1774)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)