Re: strange error when migrating to convention plugin - Struts 2.5.20

2019-01-28 Thread Lukasz Lenart
sob., 26 sty 2019 o 05:13 developer researcher napisał(a): > > I am doing migration tests to convention plugin using a project generated > with the archetype "struts2-archetype-blank" > > After migrating the actions from struts.xml using the @Action annotation, I > could observe the following: > >

Re: Migration struts.xml to Convention Plugin - Struts 2.5.20

2019-01-28 Thread Lukasz Lenart
sob., 26 sty 2019 o 01:19 developer researcher napisał(a): > > Hello, > > I want to migrate a web application based on struts.xml to use annotations, > but I have not found documentation and/or examples for the next cases: > > *1. * > > How should be the @Action (?) Annotation be for the default a

Re: EmptyStackException after upgrading Struts 2.3 to 2.5

2019-01-28 Thread Lukasz Lenart
Hi, I think you are right, it's probably a side effect of changes related to this issues https://issues.apache.org/jira/browse/WW-4034 Could you register a new JIRA ticket to fix that? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ pon., 28 sty 2019 o 16:55 Eduardo Guadalupe n

EmptyStackException after upgrading Struts 2.3 to 2.5

2019-01-28 Thread Eduardo Guadalupe
I suspect there is a concurrency issue with the DefaultJSONWriter implementation. I have overridden the JSONInterceptor so a new instance of JSONUtil is used with every request and the issue is not happening anymore. I suppose there is a performance cost with that change but for now it works. http