[jira] [Created] (WW-5281) Getting InstantiatingNullHandler exception while using Struts2.5.30

2023-02-13 Thread swapnaponnam (Jira)
swapnaponnam created WW-5281:


 Summary: Getting InstantiatingNullHandler exception while using 
Struts2.5.30
 Key: WW-5281
 URL: https://issues.apache.org/jira/browse/WW-5281
 Project: Struts 2
  Issue Type: Bug
Reporter: swapnaponnam


Getting InstantiatingNullHandler exception while using Struts2.5.30


{code:java}
INFO  [STDOUT] 10:21:48.145 [http-0.0.0.0-8443-3] ERROR 
com.opensymphony.xwork2.conversion.impl.InstantiatingNullHandler - Could not 
create and/or set value back on to object
java.lang.InstantiationException: java.io.Serializable
        at java.lang.Class.newInstance(Class.java:427) ~[?:1.8.0_332]
        at 
com.opensymphony.xwork2.ObjectFactory.buildBean(ObjectFactory.java:154) 
~[struts2-core-2.5.30.jar:2.5.30]
        at 
com.opensymphony.xwork2.conversion.impl.InstantiatingNullHandler.createObject(InstantiatingNullHandler.java:152)
 ~[struts2-core-2.5.30.jar:2.5.30]
        at 
com.opensymphony.xwork2.conversion.impl.InstantiatingNullHandler.nullPropertyValue(InstantiatingNullHandler.java:128)
 ~[struts2-core-2.5.30.jar:2.5.30]
        at 
com.opensymphony.xwork2.ognl.OgnlNullHandlerWrapper.nullPropertyValue(OgnlNullHandlerWrapper.java:39)
 ~[struts2-core-2.5.30.jar:2.5.30]
        at ognl.ASTProperty.getValueBody(ASTProperty.java:125) 
~[ognl-3.1.29.jar:?]
        at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:212) 
~[ognl-3.1.29.jar:?]
        at ognl.SimpleNode.getValue(SimpleNode.java:258) ~[ognl-3.1.29.jar:?]
        at ognl.ASTChain.setValueBody(ASTChain.java:222) ~[ognl-3.1.29.jar:?]
        at ognl.SimpleNode.evaluateSetValueBody(SimpleNode.java:220) 
~[ognl-3.1.29.jar:?]
        at ognl.SimpleNode.setValue(SimpleNode.java:308) ~[ognl-3.1.29.jar:?]
        at ognl.Ognl.setValue(Ognl.java:780) ~[ognl-3.1.29.jar:?]
        at com.opensymphony.xwork2.ognl.OgnlUtil$1.execute(OgnlUtil.java:436) 
~[struts2-core-2.5.30.jar:2.5.30]
        at com.opensymphony.xwork2.ognl.OgnlUtil$1.execute(OgnlUtil.java:428) 
~[struts2-core-2.5.30.jar:2.5.30]
        at 
com.opensymphony.xwork2.ognl.OgnlUtil.compileAndExecute(OgnlUtil.java:523) 
~[struts2-core-2.5.30.jar:2.5.30]
        at com.opensymphony.xwork2.ognl.OgnlUtil.setValue(OgnlUtil.java:428) 
~[struts2-core-2.5.30.jar:2.5.30]
        at 
com.opensymphony.xwork2.ognl.OgnlValueStack.trySetValue(OgnlValueStack.java:186)
 ~[struts2-core-2.5.30.jar:2.5.30]
        at 
com.opensymphony.xwork2.ognl.OgnlValueStack.setValue(OgnlValueStack.java:173) 
~[struts2-core-2.5.30.jar:2.5.30]
        at 
com.opensymphony.xwork2.ognl.OgnlValueStack.setParameter(OgnlValueStack.java:157)
 ~[struts2-core-2.5.30.jar:2.5.30]
        at 
com.opensymphony.xwork2.interceptor.ParametersInterceptor.setParameters(ParametersInterceptor.java:214)
 ~[struts2-core-2.5.30.jar:2.5.30]
        at 
com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:132)
 ~[struts2-core-2.5.30.jar:2.5.30]
        at 
com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:99)
 ~[struts2-core-2.5.30.jar:2.5.30]
        at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
 ~[struts2-core-2.5.30.jar:2.5.30]
        at 
com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:140)
 ~[struts2-core-2.5.30.jar:2.5.30]
        at 
com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:99)
 ~[struts2-core-2.5.30.jar:2.5.30]
        at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
 ~[struts2-core-2.5.30.jar:2.5.30]
        at 
com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:201)
 ~[struts2-core-2.5.30.jar:2.5.30]
        at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
 ~[struts2-core-2.5.30.jar:2.5.30]
        at 
org.apache.struts2.interceptor.MultiselectInterceptor.intercept(MultiselectInterceptor.java:67)
 ~[struts2-core-2.5.30.jar:2.5.30]
        at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
 ~[struts2-core-2.5.30.jar:2.5.30]
        at 
org.apache.struts2.interceptor.DateTextFieldInterceptor.intercept(DateTextFieldInterceptor.java:133)
 ~[struts2-core-2.5.30.jar:2.5.30]
        at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
 ~[struts2-core-2.5.30.jar:2.5.30]
        at 
org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:89)
 ~[struts2-core-2.5.30.jar:2.5.30]
        at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
 ~[struts2-core-2.5.30.jar:2.5.30]
        at 
org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:321)
 ~[stru

[jira] [Created] (WW-5282) Is Struts6 compatible with Jboss 5.1 w.r.t Servlet-APi jar ?

2023-02-13 Thread swapnaponnam (Jira)
swapnaponnam created WW-5282:


 Summary: Is Struts6 compatible with Jboss 5.1 w.r.t Servlet-APi 
jar ?
 Key: WW-5282
 URL: https://issues.apache.org/jira/browse/WW-5282
 Project: Struts 2
  Issue Type: Bug
Reporter: swapnaponnam


Currently our application is running on Jboss5.1  and  noticed that Jboss5.1 
had Servlet-APi V2.5. Planning to upgrade to Struts6 which has Servlet-Api V3.1 
so that Could someone please confirm, Is Struts6 compatible with Jboss 5.1 
w.r.t Servlet-APi jar ?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Closed] (WW-5282) Is Struts6 compatible with Jboss 5.1 w.r.t Servlet-APi jar ?

2023-02-13 Thread Lukasz Lenart (Jira)


 [ 
https://issues.apache.org/jira/browse/WW-5282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lukasz Lenart closed WW-5282.
-
Resolution: Not A Problem

Struts 6.x and above requires Servlet API 3.1 which means it isn't compatible 
with JBoss 5.1 - first you must upgrade your JBoss instance and then migrate to 
the new version of Struts.

Next time please ask such questions on the User Mailing List (you must 
subscribe first):

https://struts.apache.org/mail.html

> Is Struts6 compatible with Jboss 5.1 w.r.t Servlet-APi jar ?
> 
>
> Key: WW-5282
> URL: https://issues.apache.org/jira/browse/WW-5282
> Project: Struts 2
>  Issue Type: Bug
>Reporter: swapnaponnam
>Priority: Major
>
> Currently our application is running on Jboss5.1  and  noticed that Jboss5.1 
> had Servlet-APi V2.5. Planning to upgrade to Struts6 which has Servlet-Api 
> V3.1 so that Could someone please confirm, Is Struts6 compatible with Jboss 
> 5.1 w.r.t Servlet-APi jar ?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Closed] (WW-5281) Getting InstantiatingNullHandler exception while using Struts2.5.30

2023-02-13 Thread Lukasz Lenart (Jira)


 [ 
https://issues.apache.org/jira/browse/WW-5281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lukasz Lenart closed WW-5281.
-
Resolution: Not A Problem

Please ask such questions on the user mailing list first as hard to guess where 
is the problem. On the first spot it looks like serialisation issue so I would 
clean up Temp/Sessions folder first.

[https://struts.apache.org/mail.html]

> Getting InstantiatingNullHandler exception while using Struts2.5.30
> ---
>
> Key: WW-5281
> URL: https://issues.apache.org/jira/browse/WW-5281
> Project: Struts 2
>  Issue Type: Bug
>Reporter: swapnaponnam
>Priority: Major
>
> Getting InstantiatingNullHandler exception while using Struts2.5.30
> {code:java}
> INFO  [STDOUT] 10:21:48.145 [http-0.0.0.0-8443-3] ERROR 
> com.opensymphony.xwork2.conversion.impl.InstantiatingNullHandler - Could not 
> create and/or set value back on to object
> java.lang.InstantiationException: java.io.Serializable
>         at java.lang.Class.newInstance(Class.java:427) ~[?:1.8.0_332]
>         at 
> com.opensymphony.xwork2.ObjectFactory.buildBean(ObjectFactory.java:154) 
> ~[struts2-core-2.5.30.jar:2.5.30]
>         at 
> com.opensymphony.xwork2.conversion.impl.InstantiatingNullHandler.createObject(InstantiatingNullHandler.java:152)
>  ~[struts2-core-2.5.30.jar:2.5.30]
>         at 
> com.opensymphony.xwork2.conversion.impl.InstantiatingNullHandler.nullPropertyValue(InstantiatingNullHandler.java:128)
>  ~[struts2-core-2.5.30.jar:2.5.30]
>         at 
> com.opensymphony.xwork2.ognl.OgnlNullHandlerWrapper.nullPropertyValue(OgnlNullHandlerWrapper.java:39)
>  ~[struts2-core-2.5.30.jar:2.5.30]
>         at ognl.ASTProperty.getValueBody(ASTProperty.java:125) 
> ~[ognl-3.1.29.jar:?]
>         at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:212) 
> ~[ognl-3.1.29.jar:?]
>         at ognl.SimpleNode.getValue(SimpleNode.java:258) ~[ognl-3.1.29.jar:?]
>         at ognl.ASTChain.setValueBody(ASTChain.java:222) ~[ognl-3.1.29.jar:?]
>         at ognl.SimpleNode.evaluateSetValueBody(SimpleNode.java:220) 
> ~[ognl-3.1.29.jar:?]
>         at ognl.SimpleNode.setValue(SimpleNode.java:308) ~[ognl-3.1.29.jar:?]
>         at ognl.Ognl.setValue(Ognl.java:780) ~[ognl-3.1.29.jar:?]
>         at com.opensymphony.xwork2.ognl.OgnlUtil$1.execute(OgnlUtil.java:436) 
> ~[struts2-core-2.5.30.jar:2.5.30]
>         at com.opensymphony.xwork2.ognl.OgnlUtil$1.execute(OgnlUtil.java:428) 
> ~[struts2-core-2.5.30.jar:2.5.30]
>         at 
> com.opensymphony.xwork2.ognl.OgnlUtil.compileAndExecute(OgnlUtil.java:523) 
> ~[struts2-core-2.5.30.jar:2.5.30]
>         at com.opensymphony.xwork2.ognl.OgnlUtil.setValue(OgnlUtil.java:428) 
> ~[struts2-core-2.5.30.jar:2.5.30]
>         at 
> com.opensymphony.xwork2.ognl.OgnlValueStack.trySetValue(OgnlValueStack.java:186)
>  ~[struts2-core-2.5.30.jar:2.5.30]
>         at 
> com.opensymphony.xwork2.ognl.OgnlValueStack.setValue(OgnlValueStack.java:173) 
> ~[struts2-core-2.5.30.jar:2.5.30]
>         at 
> com.opensymphony.xwork2.ognl.OgnlValueStack.setParameter(OgnlValueStack.java:157)
>  ~[struts2-core-2.5.30.jar:2.5.30]
>         at 
> com.opensymphony.xwork2.interceptor.ParametersInterceptor.setParameters(ParametersInterceptor.java:214)
>  ~[struts2-core-2.5.30.jar:2.5.30]
>         at 
> com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:132)
>  ~[struts2-core-2.5.30.jar:2.5.30]
>         at 
> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:99)
>  ~[struts2-core-2.5.30.jar:2.5.30]
>         at 
> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
>  ~[struts2-core-2.5.30.jar:2.5.30]
>         at 
> com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:140)
>  ~[struts2-core-2.5.30.jar:2.5.30]
>         at 
> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:99)
>  ~[struts2-core-2.5.30.jar:2.5.30]
>         at 
> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
>  ~[struts2-core-2.5.30.jar:2.5.30]
>         at 
> com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:201)
>  ~[struts2-core-2.5.30.jar:2.5.30]
>         at 
> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
>  ~[struts2-core-2.5.30.jar:2.5.30]
>         at 
> org.apache.struts2.interceptor.MultiselectInterceptor.intercept(MultiselectInterceptor.java:67)
>  ~[struts2-core-2.5.30.jar:2.5.30]
>         at 
> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
>  ~[struts2-core-2.5.30.jar:2.5.30]
>         at 
> org.apache.struts2.in

[jira] [Created] (WW-5283) Update Struts Archetypes

2023-02-13 Thread Lukasz Lenart (Jira)
Lukasz Lenart created WW-5283:
-

 Summary: Update Struts Archetypes
 Key: WW-5283
 URL: https://issues.apache.org/jira/browse/WW-5283
 Project: Struts 2
  Issue Type: Improvement
  Components: Maven Archetypes
Reporter: Lukasz Lenart
 Fix For: 6.2.0


Upgrade Struts version used by all the archetypes



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (WW-5283) Update Struts Archetypes

2023-02-13 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/WW-5283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17688332#comment-17688332
 ] 

ASF subversion and git services commented on WW-5283:
-

Commit c25cb386ff56ecd17d34214f39cb55e76a2d60e8 in struts-archetypes's branch 
refs/heads/WW-5283-update from Lukasz Lenart
[ https://gitbox.apache.org/repos/asf?p=struts-archetypes.git;h=c25cb38 ]

WW-5283 Upgrade Struts archetypes to use the latest Struts version


> Update Struts Archetypes
> 
>
> Key: WW-5283
> URL: https://issues.apache.org/jira/browse/WW-5283
> Project: Struts 2
>  Issue Type: Improvement
>  Components: Maven Archetypes
>Reporter: Lukasz Lenart
>Assignee: Lukasz Lenart
>Priority: Minor
> Fix For: 6.2.0
>
>
> Upgrade Struts version used by all the archetypes



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Assigned] (WW-5283) Update Struts Archetypes

2023-02-13 Thread Lukasz Lenart (Jira)


 [ 
https://issues.apache.org/jira/browse/WW-5283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lukasz Lenart reassigned WW-5283:
-

Assignee: Lukasz Lenart

> Update Struts Archetypes
> 
>
> Key: WW-5283
> URL: https://issues.apache.org/jira/browse/WW-5283
> Project: Struts 2
>  Issue Type: Improvement
>  Components: Maven Archetypes
>Reporter: Lukasz Lenart
>Assignee: Lukasz Lenart
>Priority: Minor
> Fix For: 6.2.0
>
>
> Upgrade Struts version used by all the archetypes



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (WW-5283) Update Struts Archetypes

2023-02-13 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/WW-5283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17688333#comment-17688333
 ] 

ASF GitHub Bot commented on WW-5283:


lukaszlenart opened a new pull request, #8:
URL: https://github.com/apache/struts-archetypes/pull/8

   Closes [WW-5283](https://issues.apache.org/jira/browse/WW-5283)




> Update Struts Archetypes
> 
>
> Key: WW-5283
> URL: https://issues.apache.org/jira/browse/WW-5283
> Project: Struts 2
>  Issue Type: Improvement
>  Components: Maven Archetypes
>Reporter: Lukasz Lenart
>Assignee: Lukasz Lenart
>Priority: Minor
> Fix For: 6.2.0
>
>
> Upgrade Struts version used by all the archetypes



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (WW-5283) Update Struts Archetypes

2023-02-13 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/WW-5283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17688335#comment-17688335
 ] 

ASF subversion and git services commented on WW-5283:
-

Commit 06e19c0e31c1303a8cd1afdbae2d1def48b5feef in struts-archetypes's branch 
refs/heads/WW-5283-update from Lukasz Lenart
[ https://gitbox.apache.org/repos/asf?p=struts-archetypes.git;h=06e19c0 ]

WW-5283 Extracts Jetty version into property


> Update Struts Archetypes
> 
>
> Key: WW-5283
> URL: https://issues.apache.org/jira/browse/WW-5283
> Project: Struts 2
>  Issue Type: Improvement
>  Components: Maven Archetypes
>Reporter: Lukasz Lenart
>Assignee: Lukasz Lenart
>Priority: Minor
> Fix For: 6.2.0
>
>
> Upgrade Struts version used by all the archetypes



--
This message was sent by Atlassian Jira
(v8.20.10#820010)