This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
This issue is similiar to bug 72187. This time a different exception is thrown if a JLabel is clicked thru JLabelOperator.clickMouse() and the mouse click causes the JLabel to become invisible. From what it seems is that JLabelOperator.pushMouse() does not cause the exception. But I also need to have the clickMouse() functione working. Sample code looks somthing like this: --- jLabel = new JLabel(); jLabel.setText("Sample Label"); jLabel.addMouseListener(new java.awt.event.MouseAdapter() { public void mouseClicked(java.awt.event.MouseEvent e) { jLabel.setVisible(false); System.out.println("mouseClicked()"); } }); --- The Exception thrown is: org.netbeans.jemmy.JemmyException: Exception in Choise expanding org.netbeans.jemmy.QueueTool.invokeAndWait (QueueTool.java:407) org.netbeans.jemmy.QueueTool.invokeSmoothly (QueueTool.java:337) org.netbeans.jemmy.operators.ComponentOperator.clickMouse (ComponentOperator.java:609) org.netbeans.jemmy.operators.ComponentOperator.clickMouse (ComponentOperator.java:624) org.netbeans.jemmy.operators.ComponentOperator.clickMouse (ComponentOperator.java:633) --- Ant-Version: Apache Ant 1.6.5 Created-By: 1.4.2_10-b03 (Sun Microsystems Inc.) Main-Class: org.netbeans.jemmy.JemmyProperties Jemmy-MajorVersion: 2.2 Jemmy-MinorVersion: 4.19 Jemmy-Build: 20060124
Can not reproduce the issue anymore after compiling Jemmy from the trunk.