aries-dev 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] (ARIES-1689) JpaInterceptor is not thread safe
Date Tue, 07 Mar 2017 05:30:33 GMT

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

ASF subversion and git services commented on ARIES-1689:
--------------------------------------------------------

Commit 1785796 from [~chris@die-schneider.net] in branch 'aries/trunk'
[ https://svn.apache.org/r1785796 ]

Revert "[ARIES-1689] Fix initialization"

This was broken. Reverting to Guiseppes solution.

> JpaInterceptor is not thread safe
> ---------------------------------
>
>                 Key: ARIES-1689
>                 URL: https://issues.apache.org/jira/browse/ARIES-1689
>             Project: Aries
>          Issue Type: Bug
>          Components: JPA
>    Affects Versions: jpa-2.4.0, jpa-2.5.0
>            Reporter: Giuseppe Gerla
>            Assignee: Giuseppe Gerla
>             Fix For: jpa-2.7.0
>
>
> If two thread try to access to JpaInterceptor could happen that first thread set the
value of coordinator but not yet the em. The second one found the coordinator setted and try
to access to em.
> NullPointerException is raised



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message