Marko A. Rodriguez created TINKERPOP-1307:
---------------------------------------------

             Summary: NPE with OLTP nested group() in an OLAP group() traversal
                 Key: TINKERPOP-1307
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1307
             Project: TinkerPop
          Issue Type: Bug
          Components: process
    Affects Versions: 3.2.0-incubating
            Reporter: Marko A. Rodriguez


{code}
graph = TinkerGraph.open()
graph.io(graphml()).readGraph('data/grateful-dead.xml')
g = graph.traversal().withComputer()
g.V().hasLabel('song').match(
    __.as('songV').values('name').as('songName'),
    __.as('songV').out('followedBy').as('followedV'),
    __.as('followedV').values('name').as('followedName'),
    __.as('followedV').out('sungBy').as('sungByV'),
    __.as('sungByV').values('name').as('sungBy'),
    __.as('followedV').out('writtenBy').as('writtenByV'),
    __.as('writtenByV').values('name').as('writtenBy')
  ).select('songName','followedName','sungBy','writtenBy').
    
group().by(select('songName')).by(group().by(select('followedName')).by(select('sungBy').fold()))
{code}

The above causes an NPE. I know why -- potentially easy fix.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to