Hi there,
after a form is sent to a DispatchAction (which should works as CRUD) returns me the following error:
09:45:28,474 ERROR [RequestProcessor] No action instance for path /userManagement could be created
java.lang.NullPointerException
at xx.xxxxxxx.struts.action.user.UserDispatchAction.<init>(UserDispatchAction.java:54)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
The struts-config.xml
and the class
from the logger I can see that the
UserService is correctly instancied but the code doesn't get to the
[create] start! line.
It seems that this error could be related to different reasons, but the majority complains that the class doesn't extends the
Action.
DispatchAction extends Action...
so what's the problem?
Thanks in advance