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

Specify Tests/Tests 2 Run question is unavailable

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • jt4.2
    • None
    • tools
    • b09
    • x86
    • windows_xp
    • Verified

      Javatest 4.2_b07

      Start Harness. Load WD. Open Configuration. Select "Specify Tests" -> "Yes". Click on the "Tests to Run" question. Nothing but exception in console is shown:

      Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: javax.swing.tree.DefaultTreeModel cannot be cast to com.sun.interview.wizard.TreeQuestionRenderer$TQModel
         at com.sun.interview.wizard.TreeQuestionRenderer$TQRenderer.getTreeCellRendererComponent(TreeQuestionRenderer.java:416)
         at javax.swing.plaf.basic.BasicTreeUI$NodeDimensionsHandler.getNodeDimensions(BasicTreeUI.java:2717)
         at javax.swing.tree.AbstractLayoutCache.getNodeDimensions(AbstractLayoutCache.java:475)
         at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.updatePreferredSize(VariableHeightLayoutCache.java:1342)
         at javax.swing.tree.VariableHeightLayoutCache.updateNodeSizes(VariableHeightLayoutCache.java:900)
         at javax.swing.tree.VariableHeightLayoutCache.invalidateSizes(VariableHeightLayoutCache.java:354)
         at javax.swing.plaf.basic.BasicTreeUI.setCellRenderer(BasicTreeUI.java:372)
         at javax.swing.plaf.basic.BasicTreeUI$Handler.propertyChange(BasicTreeUI.java:3326)
         at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)
         at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276)
         at java.awt.Component.firePropertyChange(Component.java:7961)
         at javax.swing.JTree.setCellRenderer(JTree.java:749)
         at com.sun.interview.wizard.TreeQuestionRenderer$TQTree.<init>(TreeQuestionRenderer.java:96)
         at com.sun.interview.wizard.TreeQuestionRenderer.getQuestionRendererComponent(TreeQuestionRenderer.java:61)
         at com.sun.interview.wizard.QuestionPanel.showQuestion(QuestionPanel.java:448)
         at com.sun.interview.wizard.QuestionPanel$Listener.currentQuestionChanged(QuestionPanel.java:662)
         at com.sun.interview.Interview.notifyCurrentQuestionChanged(Interview.java:1824)
         at com.sun.interview.Interview.setCurrentQuestion(Interview.java:923)

            sborodinsunw Sergey Borodin (Inactive)
            kromanovorcl Konstantin Romanovskiy (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: