struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-5009) EmptyStackException in JSON plugin due to concurrency
Date Tue, 05 Feb 2019 11:09:01 GMT

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

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

Commit f3fb36b8347e1d67b1957fe7b573bad8a1e0b484 in struts's branch refs/heads/master from
Yasser Zamani
[ https://gitbox.apache.org/repos/asf?p=struts.git;h=f3fb36b ]

Merge pull request #329 from aleksandr-m/feature/WW-5009_master

WW-5009 EmptyStackException in JSON plugin due to concurrency

> 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)

Mime
View raw message