I noticed, if I have a missing allowed-methods in my struts.xml for DMI, I get this 404 error

Status Code 404

Message: Unable to show problem report: java.lang.NullPointerException Class: org.apache.struts2.dispatcher.DefaultDispatcherErrorHandler File: DefaultDispatcherErrorHandler.java Method: handleErrorInDevMode Line: 118 - org/apache/struts2/dispatcher/DefaultDispatcherErrorHandler.java:118:-1


In the log file it shows:

2024-10-25 11:47:38,778 ERROR org.apache.struts2.dispatcher.Dispatcher Dispatcher:logConfigurationException - Could not find action or result: /me/myAction.action

com.opensymphony.xwork2.config.ConfigurationException: Method previous for action myAction is not allowed!

at com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:191) ~[classes/:?]

Is the 404 NPE exception correct/expected?

Reply via email to