scala.MatchError: [april] (of class java.util.Arrays$ArrayList)

Spring JIRA | Lasse Westh-Nielsen | 4 years ago
  1. 0

    There is a problem with Cypher queries using the IN keyword. Some collection types work: varargs Some do not: Set, List We should 1) test what works and what doesn't 2) add support for obvious things (Set, List at least) 3) we should document the above Some code to reproduce: {code}@NodeEntity class Mother { @GraphId Long id; @RelatedTo(type = "CHILD") Set<Child> children; Mother() { } Mother(Child... children) { this.children = new HashSet<Child>(asList(children)); } } @NodeEntity class Child { @GraphId Long id; int age; long eyeColour; String month; Child() { } public Child(int age, long eyeColour, String month) { this.age = age; this.eyeColour = eyeColour; this.month = month; } } class EyeColour { static long Brown = 42l; static long GREEN = 87l; static long BLUE = 23l; } interface MotherRepository extends GraphRepository<Mother> { @Query("start mom=node({0}) match mom-[:CHILD]->child where child.age in {1} return child") Set<Child> childrenByAges(long id, int... ages); @Query("start mom=node({id}) match mom-[:CHILD]->child where child.eyeColour in {foo} return child") Set<Child> childrenByColour(@Param("id") long id, @Param("foo")long[] colours); @Query("start mom=node({0}) match mom-[:CHILD]->child where child.month in {1} return child") Set<Child> childrenByMonth(long id, List<String> months); } @RunWith(SpringJUnit4ClassRunner.class) @ContextConfiguration @Transactional public class InKeywordTests { @Configuration @EnableNeo4jRepositories static class TestConfig extends Neo4jConfiguration { @Bean GraphDatabaseService graphDatabaseService() { return new ImpermanentGraphDatabase(); } } @Autowired private MotherRepository motherRepository; @Test public void shouldFindChildrenUsingInKeyword() throws Exception { Mother mother = motherRepository.save(new Mother(new Child(3, EyeColour.Brown, "april"), new Child(4, EyeColour.GREEN, "may"), new Child(7, EyeColour.BLUE, "april"))); assertThat(motherRepository.childrenByAges(mother.id, 3, 4).size(), is(2)); assertThat(motherRepository.childrenByColour(mother.id, new long[]{EyeColour.Brown, EyeColour.BLUE}).size(), is(2)); assertThat(motherRepository.childrenByMonth(mother.id, asList("april")).size(), is(2)); } }{code} Output: {noformat}scala.MatchError: [april] (of class java.util.Arrays$ArrayList) at org.neo4j.cypher.internal.commands.InIterable.isMatch(InIterable.scala:30) at org.neo4j.cypher.internal.pipes.matching.SimplePatternMatcherBuilder$$anonfun$getMatches$1$$anonfun$apply$3.apply(SimplePatternMatcherBuilder.scala:86) at org.neo4j.cypher.internal.pipes.matching.SimplePatternMatcherBuilder$$anonfun$getMatches$1$$anonfun$apply$3.apply(SimplePatternMatcherBuilder.scala:86) at scala.collection.LinearSeqOptimized$class.forall(LinearSeqOptimized.scala:69) at scala.collection.immutable.List.forall(List.scala:45) at org.neo4j.cypher.internal.pipes.matching.SimplePatternMatcherBuilder$$anonfun$getMatches$1.apply(SimplePatternMatcherBuilder.scala:86) at org.neo4j.cypher.internal.pipes.matching.SimplePatternMatcherBuilder$$anonfun$getMatches$1.apply(SimplePatternMatcherBuilder.scala:78) at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:200) at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:200) at scala.collection.Iterator$class.foreach(Iterator.scala:652) at scala.collection.JavaConversions$JIteratorWrapper.foreach(JavaConversions.scala:573) at scala.collection.IterableLike$class.foreach(IterableLike.scala:73) at scala.collection.JavaConversions$JIterableWrapper.foreach(JavaConversions.scala:587) at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:200) at scala.collection.JavaConversions$JIterableWrapper.flatMap(JavaConversions.scala:587) at org.neo4j.cypher.internal.pipes.matching.SimplePatternMatcherBuilder.getMatches(SimplePatternMatcherBuilder.scala:78) at org.neo4j.cypher.internal.pipes.matching.MatchingContext.getMatches(MatchingContext.scala:52) at org.neo4j.cypher.internal.pipes.MatchPipe$$anonfun$createResults$1.apply(MatchPipe.scala:33) at org.neo4j.cypher.internal.pipes.MatchPipe$$anonfun$createResults$1.apply(MatchPipe.scala:32) at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:200) at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:200) at scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scala:59) at scala.collection.immutable.List.foreach(List.scala:45) at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:200) at scala.collection.immutable.List.flatMap(List.scala:45) at org.neo4j.cypher.internal.pipes.MatchPipe.createResults(MatchPipe.scala:32) at org.neo4j.cypher.internal.pipes.FilterPipe.createResults(FilterPipe.scala:30) at org.neo4j.cypher.internal.pipes.ColumnFilterPipe.createResults(ColumnFilterPipe.scala:37) at org.neo4j.cypher.internal.executionplan.ExecutionPlanImpl$$anonfun$3$$anonfun$apply$1.apply(ExecutionPlanImpl.scala:62) at org.neo4j.cypher.internal.executionplan.ExecutionPlanImpl$$anonfun$3$$anonfun$apply$1.apply(ExecutionPlanImpl.scala:62) at org.neo4j.cypher.PipeExecutionResult.immutableResult(PipeExecutionResult.scala:36) at org.neo4j.cypher.PipeExecutionResult.iterator(PipeExecutionResult.scala:138) at org.neo4j.cypher.PipeExecutionResult.hasNext(PipeExecutionResult.scala:140) at scala.collection.Iterator$$anon$19.hasNext(Iterator.scala:334) at scala.collection.JavaConversions$IteratorWrapper.hasNext(JavaConversions.scala:562) at org.neo4j.helpers.collection.IteratorWrapper.hasNext(IteratorWrapper.java:42) at org.neo4j.helpers.collection.IteratorUtil.addToCollection(IteratorUtil.java:322) at org.neo4j.helpers.collection.IteratorUtil.addToCollection(IteratorUtil.java:341) at org.springframework.data.neo4j.repository.query.GraphRepositoryQuery.dispatchQuery(GraphRepositoryQuery.java:92) at org.springframework.data.neo4j.repository.query.GraphRepositoryQuery.execute(GraphRepositoryQuery.java:70) at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:313) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:155) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at cypher.in_keyword.$Proxy27.childrenByMonth(Unknown Source) at cypher.in_keyword.InKeywordTests.shouldFindChildrenUsingInKeyword(InKeywordTests.java:106) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74) at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:83) at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:231) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:88) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71) at org.junit.runners.ParentRunner.run(ParentRunner.java:300) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:174) at org.junit.runner.JUnitCore.run(JUnitCore.java:157) at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:76) at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:195) at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:63) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120) {noformat}

    Spring JIRA | 4 years ago | Lasse Westh-Nielsen
    scala.MatchError: [april] (of class java.util.Arrays$ArrayList)
  2. 0

    There is a problem with Cypher queries using the IN keyword. Some collection types work: varargs Some do not: Set, List We should 1) test what works and what doesn't 2) add support for obvious things (Set, List at least) 3) we should document the above Some code to reproduce: {code}@NodeEntity class Mother { @GraphId Long id; @RelatedTo(type = "CHILD") Set<Child> children; Mother() { } Mother(Child... children) { this.children = new HashSet<Child>(asList(children)); } } @NodeEntity class Child { @GraphId Long id; int age; long eyeColour; String month; Child() { } public Child(int age, long eyeColour, String month) { this.age = age; this.eyeColour = eyeColour; this.month = month; } } class EyeColour { static long Brown = 42l; static long GREEN = 87l; static long BLUE = 23l; } interface MotherRepository extends GraphRepository<Mother> { @Query("start mom=node({0}) match mom-[:CHILD]->child where child.age in {1} return child") Set<Child> childrenByAges(long id, int... ages); @Query("start mom=node({id}) match mom-[:CHILD]->child where child.eyeColour in {foo} return child") Set<Child> childrenByColour(@Param("id") long id, @Param("foo")long[] colours); @Query("start mom=node({0}) match mom-[:CHILD]->child where child.month in {1} return child") Set<Child> childrenByMonth(long id, List<String> months); } @RunWith(SpringJUnit4ClassRunner.class) @ContextConfiguration @Transactional public class InKeywordTests { @Configuration @EnableNeo4jRepositories static class TestConfig extends Neo4jConfiguration { @Bean GraphDatabaseService graphDatabaseService() { return new ImpermanentGraphDatabase(); } } @Autowired private MotherRepository motherRepository; @Test public void shouldFindChildrenUsingInKeyword() throws Exception { Mother mother = motherRepository.save(new Mother(new Child(3, EyeColour.Brown, "april"), new Child(4, EyeColour.GREEN, "may"), new Child(7, EyeColour.BLUE, "april"))); assertThat(motherRepository.childrenByAges(mother.id, 3, 4).size(), is(2)); assertThat(motherRepository.childrenByColour(mother.id, new long[]{EyeColour.Brown, EyeColour.BLUE}).size(), is(2)); assertThat(motherRepository.childrenByMonth(mother.id, asList("april")).size(), is(2)); } }{code} Output: {noformat}scala.MatchError: [april] (of class java.util.Arrays$ArrayList) at org.neo4j.cypher.internal.commands.InIterable.isMatch(InIterable.scala:30) at org.neo4j.cypher.internal.pipes.matching.SimplePatternMatcherBuilder$$anonfun$getMatches$1$$anonfun$apply$3.apply(SimplePatternMatcherBuilder.scala:86) at org.neo4j.cypher.internal.pipes.matching.SimplePatternMatcherBuilder$$anonfun$getMatches$1$$anonfun$apply$3.apply(SimplePatternMatcherBuilder.scala:86) at scala.collection.LinearSeqOptimized$class.forall(LinearSeqOptimized.scala:69) at scala.collection.immutable.List.forall(List.scala:45) at org.neo4j.cypher.internal.pipes.matching.SimplePatternMatcherBuilder$$anonfun$getMatches$1.apply(SimplePatternMatcherBuilder.scala:86) at org.neo4j.cypher.internal.pipes.matching.SimplePatternMatcherBuilder$$anonfun$getMatches$1.apply(SimplePatternMatcherBuilder.scala:78) at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:200) at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:200) at scala.collection.Iterator$class.foreach(Iterator.scala:652) at scala.collection.JavaConversions$JIteratorWrapper.foreach(JavaConversions.scala:573) at scala.collection.IterableLike$class.foreach(IterableLike.scala:73) at scala.collection.JavaConversions$JIterableWrapper.foreach(JavaConversions.scala:587) at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:200) at scala.collection.JavaConversions$JIterableWrapper.flatMap(JavaConversions.scala:587) at org.neo4j.cypher.internal.pipes.matching.SimplePatternMatcherBuilder.getMatches(SimplePatternMatcherBuilder.scala:78) at org.neo4j.cypher.internal.pipes.matching.MatchingContext.getMatches(MatchingContext.scala:52) at org.neo4j.cypher.internal.pipes.MatchPipe$$anonfun$createResults$1.apply(MatchPipe.scala:33) at org.neo4j.cypher.internal.pipes.MatchPipe$$anonfun$createResults$1.apply(MatchPipe.scala:32) at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:200) at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:200) at scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scala:59) at scala.collection.immutable.List.foreach(List.scala:45) at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:200) at scala.collection.immutable.List.flatMap(List.scala:45) at org.neo4j.cypher.internal.pipes.MatchPipe.createResults(MatchPipe.scala:32) at org.neo4j.cypher.internal.pipes.FilterPipe.createResults(FilterPipe.scala:30) at org.neo4j.cypher.internal.pipes.ColumnFilterPipe.createResults(ColumnFilterPipe.scala:37) at org.neo4j.cypher.internal.executionplan.ExecutionPlanImpl$$anonfun$3$$anonfun$apply$1.apply(ExecutionPlanImpl.scala:62) at org.neo4j.cypher.internal.executionplan.ExecutionPlanImpl$$anonfun$3$$anonfun$apply$1.apply(ExecutionPlanImpl.scala:62) at org.neo4j.cypher.PipeExecutionResult.immutableResult(PipeExecutionResult.scala:36) at org.neo4j.cypher.PipeExecutionResult.iterator(PipeExecutionResult.scala:138) at org.neo4j.cypher.PipeExecutionResult.hasNext(PipeExecutionResult.scala:140) at scala.collection.Iterator$$anon$19.hasNext(Iterator.scala:334) at scala.collection.JavaConversions$IteratorWrapper.hasNext(JavaConversions.scala:562) at org.neo4j.helpers.collection.IteratorWrapper.hasNext(IteratorWrapper.java:42) at org.neo4j.helpers.collection.IteratorUtil.addToCollection(IteratorUtil.java:322) at org.neo4j.helpers.collection.IteratorUtil.addToCollection(IteratorUtil.java:341) at org.springframework.data.neo4j.repository.query.GraphRepositoryQuery.dispatchQuery(GraphRepositoryQuery.java:92) at org.springframework.data.neo4j.repository.query.GraphRepositoryQuery.execute(GraphRepositoryQuery.java:70) at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:313) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:155) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at cypher.in_keyword.$Proxy27.childrenByMonth(Unknown Source) at cypher.in_keyword.InKeywordTests.shouldFindChildrenUsingInKeyword(InKeywordTests.java:106) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74) at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:83) at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:231) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:88) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71) at org.junit.runners.ParentRunner.run(ParentRunner.java:300) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:174) at org.junit.runner.JUnitCore.run(JUnitCore.java:157) at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:76) at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:195) at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:63) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120) {noformat}

    Spring JIRA | 4 years ago | Lasse Westh-Nielsen
    scala.MatchError: [april] (of class java.util.Arrays$ArrayList)
  3. 0

    FIRRTL Match Error when building in vsim

    GitHub | 2 months ago | zhemao
    scala.MatchError: UnknownType (of class firrtl.ir.UnknownType$)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    MatchError when viewing missing files in blob view.

    GitHub | 3 years ago | lefou
    scala.MatchError: false (of class java.lang.Boolean)
  6. 0

    Unable to connect to Cassandra db through Kundera in Play! framework

    Stack Overflow | 12 months ago | Vinit Sharma
    scala.MatchError: java.lang.ExceptionInInitializerError (of class java.lang.ExceptionInInitializerError)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. scala.MatchError

      [april] (of class java.util.Arrays$ArrayList)

      at org.neo4j.cypher.internal.commands.InIterable.isMatch()
    2. org.neo4j.cypher
      SimplePatternMatcherBuilder$$anonfun$getMatches$1$$anonfun$apply$3.apply
      1. org.neo4j.cypher.internal.commands.InIterable.isMatch(InIterable.scala:30)
      2. org.neo4j.cypher.internal.pipes.matching.SimplePatternMatcherBuilder$$anonfun$getMatches$1$$anonfun$apply$3.apply(SimplePatternMatcherBuilder.scala:86)
      3. org.neo4j.cypher.internal.pipes.matching.SimplePatternMatcherBuilder$$anonfun$getMatches$1$$anonfun$apply$3.apply(SimplePatternMatcherBuilder.scala:86)
      3 frames
    3. Scala
      List.forall
      1. scala.collection.LinearSeqOptimized$class.forall(LinearSeqOptimized.scala:69)
      2. scala.collection.immutable.List.forall(List.scala:45)
      2 frames
    4. org.neo4j.cypher
      SimplePatternMatcherBuilder$$anonfun$getMatches$1.apply
      1. org.neo4j.cypher.internal.pipes.matching.SimplePatternMatcherBuilder$$anonfun$getMatches$1.apply(SimplePatternMatcherBuilder.scala:86)
      2. org.neo4j.cypher.internal.pipes.matching.SimplePatternMatcherBuilder$$anonfun$getMatches$1.apply(SimplePatternMatcherBuilder.scala:78)
      2 frames
    5. Scala
      JavaConversions$JIterableWrapper.flatMap
      1. scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:200)
      2. scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:200)
      3. scala.collection.Iterator$class.foreach(Iterator.scala:652)
      4. scala.collection.JavaConversions$JIteratorWrapper.foreach(JavaConversions.scala:573)
      5. scala.collection.IterableLike$class.foreach(IterableLike.scala:73)
      6. scala.collection.JavaConversions$JIterableWrapper.foreach(JavaConversions.scala:587)
      7. scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:200)
      8. scala.collection.JavaConversions$JIterableWrapper.flatMap(JavaConversions.scala:587)
      8 frames
    6. org.neo4j.cypher
      MatchPipe$$anonfun$createResults$1.apply
      1. org.neo4j.cypher.internal.pipes.matching.SimplePatternMatcherBuilder.getMatches(SimplePatternMatcherBuilder.scala:78)
      2. org.neo4j.cypher.internal.pipes.matching.MatchingContext.getMatches(MatchingContext.scala:52)
      3. org.neo4j.cypher.internal.pipes.MatchPipe$$anonfun$createResults$1.apply(MatchPipe.scala:33)
      4. org.neo4j.cypher.internal.pipes.MatchPipe$$anonfun$createResults$1.apply(MatchPipe.scala:32)
      4 frames
    7. Scala
      List.flatMap
      1. scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:200)
      2. scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:200)
      3. scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scala:59)
      4. scala.collection.immutable.List.foreach(List.scala:45)
      5. scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:200)
      6. scala.collection.immutable.List.flatMap(List.scala:45)
      6 frames
    8. org.neo4j.cypher
      ExecutionPlanImpl$$anonfun$3$$anonfun$apply$1.apply
      1. org.neo4j.cypher.internal.pipes.MatchPipe.createResults(MatchPipe.scala:32)
      2. org.neo4j.cypher.internal.pipes.FilterPipe.createResults(FilterPipe.scala:30)
      3. org.neo4j.cypher.internal.pipes.ColumnFilterPipe.createResults(ColumnFilterPipe.scala:37)
      4. org.neo4j.cypher.internal.executionplan.ExecutionPlanImpl$$anonfun$3$$anonfun$apply$1.apply(ExecutionPlanImpl.scala:62)
      5. org.neo4j.cypher.internal.executionplan.ExecutionPlanImpl$$anonfun$3$$anonfun$apply$1.apply(ExecutionPlanImpl.scala:62)
      5 frames
    9. Neo4j - Cypher
      PipeExecutionResult.hasNext
      1. org.neo4j.cypher.PipeExecutionResult.immutableResult(PipeExecutionResult.scala:36)
      2. org.neo4j.cypher.PipeExecutionResult.iterator(PipeExecutionResult.scala:138)
      3. org.neo4j.cypher.PipeExecutionResult.hasNext(PipeExecutionResult.scala:140)
      3 frames
    10. Scala
      JavaConversions$IteratorWrapper.hasNext
      1. scala.collection.Iterator$$anon$19.hasNext(Iterator.scala:334)
      2. scala.collection.JavaConversions$IteratorWrapper.hasNext(JavaConversions.scala:562)
      2 frames
    11. Neo4j - Graph Database Kernel
      IteratorUtil.addToCollection
      1. org.neo4j.helpers.collection.IteratorWrapper.hasNext(IteratorWrapper.java:42)
      2. org.neo4j.helpers.collection.IteratorUtil.addToCollection(IteratorUtil.java:322)
      3. org.neo4j.helpers.collection.IteratorUtil.addToCollection(IteratorUtil.java:341)
      3 frames
    12. Spring Data Neo4j
      GraphRepositoryQuery.execute
      1. org.springframework.data.neo4j.repository.query.GraphRepositoryQuery.dispatchQuery(GraphRepositoryQuery.java:92)
      2. org.springframework.data.neo4j.repository.query.GraphRepositoryQuery.execute(GraphRepositoryQuery.java:70)
      2 frames
    13. Spring Data Core
      RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke
      1. org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:313)
      1 frame
    14. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      1 frame
    15. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
      1 frame
    16. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      1 frame
    17. Spring Tx
      PersistenceExceptionTranslationInterceptor.invoke
      1. org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:155)
      1 frame
    18. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
      2 frames
    19. cypher.in_keyword
      InKeywordTests.shouldFindChildrenUsingInKeyword
      1. cypher.in_keyword.$Proxy27.childrenByMonth(Unknown Source)
      2. cypher.in_keyword.InKeywordTests.shouldFindChildrenUsingInKeyword(InKeywordTests.java:106)
      2 frames
    20. Java RT
      DelegatingMethodAccessorImpl.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3 frames
    21. JUnit
      InvokeMethod.evaluate
      1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
      2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
      3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
      4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
      4 frames
    22. Spring TestContext
      SpringJUnit4ClassRunner.runChild
      1. org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74)
      2. org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:83)
      3. org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72)
      4. org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:231)
      5. org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:88)
      5 frames
    23. JUnit
      ParentRunner$2.evaluate
      1. org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
      2. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
      3. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
      4. org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
      5. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
      5 frames
    24. Spring TestContext
      RunAfterTestClassCallbacks.evaluate
      1. org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
      2. org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71)
      2 frames
    25. JUnit
      ParentRunner.run
      1. org.junit.runners.ParentRunner.run(ParentRunner.java:300)
      1 frame
    26. Spring TestContext
      SpringJUnit4ClassRunner.run
      1. org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:174)
      1 frame
    27. JUnit
      JUnitCore.run
      1. org.junit.runner.JUnitCore.run(JUnitCore.java:157)
      1 frame
    28. IntelliJ junit4 module
      JUnit4IdeaTestRunner.startRunnerWithArgs
      1. com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:76)
      1 frame
    29. IDEA
      JUnitStarter.main
      1. com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:195)
      2. com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:63)
      2 frames
    30. Java RT
      NativeMethodAccessorImpl.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      2 frames
    31. IDEA
      AppMain.main
      1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)
      1 frame