You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Roytman, Alex" <ro...@peacetech.com> on 2001/04/02 17:42:53 UTC
NullPointerException in Catalina StandardClassLoader when JAR wi
th no manifest is added to one of the lib directories
NullPointerException in Catalina StandardClassLoader when JAR with no
manifest is added to one of the lib directories
Adding manifest to the jar fixes the problem
D:\java\apache\tomcat4\bin>catalina run
Using CLASSPATH:
d:\java\apache\tomcat4\bin\bootstrap.jar;c:\java\jdk\lib\tools.jar
java.lang.NullPointerException
at
org.apache.catalina.loader.Extension.getAvailable(Extension.java:300)
at org.apache.catalina.loader.
.addRepositoryInternal(StandardClassLoader.java:1133)
at
org.apache.catalina.loader.StandardClassLoader.<init>(StandardClassLoader.ja
va:219)
at
org.apache.catalina.startup.Bootstrap.createCatalinaLoader(Bootstrap.java:32
8)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:121)
Exception in thread "main" java.lang.IllegalArgumentException:
addRepositoryInternal: java.lang.NullPointerException
at
org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(Standar
dClassLoader.java:1145)
at
org.apache.catalina.loader.StandardClassLoader.<init>(StandardClassLoader.ja
va:219)
at
org.apache.catalina.startup.Bootstrap.createCatalinaLoader(Bootstrap.java:32
8)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:121)
D:\java\apache\tomcat4\bin>
Re: NullPointerException in Catalina StandardClassLoader when JAR
wi th no manifest is added to one of the lib directories
Posted by "Craig R. McClanahan" <cr...@apache.org>.
On Mon, 2 Apr 2001, Roytman, Alex wrote:
> NullPointerException in Catalina StandardClassLoader when JAR with no
> manifest is added to one of the lib directories
> Adding manifest to the jar fixes the problem
>
Just checked in a fix for this. It will be in tonight's nightly build,
and also in the upcoming beta 3 release.
Craig