You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Zsolt Koppany <zk...@intland.com> on 2004/07/20 14:26:02 UTC

RealmBase NullPointerException from a filter

Hi,

from a Filter class I want to add a RealmBase object but I get the following
exception. From the source I think that I should set the container variable
of the Realm object but I don't know how I can figure out the correct
container.


ERROR catalina.realm.RealmBase     - Can't register null
java.lang.NullPointerException
	at org.apache.catalina.realm.RealmBase.init(RealmBase.java:1194)
	at org.apache.catalina.realm.RealmBase.start(RealmBase.java:875)
	at org.apache.catalina.realm.JNDIRealm.start(JNDIRealm.java:1564)
	at cv.security.SecurityFilter.lookupRealm(SecurityFilter.java:267)
	at cv.security.SecurityFilter.init(SecurityFilter.java:289)


Zsolt



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