Chris,
Thanks for the reply. I think this is the ValidationInterceptor rather than the
workflow interceptor. The stack trace is as follows:
ava.lang.NullPointerException
com.devcentre.yubi.application.action.NewSupplierAction.validate(NewSupplierAction.java:49)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:196)
$Proxy26.validate(Unknown Source)
com.opensymphony.xwork2.validator.ValidationInterceptor.doBeforeInvocation(ValidationInterceptor.java:249)
com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:261)
org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:68)
The AnnotationValidationInterceptor extends ValidationInterceptor. The reason I
think it is related to issues with the Action Proxy is that I first noticed
this when I created a new action and then the AnnotationValidationInterceptor
couldn't even find the action method I had defined on my action. I then come
back and tested this action and found that the validate() method was not being
called when the execute() method was invoked when it wasn't before.
I had all of this working a few days ago. I've spent so long trying to work out
what is wrong that I have a headache :(
Alex
On 29 Apr 2011, at 20:45, Chris Pratt wrote:
> execute