[jira] [Commented] (WW-5009) EmptyStackException in JSON plugin due to concurrency

2019-02-03 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on WW-5009:


aleksandr-m commented on pull request #329: WW-5009 EmptyStackException in JSON 
plugin due to concurrency
URL: https://github.com/apache/struts/pull/329
 
 
   
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> EmptyStackException in JSON plugin due to concurrency
> -
>
> Key: WW-5009
> URL: https://issues.apache.org/jira/browse/WW-5009
> Project: Struts 2
>  Issue Type: Bug
>  Components: Plugin - JSON
>Affects Versions: 2.5.20
> Environment: JDK 1.8_0_191
> Tomcat 9.0.12
>Reporter: Eduardo Quintanilla
>Assignee: Aleksandr Mashchenko
>Priority: Critical
>  Labels: json, json-rpc
> Fix For: 2.5.21, 2.6
>
> Attachments: logs.txt, struts-json-example-master.zip
>
>
> EmptyStackException in JSON plugin due to concurrency
> Note: The issue was found in an app that was upgraded from version 2.3.34 
> Logs: [^logs.txt]
> I created a sample application that should help reproducing the error.
> [^struts-json-example-master.zip]
> The error happened opening the app (localhost/struts-json-example) in 4 
> different browsers / sessions.
> As a workaround 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.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (WW-5004) No more calling of a static variable in Struts 2.8.20 available

2019-02-03 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on WW-5004:


lukaszlenart commented on pull request #327: [WW-5004] Fixes changing 
"struts.ognl.allowStaticMethodAccess"
URL: https://github.com/apache/struts/pull/327
 
 
   
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> No more calling of a static variable in Struts 2.8.20 available
> ---
>
> Key: WW-5004
> URL: https://issues.apache.org/jira/browse/WW-5004
> Project: Struts 2
>  Issue Type: Bug
>  Components: Core
>Affects Versions: 2.5.20
> Environment: Java 7.1 and JSP Websites
>Reporter: Deniz Renkligül
>Priority: Critical
>  Labels: build, features, patch, usability
> Fix For: 2.5.21, 2.6
>
>
> After the update from Struts 2.5.18 to 2.5.20 it is not more possible to call 
> a java static variable in JSP like
> {code:java}
> 
> {code}
> Please see for more details the release notes of 2.5.20
>  [link 
> https://cwiki.apache.org/confluence/display/WW/Version+Notes+2.5.20|https://cwiki.apache.org/confluence/display/WW/Version+Notes+2.5.20]
>  and I tried without success the following description assigned above in the 
> release version notes 2.5.20 with :
> {code:java}
> 
> 
> {code}
>  https://issues.apache.org/jira/browse/WW-4984
>  
> Thanks in advance for your support.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Assigned] (WW-5009) EmptyStackException in JSON plugin due to concurrency

2019-02-03 Thread Yasser Zamani (JIRA)


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

Yasser Zamani reassigned WW-5009:
-

Assignee: Aleksandr Mashchenko  (was: Yasser Zamani)

> EmptyStackException in JSON plugin due to concurrency
> -
>
> Key: WW-5009
> URL: https://issues.apache.org/jira/browse/WW-5009
> Project: Struts 2
>  Issue Type: Bug
>  Components: Plugin - JSON
>Affects Versions: 2.5.20
> Environment: JDK 1.8_0_191
> Tomcat 9.0.12
>Reporter: Eduardo Quintanilla
>Assignee: Aleksandr Mashchenko
>Priority: Critical
>  Labels: json, json-rpc
> Fix For: 2.5.21, 2.6
>
> Attachments: logs.txt, struts-json-example-master.zip
>
>
> EmptyStackException in JSON plugin due to concurrency
> Note: The issue was found in an app that was upgraded from version 2.3.34 
> Logs: [^logs.txt]
> I created a sample application that should help reproducing the error.
> [^struts-json-example-master.zip]
> The error happened opening the app (localhost/struts-json-example) in 4 
> different browsers / sessions.
> As a workaround 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.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Reopened] (WW-5004) No more calling of a static variable in Struts 2.8.20 available

2019-02-03 Thread Yasser Zamani (JIRA)


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

Yasser Zamani reopened WW-5004:
---

Reopened to waiting for merge of [GitHub Pull Request 
#327|https://github.com/apache/struts/pull/327]

> No more calling of a static variable in Struts 2.8.20 available
> ---
>
> Key: WW-5004
> URL: https://issues.apache.org/jira/browse/WW-5004
> Project: Struts 2
>  Issue Type: Bug
>  Components: Core
>Affects Versions: 2.5.20
> Environment: Java 7.1 and JSP Websites
>Reporter: Deniz Renkligül
>Priority: Critical
>  Labels: build, features, patch, usability
> Fix For: 2.5.21, 2.6
>
>
> After the update from Struts 2.5.18 to 2.5.20 it is not more possible to call 
> a java static variable in JSP like
> {code:java}
> 
> {code}
> Please see for more details the release notes of 2.5.20
>  [link 
> https://cwiki.apache.org/confluence/display/WW/Version+Notes+2.5.20|https://cwiki.apache.org/confluence/display/WW/Version+Notes+2.5.20]
>  and I tried without success the following description assigned above in the 
> release version notes 2.5.20 with :
> {code:java}
> 
> 
> {code}
>  https://issues.apache.org/jira/browse/WW-4984
>  
> Thanks in advance for your support.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (WW-5009) EmptyStackException in JSON plugin due to concurrency

2019-02-03 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on WW-5009:


aleksandr-m commented on pull request #328: WW-5009 EmptyStackException in JSON 
plugin due to concurrency
URL: https://github.com/apache/struts/pull/328
 
 
   @yasserzamani I know that you've assigned that issue to yourself, but I 
think it is the most simple solution that we can merge in 2.5.x branch. Can you 
take a look.
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> EmptyStackException in JSON plugin due to concurrency
> -
>
> Key: WW-5009
> URL: https://issues.apache.org/jira/browse/WW-5009
> Project: Struts 2
>  Issue Type: Bug
>  Components: Plugin - JSON
>Affects Versions: 2.5.20
> Environment: JDK 1.8_0_191
> Tomcat 9.0.12
>Reporter: Eduardo Quintanilla
>Assignee: Yasser Zamani
>Priority: Critical
>  Labels: json, json-rpc
> Fix For: 2.5.21, 2.6
>
> Attachments: logs.txt, struts-json-example-master.zip
>
>
> EmptyStackException in JSON plugin due to concurrency
> Note: The issue was found in an app that was upgraded from version 2.3.34 
> Logs: [^logs.txt]
> I created a sample application that should help reproducing the error.
> [^struts-json-example-master.zip]
> The error happened opening the app (localhost/struts-json-example) in 4 
> different browsers / sessions.
> As a workaround 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.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (WW-5004) No more calling of a static variable in Struts 2.8.20 available

2019-02-03 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on WW-5004:


lukaszlenart commented on pull request #327: [WW-5004] Fixes changing 
"struts.ognl.allowStaticMethodAccess"
URL: https://github.com/apache/struts/pull/327
 
 
   This PR relates to [WW-5004](https://issues.apache.org/jira/browse/WW-5004) 
to allow change the flag to a non-default value.
   
   See #317  for discussion
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> No more calling of a static variable in Struts 2.8.20 available
> ---
>
> Key: WW-5004
> URL: https://issues.apache.org/jira/browse/WW-5004
> Project: Struts 2
>  Issue Type: Bug
>  Components: Core
>Affects Versions: 2.5.20
> Environment: Java 7.1 and JSP Websites
>Reporter: Deniz Renkligül
>Priority: Critical
>  Labels: build, features, patch, usability
> Fix For: 2.5.21, 2.6
>
>
> After the update from Struts 2.5.18 to 2.5.20 it is not more possible to call 
> a java static variable in JSP like
> {code:java}
> 
> {code}
> Please see for more details the release notes of 2.5.20
>  [link 
> https://cwiki.apache.org/confluence/display/WW/Version+Notes+2.5.20|https://cwiki.apache.org/confluence/display/WW/Version+Notes+2.5.20]
>  and I tried without success the following description assigned above in the 
> release version notes 2.5.20 with :
> {code:java}
> 
> 
> {code}
>  https://issues.apache.org/jira/browse/WW-4984
>  
> Thanks in advance for your support.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (WW-5004) No more calling of a static variable in Struts 2.8.20 available

2019-02-03 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on WW-5004:


lukaszlenart commented on pull request #317: [WW-5004] Fixes changing 
"struts.ognl.allowStaticMethodAccess"
URL: https://github.com/apache/struts/pull/317
 
 
   
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> No more calling of a static variable in Struts 2.8.20 available
> ---
>
> Key: WW-5004
> URL: https://issues.apache.org/jira/browse/WW-5004
> Project: Struts 2
>  Issue Type: Bug
>  Components: Core
>Affects Versions: 2.5.20
> Environment: Java 7.1 and JSP Websites
>Reporter: Deniz Renkligül
>Priority: Critical
>  Labels: build, features, patch, usability
> Fix For: 2.5.21, 2.6
>
>
> After the update from Struts 2.5.18 to 2.5.20 it is not more possible to call 
> a java static variable in JSP like
> {code:java}
> 
> {code}
> Please see for more details the release notes of 2.5.20
>  [link 
> https://cwiki.apache.org/confluence/display/WW/Version+Notes+2.5.20|https://cwiki.apache.org/confluence/display/WW/Version+Notes+2.5.20]
>  and I tried without success the following description assigned above in the 
> release version notes 2.5.20 with :
> {code:java}
> 
> 
> {code}
>  https://issues.apache.org/jira/browse/WW-4984
>  
> Thanks in advance for your support.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)