wt., 29 sty 2019 o 12:04 Yasser Zamani napisał(a):
> Yes I recently learnt it but I always logically had this assumption: When
> bean A needs bean B to be injected and B's type is `prototype`, then Struts
> internal injection cycle always re-inject a new instance of B into A
> regardless if A's
9 11:04:21, Yasser Zamani wrote:
> >From: Lukasz Lenart
> >Sent: Tuesday, January 29, 2019 2:18 PM
> >To: Struts Users Mailing List
> >Subject: Re: EmptyStackException after upgrading Struts 2.3 to 2.5
> >
> >wt., 29 sty 2019 o 11:30 Yasser Zamani napisał(a):
>
>From: Lukasz Lenart
>Sent: Tuesday, January 29, 2019 2:18 PM
>To: Struts Users Mailing List
>Subject: Re: EmptyStackException after upgrading Struts 2.3 to 2.5
>
>wt., 29 sty 2019 o 11:30 Yasser Zamani napisał(a):
>> Yes you both are right. It looks like a race condi
wt., 29 sty 2019 o 11:30 Yasser Zamani napisał(a):
> Yes you both are right. It looks like a race condition between stack.clear
> and stack.write [1]. But somehow it's odd. I was aware about this and defined
> them as prototype [2] so I except new instance on each request. I also can
> recall I
Message-
>From: Lukasz Lenart
>Sent: Monday, January 28, 2019 10:35 PM
>To: Struts Users Mailing List
>Subject: Re: EmptyStackException after upgrading Struts 2.3 to 2.5
>
>Hi,
>
>I think you are right, it's probably a side effect of changes related to this
>
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
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
7 matches
Mail list logo