{"action":"created","issue":{"url":"https://api.github.com/repos/orientechnologies/orientdb/issues/3977","labels_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/3977/labels{/name}","comments_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/3977/comments","events_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/3977/events","html_url":"https://github.com/orientechnologies/orientdb/issues/3977","id":69649291,"number":3977,"title":"Unexpected token }  orientdb 2.0.7","user":{"login":"Elad-L","id":10616547,"avatar_url":"https://avatars.githubusercontent.com/u/10616547?v=3","gravatar_id":"","url":"https://api.github.com/users/Elad-L","html_url":"https://github.com/Elad-L","followers_url":"https://api.github.com/users/Elad-L/followers","following_url":"https://api.github.com/users/Elad-L/following{/other_user}","gists_url":"https://api.github.com/users/Elad-L/gists{/gist_id}","starred_url":"https://api.github.com/users/Elad-L/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Elad-L/subscriptions","organizations_url":"https://api.github.com/users/Elad-L/orgs","repos_url":"https://api.github.com/users/Elad-L/repos","events_url":"https://api.github.com/users/Elad-L/events{/privacy}","received_events_url":"https://api.github.com/users/Elad-L/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/orientechnologies/orientdb/labels/bug","name":"bug","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"luigidellaquila","id":459289,"avatar_url":"https://avatars.githubusercontent.com/u/459289?v=3","gravatar_id":"","url":"https://api.github.com/users/luigidellaquila","html_url":"https://github.com/luigidellaquila","followers_url":"https://api.github.com/users/luigidellaquila/followers","following_url":"https://api.github.com/users/luigidellaquila/following{/other_user}","gists_url":"https://api.github.com/users/luigidellaquila/gists{/gist_id}","starred_url":"https://api.github.com/users/luigidellaquila/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luigidellaquila/subscriptions","organizations_url":"https://api.github.com/users/luigidellaquila/orgs","repos_url":"https://api.github.com/users/luigidellaquila/repos","events_url":"https://api.github.com/users/luigidellaquila/events{/privacy}","received_events_url":"https://api.github.com/users/luigidellaquila/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/orientechnologies/orientdb/milestones/48","html_url":"https://github.com/orientechnologies/orientdb/milestones/2.1%20GA","labels_url":"https://api.github.com/repos/orientechnologies/orientdb/milestones/48/labels","id":1056294,"number":48,"title":"2.1 GA","description":"","creator":{"login":"lvca","id":312606,"avatar_url":"https://avatars.githubusercontent.com/u/312606?v=3","gravatar_id":"","url":"https://api.github.com/users/lvca","html_url":"https://github.com/lvca","followers_url":"https://api.github.com/users/lvca/followers","following_url":"https://api.github.com/users/lvca/following{/other_user}","gists_url":"https://api.github.com/users/lvca/gists{/gist_id}","starred_url":"https://api.github.com/users/lvca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lvca/subscriptions","organizations_url":"https://api.github.com/users/lvca/orgs","repos_url":"https://api.github.com/users/lvca/repos","events_url":"https://api.github.com/users/lvca/events{/privacy}","received_events_url":"https://api.github.com/users/lvca/received_events","type":"User","site_admin":false},"open_issues":29,"closed_issues":28,"state":"open","created_at":"2015-04-07T14:18:53Z","updated_at":"2015-08-04T11:17:46Z","due_on":"2015-08-03T22:00:00Z","closed_at":null},"comments":7,"created_at":"2015-04-20T18:24:02Z","updated_at":"2015-08-04T12:24:25Z","closed_at":null,"body":"running the following gremlin command using gremlin rest api issue the \"Unexpected token } \" error\r\nu1 = [];\r\nu = new GremlinPipeline(g.getVertices(\"name\", \"zyx\")).next();\r\nu.as(\"u\").out(\"Wrote\").both(\"On\").in(\"Wrote\").except(\"u\").dedup()[0..40].fill(u1);\r\n[u1._().as(\"u1\").out(\"Wrote\").both(\"On\").in(\"Wrote\").retain(u1).except(\"u1\").dedup().as(\"u2\").select([\"u1\", \"u2\"]){ it.id }]\r\n\r\nserver error:\r\nFetching error on record #-1:-1\r\njava.lang.NullPointerException\r\n\r\nWithout the last brackets (surrounding last line) it works fine, also this query works fine on orientdb 1.7.9"},"comment":{"url":"https://api.github.com/repos/orientechnologies/orientdb/issues/comments/127582144","html_url":"https://github.com/orientechnologies/orientdb/issues/3977#issuecomment-127582144","issue_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/3977","id":127582144,"user":{"login":"luigidellaquila","id":459289,"avatar_url":"https://avatars.githubusercontent.com/u/459289?v=3","gravatar_id":"","url":"https://api.github.com/users/luigidellaquila","html_url":"https://github.com/luigidellaquila","followers_url":"https://api.github.com/users/luigidellaquila/followers","following_url":"https://api.github.com/users/luigidellaquila/following{/other_user}","gists_url":"https://api.github.com/users/luigidellaquila/gists{/gist_id}","starred_url":"https://api.github.com/users/luigidellaquila/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luigidellaquila/subscriptions","organizations_url":"https://api.github.com/users/luigidellaquila/orgs","repos_url":"https://api.github.com/users/luigidellaquila/repos","events_url":"https://api.github.com/users/luigidellaquila/events{/privacy}","received_events_url":"https://api.github.com/users/luigidellaquila/received_events","type":"User","site_admin":false},"created_at":"2015-08-04T12:24:25Z","updated_at":"2015-08-04T12:24:25Z","body":"@Elad-L ah, ok. It's fixed in develop branch (2.1), but i have to check it on 2.0.13. \r\nMoving back release tag to 2.0.x\r\n\r\nThanks"}}