Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: OsX wheel of death on my OS9 java app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OsX wheel of death on my OS9 java app



David Leader <email@hidden> wrote:

>On OSX the app opens ok and the data loads, but
>throwing up any of these smaller frames sets the rainbow wheel
>spinning and causes the window to be completely unresponsive. If I
>switch to the console I don't see any error or exception messages and
>when I go back the wheel is gone but everything is still unresponsive.

Try a:
ps -xww

and determine the process ID. Then do:
kill -QUIT <pid>

to get a thread stack-trace on the system console (see
/Applications/Utilities/Console.app). Look for deadlocks.

To force quit from the command line:
kill -KILL <pid>

I'm gonna guess that something you're doing to put up your "inspector"
frame is thread-unsafe with regard to AWT or Swing. You might have to move
that fragment of code into an execute-and-wait task, or otherwise arrange
to run it in such a way that it doesn't block the event-dispatch thread.

-- GG
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Be sure to read the FAQ http://developer.apple.com/java/faq/ before posting
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.