Announcement Announcement Module

Spring Modules forum decommissioned in favor of Spring Extensions

As the Spring Modules project has been replaced by the Spring Extensions ( project, this forum has been decommissioned in favour of Spring Extensions one at:

Please see the Spring Extensions home page for a complete list of current projects in Java, .NET and ActionScript. You can also propose one if you want.

Costin Leau
SpringSource - Spring Training, Consulting, and Support - "From the Source"
See more
See less
ValidatorAction throws NullPointerException w/ Struts 1.2.7 Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • ValidatorAction throws NullPointerException w/ Struts 1.2.7

    Anyone have a clue why the latest version of Struts causes this? It was working fine with my previous version of Struts but I wanted to the ValidWhen functionality, so I upgraded.

    &#91;org.apache.commons.validator.ValidatorAction&#93; - <Unhandled exception thrown during validation&#58; null>
    	at org.apache.struts.validator.Resources.getMessageResources&#40;;127&#41;
    	at org.apache.struts.validator.Resources.getActionMessage&#40;;349&#41;
    	at org.apache.struts.validator.FieldChecks.validateRequired&#40;;94&#41;

  • #2
    P.S. Not sure if this is related to the above problem but I just found this on

    Note that since Struts 1.1, you must explicitly define your message resource in any module that is going to use the Validator, due to a problem accessing the top-level resource. This only effects applications which are using modules.