Bug 1153547 - NullPointerException when searching for nodes using globs
Summary: NullPointerException when searching for nodes using globs
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Data Virtualization 6
Classification: JBoss
Component: ModeShape
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ER4
: 6.1.0
Assignee: Horia Chiorean
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-16 07:59 UTC by Horia Chiorean
Modified: 2016-02-10 08:49 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-02-10 08:49:03 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker MODE-2338 0 Blocker Open Null pointer error when using Node#getNodes(glob) in a dirty session 2014-10-16 07:59:08 UTC

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.


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