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.
When trying to replay oracle applications I am getting the following Error. Earlier oracle application was running throug Jintiator. Now in latest release it has removed that. From that point of time I am getting this error. Exception in thread "AWT-EventQueue-2" java.util.ConcurrentModificationException at java.util.AbstractList$Itr.checkForComodification(Unknown Source) at java.util.AbstractList$Itr.next(Unknown Source) at ttt.oracleutil.ComponentGUIIDKeeper.checkForAnyComponentShowing(ComponentGUIIDKeeper.java:469) at ttt.oracleutil.ComponentGUIIDKeeper.access$1(ComponentGUIIDKeeper.java:463) at ttt.oracleutil.ComponentGUIIDKeeper$ComponentShownThread.run(ComponentGUIIDKeeper.java:545) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) Testing .....By TSR Sarma.Queue JMenu Driver Testing .....By TSR Sarma.Queue JMenu Driver java.lang.SecurityException: this KeyboardFocusManager is not installed in the current thread's context at java.awt.KeyboardFocusManager.getGlobalFocusOwner(Unknown Source) at java.awt.KeyboardFocusManager.processSynchronousLightweightTransfer(Unknown Source) at sun.awt.windows.WComponentPeer.processSynchronousLightweightTransfer(Native Method) at sun.awt.windows.WComponentPeer.requestFocus(Unknown Source) at java.awt.Component.requestFocusHelper(Unknown Source) at java.awt.Component.requestFocusHelper(Unknown Source) at java.awt.Component.requestFocus(Unknown Source) at oracle.forms.ui.ListView.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at oracle.ewt.lwAWT.LWComponent.processEventImpl(Unknown Source) at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source) at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at org.netbeans.jemmy.QueueTool$JemmyQueue.dispatchEvent(QueueTool.java:568) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)
This is not a Jemmy bug - there is even no Jemmy API in the stack trace, besides the dispatching event. The problem is that Jemmy runs many events pretty fast - faster than a real person could do, so, the program's race condition manifested itself. So, either contact the program developers or, if you do not want to fix the root problem, slow the test by increasing timeouts and adding sleeps.