[jbossts-issues] [JBoss JIRA] (JBTM-2865) Cache store can get an NPE as work is accessed outside of _workList lock

Tom Jenkinson (JIRA) issues at jboss.org
Wed Mar 15 10:56:00 EDT 2017


    [ https://issues.jboss.org/browse/JBTM-2865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13378524#comment-13378524 ] 

Tom Jenkinson commented on JBTM-2865:
-------------------------------------

Need a breakpoint on CacheStore:577 (may want to break lines on _work.objUid which is the NPE - or the .state) and CacheStore:741

> Cache store can get an NPE as work is accessed outside of _workList lock
> ------------------------------------------------------------------------
>
>                 Key: JBTM-2865
>                 URL: https://issues.jboss.org/browse/JBTM-2865
>             Project: JBoss Transaction Manager
>          Issue Type: Bug
>            Reporter: Tom Jenkinson
>            Assignee: Tom Jenkinson
>
> {code}
> java.lang.NullPointerException
> 	at com.arjuna.ats.internal.arjuna.objectstore.AsyncStore.getState(CacheStore.java:579)
> 	at com.arjuna.ats.internal.arjuna.objectstore.CacheStore.read_state(CacheStore.java:130)
> 	at com.arjuna.ats.internal.arjuna.objectstore.FileSystemStore.read_state_internal(FileSystemStore.java:331)
> 	at com.arjuna.ats.internal.arjuna.objectstore.FileSystemStore.read_committed(FileSystemStore.java:103)
> 	at com.hp.mwtests.ts.arjuna.objectstore.ThreadWriter.run(CachedTest.java:69)
> {code}



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jbossts-issues mailing list