[
https://issues.apache.org/jira/browse/TINKERPOP-1307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15300163#comment-15300163
]
ASF GitHub Bot commented on TINKERPOP-1307:
-------------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/incubator-tinkerpop/pull/318
> 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
> Assignee: Marko A. Rodriguez
> Fix For: 3.2.1
>
>
> {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)