When I deploy any of the sample Struts 1.2.4 apps that use the validation-rules.xml JBoss complains. However, if I comment out all the rules that have depends="" in them, everything starts up fine. The relevant error seems to be:
11:02:13,530 INFO [ValidatorPlugIn] Loading validation rules file from '/WEB-INF/validator-rules.xml'
11:02:13,546 INFO [ValidatorPlugIn] Loading validation rules file from '/WEB-INF/validation.xml'
11:02:13,686 ERROR [Digester] Begin event threw exception
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
<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)
... 147 more
11:02:13,921 ERROR [ValidatorPlugIn] Skipping all validation
java.lang.NullPointerException
at org.apache.commons.digester.Digester.createSAXException(Digester.java:2540)
at org.apache.commons.digester.Digester.createSAXException(Digester.java:2566)
Any ideas how to remedy this?
Thanks so much,
-- Rick
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
