You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2002/07/23 16:55:05 UTC

DO NOT REPLY [Bug 11086] - Null pointer exception in JasperLoader.loadClass(String, boolean)

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11086>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11086

Null pointer exception in JasperLoader.loadClass(String, boolean)





------- Additional Comments From w.riezebos@genimen.com  2002-07-23 14:55 -------
As it turns out a component I am using IS installing a (RMI)securityManager on 
the fly. Tomcat is unable to handle this because of the previously described 
flaw. Suggestion: modify 

if (System.getSecurityManager() != null) {   
into
if (securityManager != null) {   

or do not cache the securityManager at all.

Wido

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>