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)
Merged upstream (ffa7bfa9b735d2cd5c36049c1d52bf464560c8ba). Should be part of ER4.