{"action":"opened","issue":{"url":"https://api.github.com/repos/thinkaurelius/titan/issues/921","labels_url":"https://api.github.com/repos/thinkaurelius/titan/issues/921/labels{/name}","comments_url":"https://api.github.com/repos/thinkaurelius/titan/issues/921/comments","events_url":"https://api.github.com/repos/thinkaurelius/titan/issues/921/events","html_url":"https://github.com/thinkaurelius/titan/issues/921","id":53914151,"number":921,"title":"Has() Not Working in Gremlin Server - Titan 0.9M1","user":{"login":"spmallette","id":384249,"avatar_url":"https://avatars.githubusercontent.com/u/384249?v=3","gravatar_id":"","url":"https://api.github.com/users/spmallette","html_url":"https://github.com/spmallette","followers_url":"https://api.github.com/users/spmallette/followers","following_url":"https://api.github.com/users/spmallette/following{/other_user}","gists_url":"https://api.github.com/users/spmallette/gists{/gist_id}","starred_url":"https://api.github.com/users/spmallette/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spmallette/subscriptions","organizations_url":"https://api.github.com/users/spmallette/orgs","repos_url":"https://api.github.com/users/spmallette/repos","events_url":"https://api.github.com/users/spmallette/events{/privacy}","received_events_url":"https://api.github.com/users/spmallette/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-09T20:58:34Z","updated_at":"2015-01-09T20:58:34Z","closed_at":null,"body":"Reported here in the mailing list: \r\n\r\nhttps://groups.google.com/d/msg/aureliusgraphs/JgMlZsuXhgg/slJF-qrpngMJ\r\n\r\nbut something i discovered a while back on my own and discussed with @dalaro - not sure that we came to a solution or if this is fixed.  i figured i would create an issue to prevent forgetting about it again.  \r\n\r\nit's pretty easy to recreate the problem:\r\n\r\n```text\r\ngremlin> :remote connect tinkerpop.server conf/remote.yaml\r\n==>Connected - localhost/127.0.0.1:8182\r\ngremlin> :> g\r\n==>standardtitangraph[berkeleyje:db/berkeley]\r\ngremlin> :> g.addVertex(\"name\",\"stephen\")\r\n==>v[256]\r\ngremlin> :> g.V().count()\r\n==>1\r\ngremlin> :> g.V()\r\n==>v[256]\r\ngremlin> :> g.V().values(\"name\")\r\n==>stephen\r\n```\r\n\r\nall works as expected - it can clearly serialize all of that.  the use of `has` triggers this:\r\n\r\n```text\r\ngremlin> :> g.V().has(\"name\",\"stephen\")\r\nWARN  io.netty.channel.DefaultChannelPipeline  - An exceptionCaught() event was fired, and it reached at the tail of the pipeline. It usually means the last handler in the pipeline did not handle the exception.\r\njava.lang.NullPointerException\r\n\tat com.tinkerpop.gremlin.driver.Handler$GremlinResponseHandler.channelRead0(Handler.java:45)\r\n\tat com.tinkerpop.gremlin.driver.Handler$GremlinResponseHandler.channelRead0(Handler.java:21)\r\n\tat io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)\r\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)\r\n\tat io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)\r\n\tat io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)\r\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)\r\n\tat io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)\r\n\tat com.tinkerpop.gremlin.driver.handler.WebSocketClientHandler.channelRead0(WebSocketClientHandler.java:72)\r\n\tat io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)\r\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)\r\n\tat io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)\r\n\tat io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)\r\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)\r\n\tat io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)\r\n\tat io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:163)\r\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)\r\n\tat io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)\r\n\tat io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:787)\r\n\tat io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:130)\r\n\tat io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511)\r\n\tat io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)\r\n\tat io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382)\r\n\tat io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354)\r\n\tat io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\nResponse iteration and serialization exceeded the configured threshold for request [[RequestMessage{, requestId=a8d487f8-935b-478e-898a-4c45a60aefa6, op='eval', processor='', args={gremlin=g.V().has(\"name\",\"stephen\"), batchSize=64}}, [TitanGraphStep([[name,eq,stephen]])]]] - Operation cannot be executed because the enclosing transaction is closed\r\n```\r\n\r\nThis could be a problem in Gremlin Server and nothing to do with the Titan implementation.  \r\n"}}