Cluster.Builder builder = Cluster.build();
builder.addContactPoint("localhost");
builder.minConnectionPoolSize(10);
builder.maxConnectionPoolSize(50);
cluster = builder.create();
client.submit("get_or_create_user(g, userName, email, createdTime)", parameters);
Exception in thread "main" java.lang.RuntimeException: java.util.concurrent.ExecutionException: io.netty.handler.codec.EncoderException: WebSocketGremlinRequestEncoder must produce at least one message.
at org.apache.tinkerpop.gremlin.driver.Client.submit(Client.java:146)
at com.beaconpole.infrastructure.GremlinDriverTest.testGetOrCreateUser(GremlinDriverTest.java:33)
at com.beaconpole.infrastructure.GremlinDriverTest.main(GremlinDriverTest.java:38)
Caused by: java.util.concurrent.ExecutionException: io.netty.handler.codec.EncoderException: WebSocketGremlinRequestEncoder must produce at least one message.
at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:357)
at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1887)
at org.apache.tinkerpop.gremlin.driver.Client.submit(Client.java:144)
... 2 more
Caused by: io.netty.handler.codec.EncoderException: WebSocketGremlinRequestEncoder must produce at least one message.
at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:98)
at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:633)
at io.netty.channel.AbstractChannelHandlerContext.access$1900(AbstractChannelHandlerContext.java:32)
at io.netty.channel.AbstractChannelHandlerContext$AbstractWriteTask.write(AbstractChannelHandlerContext.java:908)
at io.netty.channel.AbstractChannelHandlerContext$WriteAndFlushTask.write(AbstractChannelHandlerContext.java:960)
at io.netty.channel.AbstractChannelHandlerContext$AbstractWriteTask.run(AbstractChannelHandlerContext.java:893)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:357)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:357)
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:111)
at java.lang.Thread.run(Thread.java:745)
--
You received this message because you are subscribed to the Google Groups "Aurelius" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aureliusgraph...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/aureliusgraphs/3b90aa61-9e99-4703-8887-b14a05ef240e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<dependency>
<groupId>com.thinkaurelius.titan</groupId>
<artifactId>titan-core</artifactId>
<version>1.0.0</version>
<exclusions>
<exclusion>
<groupId>org.apache.tinkerpop</groupId>
<artifactId>gremlin-driver</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.tinkerpop</groupId>
<artifactId>gremlin-driver</artifactId>
<version>3.2.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.tinkerpop</groupId>
<artifactId>gremlin-core</artifactId>
<version>3.2.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.tinkerpop</groupId>
<artifactId>gremlin-shaded</artifactId>
<version>3.2.0-SNAPSHOT</version>
</dependency>
--
You received this message because you are subscribed to the Google Groups "Aurelius" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aureliusgraph...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/aureliusgraphs/ac49a6fd-a57c-4faa-80e0-2556888c5f81%40googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "Aurelius" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/aureliusgraphs/kaJnurrPsNE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to aureliusgraph...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/aureliusgraphs/CAA-H43--dT-Pp86RX0x-huStnq6XVjyySCiGnQYLfFva2t9DaA%40mail.gmail.com.