Affects Version/s: 5.0.0
Fix Version/s: None
I was trying Apache Metamodel for the first time. I did not find much examples online. So I referred following links:
Guessed what I should be doing and I wrote first simple code:
But I was getting following exception:
Am I correct with the two line code? I mean is it supposed to work? I debugged in eclipse. I realized that inside Neo4jDataContext() constructor, call to detectTableDefs() is made. Inside detectTableDefs(), the labelsJsonArray is getting populated correctly on line 163. But for some random label, getAllNodesPerLabel() called on line 171 throws above exception. By "some random label" , I mean that for some labels, getAllNodesPerLabel() executes successfully on line 171, but suddenly it fails for some labels. I am unable to pin point for which labels / which characteristics of labels exception is occurring.