From: Tristan N. <co...@me...> - 2009-02-11 23:37:38
|
Yes, I have all those jars in my class path. What's weird is I don't get a normal stacktrace - the app just dies. When I run it through the debugger, I find this: Launcher$AppClassLoader(ClassLoader).loadClass(String, boolean) line: 356 Launcher$AppClassLoader.loadClass(String, boolean) line: 280 Launcher$AppClassLoader(ClassLoader).loadClass(String) line: 251 Launcher$AppClassLoader(ClassLoader).loadClassInternal(String) line: 374 UserPreferences.loadPreferences() line: 91 UserPreferences.<init>() line: 54 UserPreferences.getInstance() line: 206 PasswordSafeJFace.createMenuManager() line: 466 PasswordSafeJFace(ApplicationWindow).addMenuBar() line: 246 PasswordSafeJFace.<init>() line: 187 PasswordSafeJFace.main(String[]) line: 623 So it occurs when instantiating the JpwPreferenceInitializer in serPreferences.loadPreferences(). In the JDK source I have, it looks like the error is happening in the finally clause of the loadClass method. There's a lot of Mac-specific stuff in there - so this is likely to be a Mac-only bug. The weird thing is that according to the source I'm looking at, this code should only be run for a small set of org.apache classes. It looks like this was a very specific fix for certain code - so I don't even know why we're hitting this. The argument to this method is definitely not an org.apache class. Anyway - whatever is triggering this first appears in rev. 312 - so its not affecting the 0.7 code. I'll step through the changes in that rev. and see if I can isolate this. On Feb 11, 2009, at 5:33 PM, David wrote: > Hi Tristan, > > no, but did you include the > org.eclipse.equinox.common > org.eclipse.equinox.preferences > org.eclipse.osgi > > jars in the lib folder in your class path? > > Otherwise please post the stack trace - or what do you mean by > "barfing"? > > Cheers, > David > > Am Sonntag, den 08.02.2009, 17:38 -0500 schrieb Tristan Nixon: >> I just started seeing this today - never happened before. >> >> >> Classloader.loadClass is dying while trying to >> load JpwPreferenceInitializer. Has anyone else seen this before? >> >> Cheers, >> Tristan >> > > Cheers, Tristan |