Any idea what I need to do to get JBoss3.2.5 to parse the default validation-rules that comes with Struts? For some reason it chokes on parsing or evaluating the depends="" sections. If I comment out those rules it can parse it fine. (Tomcat5 also parses it fine.) I'm guessing JBoss is using a different parser? Any idea what I should change?

The relevant error:

17:46:32,072 INFO [ValidatorPlugIn] Loading validation rules file from '/WEB-INF/validator-rules.xml'
17:46:32,088 INFO [ValidatorPlugIn] Loading validation rules file from '/WEB-INF/validation.xml'
17:46:32,228 ERROR [Digester] Begin event threw exception
java.lang.reflect.InvocationTargetException


<snip>

Caused by: java.lang.NullPointerException
at java.util.StringTokenizer.<init>(StringTokenizer.java:146)
at java.util.StringTokenizer.<init>(StringTokenizer.java:162)
at org.apache.commons.validator.ValidatorAction.setDepends(ValidatorAction.java:255)


--
Rick

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to