Re: [jnc-users] NullPointerExceptionatjava.net.URLClassLoader.getPermissions
Status: Beta
Brought to you by:
soapy
From: Marco T. <ma...@mt...> - 2009-12-03 10:04:25
|
Dear Keith Then the problem is more complicated and requires a closer look at the compilation and the GCJ source... So I'm afraid I can't help you since, as you already discovered, I discontinued JNC. Of course you could also try to use another xml library... Sorry for the bad news Marco Keith Boynton wrote: > Hi Marco, > > You're too fast at replying. Sorry I should have made myself more clear. > I have done your suggestion and that is the error that I get now I've > done as you said. > > Here's a dump of the options that give me this error: > > gcc-122233-win\bin\gcj > --main=com.flare.applications.FileSquirrel.App > -fjni > -Djava.library.path=lib > -Dsun.java2d.fontpath= > -Djava.home=. > -Djava.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment > -Dawt.toolkit=sun.awt.windows.WToolkit > -Dsun.io.unicode.encoding=UnicodeLittle > -Llibs/win > -Ilibs/win/gui/gui.jar > -oC:\JavaNC\projects\FileSquirrel\compiled\filesquirrel.exe > -s > -O2 > C:\JavaNC\projects\FileSquirrel\lib\* > -Wl,--allow-multiple-definition > -findirect-dispatch > -ljncTrial > -IC:\Users\Keith Boynton\Documents\EclipseWorkspace\File > Squirrel\bin\fileSquirrel.jar > -IC:\Users\Keith > Boynton\Documents\EclipseWorkspace\FlareSDK\bin\flaresdk.jar > -IC:\JavaNC\projects\FileSquirrel\jars\imap.jar > -IC:\JavaNC\projects\FileSquirrel\jars\smtp.jar > -IC:\JavaNC\projects\FileSquirrel\jars\dsn.jar > -IC:\JavaNC\projects\FileSquirrel\jars\pop3.jar > -IC:\JavaNC\projects\FileSquirrel\jars\commons-io-1.2.jar > -IC:\JavaNC\projects\FileSquirrel\jars\jaxen-1.1.jar > -IC:\JavaNC\projects\FileSquirrel\jars\mailapi.jar > -IC:\JavaNC\projects\FileSquirrel\jars\log4j-1.2.13.jar > -IC:\JavaNC\projects\FileSquirrel\jars\dom4j-1.6.1.jar > > @C:\Users\KEITHB~1\AppData\Local\Temp\JNCTempnmusjg.out\SourceListnmusjh.list > > > > Note. C:\JavaNC\projects\FileSquirrel\lib\* is the location where I > extracted the objects to (it was c:\temp\templib\* in our previous > discussions). > > Doing your suggestion did get me past the previous NoClassDefFound error > (org.xml.sax.EntityResolver) but now I'm battling with this one: > Exception in thread "main" java.lang.NoClassDefFoundError: > java.text.DecimalFormat > at gnu.xml.transform.Stylesheet.initDefaultDecimalFormat > > The GCJ folks reckon it was something to do with the properties objects > hence their suggestion: > http://gcc.gnu.org/ml/java/2009-11/msg00084.html > > I appreciate your time Marco, especially as I know you've discontinued > your work on JNC for now. > > Keith |