cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 10438] - AbstractValidatorAction throws NullPointerException while executing a Session Validator
Date Wed, 03 Jul 2002 14:27:40 GMT
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=10438>.
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=10438

AbstractValidatorAction throws NullPointerException while executing a Session Validator





------- Additional Comments From sascha@kulawik.de  2002-07-03 14:27 -------
This bug occures in this environment:

----- snip from sitemap: -------
<map:action name="auth"
src="org.apache.cocoon.acting.DatabaseAuthenticatorAction"
logger="sitemap.action.session-isvalid"/>
			<map:action name="sessval" src="org.apache.cocoon.acting.SessionValidatorAction"
logger="sitemap.action.sessval"/>
...
<map:match pattern="*/*.xsp">
<map:act type="sessval">
<map:parameter name="descriptor" value="context://mount/sascha/validate.xml"/>
<map:parameter name="validate" value="username"/>
<map:generate src="xsp/{../2}.xsp" type="serverpages"/>
<map:transform src="templates/{../1}.xsl"/>
<map:serialize type="html"/>
</map:act>
<map:redirect-to uri="/cocoon/mount/sascha/login"/>
</map:match>

----- snip from validate.xml -------
<?xml version="1.0" encoding="UTF-8"?>
<root>
	<parameter name="username" type="string" nullable="no"/>
</root>

----- occuring error ------------
AbstractValidatorAction returns a NullPointerException while declaring the
"default" Parameter.

FIX:
The second Attachment contains the full diff -c file for the release-Version
2.0.2 of the AbstractValidatorAction.java file.

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


Mime
View raw message