juneau-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Bognar (Jira)" <j...@apache.org>
Subject [jira] [Closed] (JUNEAU-176) Race condition when parsing into array types.
Date Sat, 11 Jan 2020 16:07:00 GMT

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

Mime
View raw message