Indeed i was giving the connect command a wrong path for my configuration file. Even though this path seems correct now, the following exception is raised when i request the g graph via submit :
gremlin> :> g
WARN com.tinkerpop.gremlin.driver.MessageSerializer - Response [UnpooledUnsafeDirectByteBuf(ridx: 46, widx: 46, cap: 46)] could not be deserialized by com.tinkerpop.gremlin.driver.ser.KryoMessageSerializerV1d0.
WARN 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.
com.tinkerpop.gremlin.driver.ser.SerializationException: java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Map
at com.tinkerpop.gremlin.driver.ser.KryoMessageSerializerV1d0.deserializeResponse(KryoMessageSerializerV1d0.java:152)
at com.tinkerpop.gremlin.driver.Handler$GremlinResponseDecoder.channelRead0(Handler.java:121)
at com.tinkerpop.gremlin.driver.Handler$GremlinResponseDecoder.channelRead0(Handler.java:105)
at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:103)
at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:341)
at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:327)
at com.tinkerpop.gremlin.driver.Handler$WebSocketClientHandler.channelRead0(Handler.java:87)
at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:103)
at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:341)
at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:327)
at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:341)
at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:327)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:163)
at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:341)
at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:327)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:785)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:126)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:507)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:464)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:378)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:350)
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Map
at com.tinkerpop.gremlin.driver.ser.KryoMessageSerializerV1d0.deserializeResponse(KryoMessageSerializerV1d0.java:143)
... 23 more
The TulipGraphSerializer.read method doesn't even seem to be called.
I probably missed something...