You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Dominique Devienne <DD...@lgc.com> on 2004/01/08 21:12:58 UTC

Pb with 1.6 launcher?!?

Unfortunately, I don't have the value of the CLASSPATH env. var. that
triggered the stack trace below, but I'll report this anyway: under unknown
circumstances, with Ant 1.6 and JDK 1.4.2, on Win2K with some weird
CLASSPATH, one gets the error below. Unsetting the CLASSPATH, or setting the
CLASSPATH to something else clears the problem.

Maybe it will ring a bell with Connor or somebody else who knows Launcher.
--DD

C:\Work\>..\buildtools\ant\bin\ant -debug
java.lang.IllegalArgumentException
        at sun.net.www.ParseUtil.decode(ParseUtil.java:155)
        at sun.misc.FileURLMapper.getPath(FileURLMapper.java:48)
        at sun.misc.FileURLMapper.exists(FileURLMapper.java:53)
        at sun.misc.URLClassPath$JarLoader.getJarFile(URLClassPath.java:572)
        at sun.misc.URLClassPath$JarLoader.<init>(URLClassPath.java:542)
        at sun.misc.URLClassPath$3.run(URLClassPath.java:320)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.misc.URLClassPath.getLoader(URLClassPath.java:309)
        at sun.misc.URLClassPath.getLoader(URLClassPath.java:286)
        at sun.misc.URLClassPath.getResource(URLClassPath.java:156)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:191)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:213)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:90)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


RE: Pb with 1.6 launcher?!?

Posted by Conor MacNeill <co...@cortexebusiness.com.au>.
> From: Dominique Devienne [mailto:DDevienne@lgc.com]
> Sent: Friday, 9 January 2004 7:13 AM
> To: 'dev@ant.apache.org'
> Subject: Pb with 1.6 launcher?!?
>
>
> Unfortunately, I don't have the value of the CLASSPATH env. var. that
> triggered the stack trace below, but I'll report this anyway:
> under unknown
> circumstances, with Ant 1.6 and JDK 1.4.2, on Win2K with some weird
> CLASSPATH, one gets the error below. Unsetting the CLASSPATH, or
> setting the
> CLASSPATH to something else clears the problem.
>
> Maybe it will ring a bell with Connor or somebody else who knows Launcher.
> --DD
>

It doesn't ring a bell with me. If it happens again, please record the
classpath. It could be due to a typo or funny character in the classpath
confusing the URL code in the JDK?

Conor


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org