title: Unable to connect via Java to a DSE graph
body: <p>Am a newbie. Installed and ran DSE graph. </p>
  
  <p>Versions used
  DSE - 5.1.3
  TinkerPop Java Driver - 3.3.0</p>
  
  <p>Now I am trying to remote connect from my java program. My graph name is `mygraph and my client program is something like</p>
  
  <pre><code>Cluster cluster = Cluster.build().port(8182).create();
  Client client = cluster.connect().alias("mygraph");
  ResultSet resultSet = client.submit("g.V()");
  resultSet.stream().forEach(System.out::println);
  </code></pre>
  
  <p>However it results in below exception. Am guessing its mostly </p>
  
  <pre><code>Exception in thread "main" java.util.concurrent.CompletionException: io.netty.handler.codec.DecoderException: org.apache.tinkerpop.gremlin.driver.ser.SerializationException: java.lang.IndexOutOfBoundsException: Index: 121, Size: 0
      at java.util.concurrent.CompletableFuture.reportJoin(CompletableFuture.java:375)
      at java.util.concurrent.CompletableFuture.join(CompletableFuture.java:1934)
      at org.apache.tinkerpop.gremlin.driver.ResultSet.one(ResultSet.java:107)
      at org.apache.tinkerpop.gremlin.driver.ResultSet$1.hasNext(ResultSet.java:159)
  </code></pre>