Bug 1128741

Summary: NPE during index-less query
Product: [JBoss] JBoss Data Grid 6 Reporter: Radim Vansa <rvansa>
Component: InfinispanAssignee: Tristan Tarrant <ttarrant>
Status: CLOSED CURRENTRELEASE QA Contact: Martin Gencur <mgencur>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.3.0CC: anistor, jdg-bugs, mhusnain, wburns
Target Milestone: ER1   
Target Release: 6.3.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1139620 (view as bug list) Environment:
Last Closed: 2015-01-26 14:03:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1139620    

Description Radim Vansa 2014-08-11 13:04:05 UTC
This NPE was thrown when executing index-less query in JDG 6.3.0.GA

09:02:47,590 WARN  [org.infinispan.iteration.DistributedEntryRetriever] (transport-thread-22) ISPN000300: There was an exception while processing retrieval of entry values
java.lang.NullPointerException
    at org.infinispan.iteration.DistributedEntryRetriever$IterationStatus.access$000(DistributedEntryRetriever.java:79)
    at org.infinispan.iteration.DistributedEntryRetriever.processData(DistributedEntryRetriever.java:785)
    at org.infinispan.iteration.DistributedEntryRetriever.access$400(DistributedEntryRetriever.java:69)
    at org.infinispan.iteration.DistributedEntryRetriever$5.handleBatch(DistributedEntryRetriever.java:506)
    at org.infinispan.iteration.DistributedEntryRetriever$3.run(DistributedEntryRetriever.java:409)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:744)

Comment 1 JBoss JIRA Server 2014-08-11 13:08:17 UTC
William Burns <wburns> updated the status of jira ISPN-4630 to Coding In Progress

Comment 3 Adrian Nistor 2014-08-11 15:05:53 UTC
Integrated in jdg-6.3.x and jdg-6.4.x

Comment 4 Radim Vansa 2014-08-14 08:18:43 UTC
Not fixed yet, latest jdg-6.3.x gives me:

17:40:53,427 WARN  [org.infinispan.iteration.DistributedEntryRetriever] (transport-thread-2) ISPN000300: There was an exception while processing retrieval of entry values
java.lang.NullPointerException
	at org.infinispan.iteration.DistributedEntryRetriever$IterationStatus.access$200(DistributedEntryRetriever.java:80)
	at org.infinispan.iteration.DistributedEntryRetriever.completeIteration(DistributedEntryRetriever.java:950)
	at org.infinispan.iteration.DistributedEntryRetriever.processData(DistributedEntryRetriever.java:919)
	at org.infinispan.iteration.DistributedEntryRetriever.access$400(DistributedEntryRetriever.java:70)
	at org.infinispan.iteration.DistributedEntryRetriever$5.handleBatch(DistributedEntryRetriever.java:517)
	at org.infinispan.iteration.DistributedEntryRetriever$3.run(DistributedEntryRetriever.java:415)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:744)

Comment 5 William Burns 2014-08-14 11:26:01 UTC
Ah good catch, this one is similar to the other one but a different area.  I will get this fixed and make sure there are no others like it.

Comment 6 JBoss JIRA Server 2014-08-14 11:29:01 UTC
William Burns <wburns> updated the status of jira ISPN-4630 to Reopened

Comment 7 JBoss JIRA Server 2014-08-14 11:55:41 UTC
William Burns <wburns> updated the status of jira ISPN-4630 to Coding In Progress

Comment 8 Adrian Nistor 2014-08-14 16:28:49 UTC
The additional fix is now merged in both jdg-6.3.x and jdg-6.4.x.

Comment 9 Radim Vansa 2014-08-28 13:17:48 UTC
Verified for 6.3.1.ER1