Bug 1153547

Summary: NullPointerException when searching for nodes using globs
Product: [JBoss] JBoss Data Virtualization 6 Reporter: Horia Chiorean <hchiorea>
Component: ModeShapeAssignee: Horia Chiorean <hchiorea>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.1.0CC: felias, fnguyen, vhalbert
Target Milestone: ER4Keywords: QA-Closed
Target Release: 6.1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-10 08:49:03 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:

Description Horia Chiorean 2014-10-16 07:59:08 UTC
When searching for nodes using globs - e.g. node.getNodes("my*") - the following exception occurs:

java.lang.NullPointerException
	at org.modeshape.jcr.cache.ChildReferences$WithChanges.consume(ChildReferences.java:528)
	at org.modeshape.jcr.cache.document.AbstractChildReferences$1.next(AbstractChildReferences.java:110)
	at org.modeshape.jcr.cache.document.AbstractChildReferences$1.next(AbstractChildReferences.java:100)
	at org.modeshape.jcr.cache.document.UnionIterator.next(UnionIterator.java:68)
	at org.modeshape.jcr.cache.document.DelegatingIterator.next(DelegatingIterator.java:47)
	at org.modeshape.jcr.cache.document.PatternIterator.hasNext(PatternIterator.java:54)
	at org.modeshape.jcr.JcrChildNodeIterator.hasNext(JcrChildNodeIterator.java:97)

Comment 1 Horia Chiorean 2014-10-20 13:38:14 UTC
Merged upstream (ffa7bfa9b735d2cd5c36049c1d52bf464560c8ba). Should be part of ER4.