Bug 895148 - NPE in StateConsumerImpl.addUpdatedKey
Summary: NPE in StateConsumerImpl.addUpdatedKey
Keywords:
Status: VERIFIED
Alias: None
Product: JBoss Data Grid 6
Classification: JBoss
Component: Infinispan
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ER9
: 6.1.0
Assignee: Tristan Tarrant
QA Contact: Nobody
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-14 17:22 UTC by Michal Linhard
Modified: 2014-03-17 04:04 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker ISPN-2711 0 Major Resolved NPE in StateConsumerImpl.addUpdatedKey 2013-01-23 14:29:34 UTC

Description Michal Linhard 2013-01-14 17:22:27 UTC
Found in elasticity 1-4-1 test with JDG 6.1.0.ER8.1

see ISPN-2711

Comment 1 JBoss JIRA Server 2013-01-15 14:46:19 UTC
Adrian Nistor <anistor> made a comment on jira ISPN-2711

I've located the problem in addUpdatedKey. The variable needs a local copy before null checking. Same problem in method isKeyUpdated ... Thanks for finding this!

Comment 2 Michal Linhard 2013-01-23 14:29:29 UTC
This bug depends on a race condition and doesn't occur in 100% of cases, but I don't think it's worth running the test 5 times for it.

I haven't seen it in JDG 6.1.0.ER9 elasticity 1-4-1 dist mode test though, so I'm marking this verified.


Note You need to log in before you can comment on or make changes to this bug.