java.lang.RuntimeException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • some issue
    via GitHub by marker98
    ,
  • Exception parsing RSA public key
    via Stack Overflow by Mostafa Farzán
    ,
    • java.lang.RuntimeException: Error fetching next at http://localhost:8080/v1/statement/20160701_183636_00000_9c6sb/52 returned an invalid response: JsonResponse{statusCode=200, statusMessage=OK, headers={Vary=[Accept-Encoding, User-Agent], Content-Length=[899], Date=[Fri, 01 Jul 2016 18:36:38 GMT], X-Content-Type-Options=[nosniff], Content-Type=[application/json]}, hasValue=false, value=null} [Error: {"id":"20160701_183636_00000_9c6sb","infoUri":"http://localhost:8080/query.html?20160701_183636_00000_9c6sb","partialCancelUri":"http://192.168.30.1:8080/v1/stage/20160701_183636_00000_9c6sb.0","nextUri":"http://localhost:8080/v1/statement/20160701_183636_00000_9c6sb/53","columns":[{"name":"_col0","type":"color","typeSignature":{"rawType":"color","typeArguments":[],"literalArguments":[],"arguments":[]}}],"data":[["#ffff00"]],"stats":{"state":"RUNNING","scheduled":true,"nodes":1,"totalSplits":1,"queuedSplits":0,"runningSplits":0,"completedSplits":1,"userTimeMillis":0,"cpuTimeMillis":4,"wallTimeMillis":25,"processedRows":0,"processedBytes":0,"rootStage":{"stageId":"0","state":"RUNNING","done":false,"nodes":1,"totalSplits":1,"queuedSplits":0,"runningSplits":0,"completedSplits":1,"userTimeMillis":0,"cpuTimeMillis":4,"wallTimeMillis":25,"processedRows":1,"processedBytes":0,"subStages":[]}}} ] at com.facebook.presto.client.StatementClient.requestFailedException(StatementClient.java:344) at com.facebook.presto.client.StatementClient.advance(StatementClient.java:294) at com.facebook.presto.cli.StatusPrinter.printInitialStatusUpdates(StatusPrinter.java:121) at com.facebook.presto.cli.Query.renderQueryOutput(Query.java:123) at com.facebook.presto.cli.Query.renderOutput(Query.java:107) at com.facebook.presto.cli.Console.process(Console.java:294) at com.facebook.presto.cli.Console.runConsole(Console.java:234) at com.facebook.presto.cli.Console.run(Console.java:139) at com.facebook.presto.cli.Presto.main(Presto.java:32) Caused by: java.lang.IllegalArgumentException: Unable to create class com.facebook.presto.client.QueryResults from JSON response: {"id":"20160701_183636_00000_9c6sb","infoUri":"http://localhost:8080/query.html?20160701_183636_00000_9c6sb","partialCancelUri":"http://192.168.30.1:8080/v1/stage/20160701_183636_00000_9c6sb.0","nextUri":"http://localhost:8080/v1/statement/20160701_183636_00000_9c6sb/53","columns":[{"name":"_col0","type":"color","typeSignature":{"rawType":"color","typeArguments":[],"literalArguments":[],"arguments":[]}}],"data":[["#ffff00"]],"stats":{"state":"RUNNING","scheduled":true,"nodes":1,"totalSplits":1,"queuedSplits":0,"runningSplits":0,"completedSplits":1,"userTimeMillis":0,"cpuTimeMillis":4,"wallTimeMillis":25,"processedRows":0,"processedBytes":0,"rootStage":{"stageId":"0","state":"RUNNING","done":false,"nodes":1,"totalSplits":1,"queuedSplits":0,"runningSplits":0,"completedSplits":1,"userTimeMillis":0,"cpuTimeMillis":4,"wallTimeMillis":25,"processedRows":1,"processedBytes":0,"subStages":[]}}} at io.airlift.http.client.FullJsonResponseHandler$JsonResponse.<init>(FullJsonResponseHandler.java:119) at io.airlift.http.client.FullJsonResponseHandler.handle(FullJsonResponseHandler.java:66) at io.airlift.http.client.FullJsonResponseHandler.handle(FullJsonResponseHandler.java:35) at io.airlift.http.client.jetty.JettyHttpClient.execute(JettyHttpClient.java:365) at com.facebook.presto.client.StatementClient.advance(StatementClient.java:281) ... 7 more Caused by: java.lang.IllegalArgumentException: Invalid [simple type, class com.facebook.presto.client.QueryResults] json bytes at io.airlift.json.JsonCodec.fromJson(JsonCodec.java:174) at io.airlift.http.client.FullJsonResponseHandler$JsonResponse.<init>(FullJsonResponseHandler.java:116) ... 11 more Caused by: com.fasterxml.jackson.databind.JsonMappingException: Instantiation of [simple type, class com.facebook.presto.client.QueryResults] value failed: Illegal base64 character 23 at com.fasterxml.jackson.databind.deser.std.StdValueInstantiator.wrapException(StdValueInstantiator.java:405) at com.fasterxml.jackson.databind.deser.std.StdValueInstantiator.createFromObjectWith(StdValueInstantiator.java:234) at com.fasterxml.jackson.databind.deser.impl.PropertyBasedCreator.build(PropertyBasedCreator.java:167) at com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeUsingPropertyBased(BeanDeserializer.java:398) at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.deserializeFromObjectUsingNonDefault(BeanDeserializerBase.java:1064) at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:264) at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:124) at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3066) at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2262) at io.airlift.json.JsonCodec.fromJson(JsonCodec.java:171) ... 12 more Caused by: java.lang.IllegalArgumentException: Illegal base64 character 23 at java.util.Base64$Decoder.decode0(Base64.java:714) at java.util.Base64$Decoder.decode(Base64.java:526) at java.util.Base64$Decoder.decode(Base64.java:549) at com.facebook.presto.client.QueryResults.fixValue(QueryResults.java:319) at com.facebook.presto.client.QueryResults.fixData(QueryResults.java:220) at com.facebook.presto.client.QueryResults.<init>(QueryResults.java:92) at sun.reflect.GeneratedConstructorAccessor14.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor2 times, last one,
    Unknown visitor1 times, last one,
    10 more bugmates