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.

Bug 124024 - Exception while replaying
Summary: Exception while replaying
Status: CLOSED INVALID
Alias: None
Product: qa
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: All Windows ME/2000
: P1 blocker (vote)
Assignee: issues@qa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-14 12:01 UTC by nseshu
Modified: 2011-02-17 09:31 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nseshu 2007-12-14 12:01:01 UTC
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)
Comment 1 Alexandre Iline 2008-09-18 16:27:49 UTC
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.