| Author |
AWT Event Queue thread stuck and everything is frozen
|
Pavan Kumar
Greenhorn
Joined: Jan 05, 2007
Posts: 10
|
|
When i launch using Eclipse i have this problem. But when i launch using command line i don't have any problem.
It seems to me like the JVM is waiting for a reply from graphic device. Event the window decorations are not seen. everything is frozen. I had to kill manually.
Thread [AWT-EventQueue-0] (Suspended)
D3DRenderQueue.flushBuffer(long, int, Runnable) line: not available [native method]
D3DRenderQueue.flushBuffer(Runnable) line: 134
D3DRenderQueue.flushNow() line: 119
D3DSurfaceData.swapBuffers(D3DSurfaceData, int, int, int, int) line: 743
D3DGraphicsConfig.flip(WComponentPeer, Component, VolatileImage, int, int, int, int, BufferCapabilities$FlipContents) line: 173
WDialogPeer(WComponentPeer).flip(int, int, int, int, BufferCapabilities$FlipContents) line: 871
Component$FlipSubRegionBufferStrategy(Component$FlipBufferStrategy).flipSubRegion(int, int, int, int, BufferCapabilities$FlipContents) line: 3851
Component$FlipSubRegionBufferStrategy(Component$FlipBufferStrategy).showSubRegion(int, int, int, int) line: 3971
Component$FlipSubRegionBufferStrategy.show(int, int, int, int) line: 4257
BufferStrategyPaintManager.flushAccumulatedRegion() line: 401
BufferStrategyPaintManager.endPaint() line: 363
RepaintManager.endPaint() line: 1288
JTextField(JComponent)._paintImmediately(int, int, int, int) line: 5078
JTextField(JComponent).paintImmediately(int, int, int, int) line: 4882
RepaintManager.paintDirtyRegions(Map<Component,Rectangle>) line: 785
RepaintManager.paintDirtyRegions() line: 713
RepaintManager.seqPaintDirtyRegions() line: 693
SystemEventQueueUtilities$ComponentWorkRequest.run() line: 125
InvocationEvent.dispatch() line: 209
EventQueue.dispatchEvent(AWTEvent) line: 597
EventDispatchThread.pumpOneEventForFilters(int) line: 269
EventDispatchThread.pumpEventsForFilter(int, Conditional, EventFilter) line: 184
EventDispatchThread.pumpEventsForFilter(Conditional, EventFilter) line: 178
Dialog$1.run() line: 1046 [local variables unavailable]
Dialog$3.run() line: 1098 [local variables unavailable]
AccessController.doPrivileged(PrivilegedAction<T>) line: not available [native method]
JideCredentialsUIDialog$PasswordDialog(Dialog).show() line: 1096 [local variables unavailable]
JideCredentialsUIDialog$PasswordDialog(StandardDialog).show() line: not available
JideCredentialsUIDialog$PasswordDialog(Component).show(boolean) line: 1563
JideCredentialsUIDialog$PasswordDialog(Component).setVisible(boolean) line: 1515
JideCredentialsUIDialog$PasswordDialog(Window).setVisible(boolean) line: 842
JideCredentialsUIDialog$PasswordDialog(Dialog).setVisible(boolean) line: 986
JideCredentialsUIDialog$2.run() line: 75
InvocationEvent.dispatch() line: 209
EventQueue.dispatchEvent(AWTEvent) line: 597
EventDispatchThread.pumpOneEventForFilters(int) line: 269
EventDispatchThread.pumpEventsForFilter(int, Conditional, EventFilter) line: 184
EventDispatchThread.pumpEventsForHierarchy(int, Conditional, Component) line: 174
EventDispatchThread.pumpEvents(int, Conditional) line: 169
EventDispatchThread.pumpEvents(Conditional) line: 161
EventDispatchThread.run() line: 122
|
 |
Kevin Workman
Ranch Hand
Joined: Sep 28, 2010
Posts: 151
|
|
|
Can you post some code that demonstrates the problem? Keep in mind that the code you post should be as short as possible. Try to narrow it down to less than 20 lines, and we can go from there.
|
 |
Rob Spoor
Sheriff
Joined: Oct 27, 2005
Posts: 19214
|
|
|
Kevin basically asked for an SSCCE (click on the link to see what it means).
|
SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
|
 |
Pavan Kumar
Greenhorn
Joined: Jan 05, 2007
Posts: 10
|
|
I run my GUI application using pax-runner. Browsing through net, i found
http://www.mail-archive.com/general@lists.ops4j.org/msg09029.html.
I guess there is something with regards to pax that is causing this problem.
|
 |
Rob Spoor
Sheriff
Joined: Oct 27, 2005
Posts: 19214
|
|
Pavan Kumar wrote:w.r.t pax
Please UseRealWords. "w.r.t." should be "with regard to".
|
 |
 |
|
|
subject: AWT Event Queue thread stuck and everything is frozen
|
|
|