tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 37458] Datarace on org.apache.catalina.loader.WebappClassLoader
Date Fri, 02 Jan 2009 06:07:01 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=37458





--- Comment #13 from Konstantin Kolinko <knst.kolinko@gmail.com>  2009-01-01 22:07:01
PST ---
To reproduce:
1. Place TestWebappClassLoader.java and sealed.jar into package
org.apache.catalina.loader of TC 6.0 test sources.

2. Use JUnit to run the test case.

3. The following exception is observed:

...
Caused by: java.lang.NullPointerException
        at java.lang.Package.isSealed(Package.java:181)
        at
org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1832)
        at
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:890)
        at
org.apache.catalina.loader.TestWebappClassLoader$FindClassThread.run(TestWebappClassLoader.java:48)


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


Mime
View raw message