This appears to be an issue with the JVM under Leopard (Mac OS X 10.5), but I started getting the following error within Eclipse when using the ResourceBundleEditor plugin:
It also apparently happens with other plugins/apps and is an issue with the AWT kit in the new JVM. After pouring through all of my Eclipse config files and determining that I definitely was NOT specifying StartOnFirstThread anywhere, I found this fix:
Within the Eclipse application bundle, in the file Contents/MacOS/eclipse.ini, add this line:
-Djava.awt.headless=true
Save the file, and restart Eclipse. Problem solved.
Thanks a million – worked like a charm. I just had one of those days almost completely consumed with Eclipse/webapp/maven etc configuration issues, so it was very helpful to knock this particularly annoying one off at the end. Much appreciated.
-Adam
Adam:
I’m very glad I could help!
Devon
Alas, this is a big pain for me with my RCP app which only works when run from within Eclipse, but not once exported. Just in case someone else comes looking, this doesn’t help me. I’m using the SWT_AWT bridge, and (makes sense really) headless AWT doesn’t make anything better. Back to google…
But thanks – you got me excited for 18seconds!
Greg:
I’m sorry to disappoint! If you find a solution, it would be great if you could share it here as well for other people like yourself.
Good luck!
Devon