You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@juneau.apache.org by "James Bognar (Jira)" <ji...@apache.org> on 2020/01/11 16:07:00 UTC

[jira] [Closed] (JUNEAU-176) Race condition when parsing into array types.

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

James Bognar closed JUNEAU-176.
-------------------------------
    Resolution: Fixed

> Race condition when parsing into array types.
> ---------------------------------------------
>
>                 Key: JUNEAU-176
>                 URL: https://issues.apache.org/jira/browse/JUNEAU-176
>             Project: Juneau
>          Issue Type: Bug
>          Components: Code
>    Affects Versions: 8.0.0
>            Reporter: James Bognar
>            Assignee: James Bognar
>            Priority: Major
>             Fix For: 8.1.3
>
>
> It's possible to hit an initialization race condition when trying to run the following code in more than about 5 concurrent threads:
> JsonParser.DEFAULT.parse(input, MyBean[].class);
> It shows up as an error "Could not create bean.  Reason=[null]".
> The problem quickly resolves itself after the initial errors.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)