• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

AWT Event Queue thread stuck and everything is frozen

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 151
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Sheriff
Posts: 22783
131
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Kevin basically asked for an SSCCE (click on the link to see what it means).
 
Pavan Kumar
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 22783
131
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Pavan Kumar wrote:w.r.t pax


Please UseRealWords. "w.r.t." should be "with regard to".
 
She'll be back. I'm just gonna wait here. With this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic