Debugging this, its not related to the allowed methods, if I change
anything in struts.xml and then do a previous on a not allowed DMI. I
get the 404 after configs reload.
In class org.apache.struts2.dispatcher.org.apache.struts2.Dispatcher it
throws a ConfigurationException in serviceAction(
t does the trick if you think it's a jar issue with maven.
-- Original Message --
From "Greg Huber"
To dev@struts.apache.org
Date 10/31/2024 9:45:58 AM
Subject Re: error response on missing allowed-methods in struts.xml
Maven does the jars.
Just refreshed everything, still
Did you remove your "/.m2/repository" directory and rebuild? Sometimes
that does the trick if you think it's a jar issue with maven.
-- Original Message --
From "Greg Huber"
To dev@struts.apache.org
Date 10/31/2024 9:45:58 AM
Subject Re: error response on m
Maven does the jars.
Just refreshed everything, still doing it, I will try and debug it.
Unable to show problem report: java.lang.NullPointerException: Cannot
invoke "freemarker.template.Template.process(Object, java.io.Writer)"
because "this.template" is null Class:
org.apache.struts2.dispat
I just checked locally and it looks good with the latest Struts 7
SNAPSHOT, I would assume you must have some Freemarker leftovers, do
you use Maven to control dependencies?
czw., 31 paź 2024 o 14:43 Greg Huber napisał(a):
>
> Testing with v7 m9.
>
> Try with a method present but with and a missi
Testing with v7 m9.
Try with a method present but with and a missing **
I see this 404:
Unable to show problem report: java.lang.NullPointerException: Cannot
invoke "freemarker.template.Template.process(Object, java.io.Writer)"
because "this.template" is null Class:
org.apache.struts2.dispat
404 is good, NPE is bad, let me try to reproduce this.
pt., 25 paź 2024 o 12:56 Greg Huber napisał(a):
>
> 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
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 Meth