|
Cocoa and Class Loader on Mac OS x -
05-20-2009, 05:21 AM
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 java136:80f Java CocoaComponent compatibility mode: Enabled
2009-05-19 12:51:31.859 java136: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.
The full errors I get are:
The complete set of errors (that I don't get on windows) :
2009-05-20 12:02:43.202 java706:80f Java CocoaComponent compatibility mode: Enabled
2009-05-20 12:02:43.204 java706:80f Java CocoaComponent compatibility mode: Setting timeout for SWT to 0.100000
2009-05-20 12:02:48.443 java706:16103 *** -NSConditionLock unlock: lock (<NSConditionLock: 0x18cc00> '(null)') unlocked when not locked
2009-05-20 12:02:48.444 java706:16103 *** Break on _NSLockError() to debug.
2009-05-20 12:02:48.593 java706: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 java706:80f An uncaught exception was raised
2009-05-20 12:02:48.600 java706: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 java706: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(Secure ClassLoader.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.j ava:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 16)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:280)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 51)
at java.lang.ClassLoader.loadClassInternal(ClassLoade r.java:374)
at statics.GooglePoster.post2Google(GooglePoster.java :24)
at statics.Main.main(Main.java:12)
2009-05-20 12:02:48.602 java706: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 java706: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 java706:80f *** Terminating app due to uncaught exception 'JavaNativeException', reason: 'java.lang.NoClassDefFoundError: javax/activation/DataSource'
2009-05-20 12:02:48.604 java706:80f Stack: (
2531938475,
2467360315,
2531937233,
297461,
297902,
100455583,
100300822,
2472442300,
2531440095,
2531441784,
20841,
8698
)
I also would like to know how can I prevent the debugger from showing me code that is not my project (example Object Class!) as it does on windows?
|