[ 
https://issues.apache.org/jira/browse/TINKERPOP-1262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15243628#comment-15243628
 ] 

stephen mallette commented on TINKERPOP-1262:
---------------------------------------------

you should see it show up in the server console output from where you ran 
{{bin/gremlin-server.sh}}. That error message you get in the response with the 
500 is almost always backed by some output on the server (assuming this is in 
fact a server side error).

> 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)

Reply via email to