Cannot launch java swing application from within eclipse

Hello,

I just had to reinstall mac os on my macbook and now once I try to run from within eclipse a swing application from svn (that used to work) I get:

2009-05-19 12:51:31.858 java[136:80f] [Java CocoaComponent compatibility mode]: Enabled
2009-05-19 12:51:31.859 java[136:80f] [Java CocoaComponent compatibility mode]: Setting timeout for SWT to 0.100000

Does anyone know how to get it back working? I've latest Apple software update.

Macbook, Mac OS X (10.5.7)

Posted on May 19, 2009 4:17 AM

Reply
7 replies

May 20, 2009 3:03 AM in response to Simpatico

Anyone?

The complete set of errors (that I don't get on windows) :

2009-05-20 12:02:43.202 java[706:80f] [Java CocoaComponent compatibility mode]: Enabled
2009-05-20 12:02:43.204 java[706:80f] [Java CocoaComponent compatibility mode]: Setting timeout for SWT to 0.100000
2009-05-20 12:02:48.443 java[706:16103] * -[NSConditionLock unlock]: lock (<NSConditionLock: 0x18cc00> '(null)') unlocked when not locked
2009-05-20 12:02:48.444 java[706:16103] * Break on _NSLockError() to debug.
2009-05-20 12:02:48.593 java[706:80f] * _NSAutoreleaseNoPool(): Object 0x1946f0 of class JNFException autoreleased with no pool in place - just leaking
Stack: (0x936d3f0f 0x935e0442 0x935e7bd8 0x96e2b5df 0x96e2bc78 0x5169 0x21fa)
2009-05-20 12:02:48.599 java[706:80f] An uncaught exception was raised
2009-05-20 12:02:48.600 java[706:80f] * _NSAutoreleaseNoPool(): Object 0x1924e0 of class NSCFString autoreleased with no pool in place - just leaking
Stack: (0x936d3f0f 0x935e0442 0x4af5b 0x47fe3 0x488de 0x90dc78d4 0x90dc78a8 0x90f5ecd7 0x96ea5169 0x9310ee3b 0x96e2ba53 0x96e2bc78 0x5169 0x21fa)
2009-05-20 12:02:48.601 java[706:80f] java.lang.NoClassDefFoundError: javax/activation/DataSource
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:675)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:280)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
at statics.GooglePoster.post2Google(GooglePoster.java:24)
at statics.Main.main(Main.java:12)
2009-05-20 12:02:48.602 java[706:80f] * _NSAutoreleaseNoPool(): Object 0x1890d0 of class NSCFString autoreleased with no pool in place - just leaking
Stack: (0x936d3f0f 0x935e0442 0x935eb8aa 0x96ea502e 0x9310ee3b 0x96e2ba53 0x96e2bc78 0x5169 0x21fa)
2009-05-20 12:02:48.602 java[706:80f] * _NSAutoreleaseNoPool(): Object 0x1a0c80 of class NSCFData autoreleased with no pool in place - just leaking
Stack: (0x936d3f0f 0x935e0442 0x935f4b35 0x935f4711 0x96ea5042 0x9310ee3b 0x96e2ba53 0x96e2bc78 0x5169 0x21fa)
2009-05-20 12:02:48.603 java[706:80f] * Terminating app due to uncaught exception 'JavaNativeException', reason: 'java.lang.NoClassDefFoundError: javax/activation/DataSource'
2009-05-20 12:02:48.604 java[706:80f] Stack: (
2531938475,
2467360315,
2531937233,
297461,
297902,
100455583,
100300822,
2472442300,
2531440095,
2531441784,
20841,
8698
)

May 21, 2009 9:34 AM in response to Simpatico

The problem regards the JV of Mac OS X. I installed the update by apple supposed to sort this out, but no use.

2009-05-21 18:28:54.370 java[770:80f] [Java CocoaComponent compatibility mode]: Enabled
2009-05-21 18:28:54.372 java[770:80f] [Java CocoaComponent compatibility mode]: Setting timeout for SWT to 0.100000
2009-05-21 18:28:55.851 java[770:16d03] * -[NSConditionLock unlock]: lock (<NSConditionLock: 0x1193e0> '(null)') unlocked when not locked
2009-05-21 18:28:55.851 java[770:16d03] * Break on _NSLockError() to debug.
2009-05-21 18:28:55.953 java[770:16d03] * -[NSConditionLock unlock]: lock (<NSConditionLock: 0x1a2290> '(null)') unlocked when not locked
2009-05-21 18:28:55.953 java[770:16d03] * Break on _NSLockError() to debug.
2009-05-21 18:28:56.054 java[770:16d03] * -[NSConditionLock unlock]: lock (<NSConditionLock: 0x1819c0> '(null)') unlocked when not locked
2009-05-21 18:28:56.055 java[770:16d03] * Break on _NSLockError() to debug.
2009-05-21 18:28:56.157 java[770:16d03] * -[NSConditionLock unlock]: lock (<NSConditionLock: 0x1a1e20> '(null)') unlocked when not locked
2009-05-21 18:28:56.157 java[770:16d03] * Break on _NSLockError() to debug.
2009-05-21 18:28:56.269 java[770:16d03] * -[NSConditionLock unlock]: lock (<NSConditionLock: 0x1145f0> '(null)') unlocked when not locked
2009-05-21 18:28:56.270 java[770:16d03] * Break on _NSLockError() to debug.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Cannot launch java swing application from within eclipse

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.