[ https://issues.apache.org/jira/browse/TINKERPOP-1262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15242819#comment-15242819 ]
Peter Storm commented on TINKERPOP-1262: ---------------------------------------- How can I obtain a stack trace from the server? It isn't included in the log file and the driver only gets the error code 500 without any additional information. > g.V(id0).repeat(both()).times(1) works only locally > --------------------------------------------------- > > Key: TINKERPOP-1262 > URL: https://issues.apache.org/jira/browse/TINKERPOP-1262 > Project: TinkerPop > Issue Type: Bug > Components: server > Affects Versions: 3.0.1-incubating > Environment: Titan 1.0.0 with Cassandra backend, Gremlin Server, > TinkerPop 3.0.1 > Reporter: Peter Storm > Priority: Minor > > I wanted to include a query in my application that retrieves all paths > between two vertices up to a certain length: > g.V(p0).repeat(dedup().both()).times(2).emit(hasId(p1)).hasId(p1).path() > This works in the Gremlin Console, but throws a NullPointerException when I > send it to the Gremlin Server from my application. I could reduce the query > to: > g.V(p0).repeat(both()).times(1) > which still throws the NullPointerException. However, the queries > g.V(p0).both() and g.V(p0).repeat(coin(1.0)).times(1) both work fine. So it > seems to be a problem with the combination of the two steps both() and > repeat(). > I tried the problematic query in the Gremlin Console with TinkerGraph and > Titan without any problems. Here is my environment: > Titan 1.0.0 with Cassandra back end > TinkerPop 3.0.1 (bundled with Titan) > The thread in the Google group for reference: > https://groups.google.com/forum/#!topic/gremlin-users/4SrSEkDS0GQ -- This message was sent by Atlassian JIRA (v6.3.4#6332)