DZone Forums
Go Back   DZone Forums > Community > Tools & IDEs > Eclipse
Reload this Page Cocoa and Class Loader on Mac OS x
Notices
Reply
 
LinkBack Thread Tools Display Modes
  (#1 (permalink)) Old
Member
 
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: May 2009
Default 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?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Importing custom class BigRed Eclipse 2 02-16-2009 06:03 PM
Execute/debug given class from a project. DanielKec NetBeans 0 01-16-2009 07:44 AM
javax.ejb.EJBException: RMI class loader disabled emkong82 Eclipse 0 10-03-2008 09:21 PM
suggest the wizard class to use ?? jayjamba Eclipse 0 04-09-2008 11:48 PM
Getting values of another class svds Java 6 02-12-2008 01:31 PM


Copyright 1997-2009, DZone, Inc.
vBulletin Skin developed by: vBStyles.com