java.lang.RuntimeException: Error fetching next at http://localhost:8080/v1/statement/20161208_050916_00035_vpfve/2 returned an invalid response: JsonResponse{statusCode=200, statusMessage=OK, headers={Vary=[Accept-Encoding, User-Agent], Content-Length=[2365], Date=[Thu, 08 Dec 2016 05:09:16 GMT], X-Content-Type-Options=[nosniff], Content-Type=[application/json]}, hasValue=false, value=null} [Error: {"id":"20161208_050916_00035_vpfve","infoUri":"http://localhost:8080/query.html?20161208_050916_00035_vpfve","partialCancelUri":"http://192.168.1.4:8080/v1/stage/20161208_050916_00035_vpfve.0","nextUri":"http://localhost:8080/v1/statement/20161208_050916_00035_vpfve/3","columns":[{"name":"_col0","type":"map(row(field0 integer,field1 integer,field2 integer),integer)","typeSignature":{"rawType":"map","typeArguments":[{"rawType":"row","typeArguments":[{"rawType":"integer","typeArguments":[],"literalArguments":[],"arguments":[]},{"rawType":"integer","typeArguments":[],"literalArguments":[],"arguments":[]},{"rawType":"integer","typeArguments":[],"literalArguments":[],"arguments":[]}],"literalArguments":["field0","field1","field2"],"arguments":[{"kind":"NAMED_TYPE_SIGNATURE","value":{"name":"field0","typeSignature":"integer"}},{"kind":"NAMED_TYPE_SIGNATURE","value":{"name":"field1","typeSignature":"integer"}},{"kind":"NAMED_TYPE_SIGNATURE","value":{"name":"field2","typeSignature":"integer"}}]},{"rawType":"integer","typeArguments":[],"literalArguments":[],"arguments":[]}],"literalArguments":[],"arguments":[{"kind":"TYPE_SIGNATURE","value":{"rawType":"row","typeArguments":[{"rawType":"integer","typeArguments":[],"literalArguments":[],"arguments":[]},{"rawType":"integer","typeArguments":[],"literalArguments":[],"arguments":[]},{"rawType":"integer","typeArguments":[],"literalArguments":[],"arguments":[]}],"literalArguments":["field0","field1","field2"],"arguments":[{"kind":"NAMED_TYPE_SIGNATURE","value":{"name":"field0","typeSignature":"integer"}},{"kind":"NAMED_TYPE_SIGNATURE","value":{"name":"field1","typeSignature":"integer"}},{"kind":"NAMED_TYPE_SIGNATURE","value":{"name":"field2","typeSignature":"integer"}}]}},{"kind":"TYPE_SIGNATURE","value":{"rawType":"integer","typeArguments":[],"literalArguments":[],"arguments":[]}}]}}],"data":[[{"[1, 2, 3]":1}]],"stats":{"state":"RUNNING","queued":false,"scheduled":true,"nodes":1,"totalSplits":17,"queuedSplits":17,"runningSplits":0,"completedSplits":0,"userTimeMillis":0,"cpuTimeMillis":0,"wallTimeMillis":0,"processedRows":0,"processedBytes":0,"rootStage":{"stageId":"0","state":"RUNNING","done":false,"nodes":1,"totalSplits":17,"queuedSplits":17,"runningSplits":0,"completedSplits":0,"userTimeMillis":0,"cpuTimeMillis":0,"wallTimeMillis":0,"processedRows":0,"processedBytes":0,"subStages":[]}}} ]

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by nezihyigitbasi
, 7 months ago
Error fetching next at http://localhost:8080/v1/statement/20161208_050916_00035_vpfve/2 returned an invalid response: JsonResponse{statusCode=200, statusMessage=OK, headers={Vary=[Accept-Encoding, User-Agent], Content-Length=[2365], Date=[Thu, 08
via GitHub by akshatnair
, 1 year ago
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
via GitHub by electrum
, 1 year ago
Error fetching next at http://localhost:8080/v1/statement/20150109_182434_00005_t36py/1 returned an invalid response: JsonResponse{statusCode=200, statusMessage=OK, headers={Vary=[Accept-Encoding, User-Agent], Content-Length=[879], Date=[Fri, 09 Jan 2015 18:24:34 GMT], X-Content-Type-Options=[nosniff], Content-Type=[application/json]}, hasValue=false, value=null}
via Google Groups by Vyaas V.S, 1 year ago
Error starting query at https://10.103.179.34:8080/v1/statement returned an invalid response: JsonResponse{statusCode=401, statusMessage=Unauthorized, headers={Content-Length=[0], Date=[Wed, 07 Sep 2016 20:11:08 GMT], WWW-Authenticate=[Negotiate realm="presto"]}, hasValue=false, value=null} [Error: ]
via GitHub by drnushooz
, 1 year ago
Error starting query at http://localhost:8080/v1/statement returned an invalid response: JsonResponse{statusCode=400, statusMessage=Bad Request, headers={Content-Length=[32], Date=[Mon, 02 Nov 2015 04:28:18 GMT], Content-Type=[text/plain]}, hasValue=false, value=null}
java.lang.RuntimeException: Error fetching next at http://localhost:8080/v1/statement/20161208_050916_00035_vpfve/2 returned an invalid response: JsonResponse{statusCode=200, statusMessage=OK, headers={Vary=[Accept-Encoding, User-Agent], Content-Length=[2365], Date=[Thu, 08 Dec 2016 05:09:16 GMT], X-Content-Type-Options=[nosniff], Content-Type=[application/json]}, hasValue=false, value=null} [Error: {"id":"20161208_050916_00035_vpfve","infoUri":"http://localhost:8080/query.html?20161208_050916_00035_vpfve","partialCancelUri":"http://192.168.1.4:8080/v1/stage/20161208_050916_00035_vpfve.0","nextUri":"http://localhost:8080/v1/statement/20161208_050916_00035_vpfve/3","columns":[{"name":"_col0","type":"map(row(field0 integer,field1 integer,field2 integer),integer)","typeSignature":{"rawType":"map","typeArguments":[{"rawType":"row","typeArguments":[{"rawType":"integer","typeArguments":[],"literalArguments":[],"arguments":[]},{"rawType":"integer","typeArguments":[],"literalArguments":[],"arguments":[]},{"rawType":"integer","typeArguments":[],"literalArguments":[],"arguments":[]}],"literalArguments":["field0","field1","field2"],"arguments":[{"kind":"NAMED_TYPE_SIGNATURE","value":{"name":"field0","typeSignature":"integer"}},{"kind":"NAMED_TYPE_SIGNATURE","value":{"name":"field1","typeSignature":"integer"}},{"kind":"NAMED_TYPE_SIGNATURE","value":{"name":"field2","typeSignature":"integer"}}]},{"rawType":"integer","typeArguments":[],"literalArguments":[],"arguments":[]}],"literalArguments":[],"arguments":[{"kind":"TYPE_SIGNATURE","value":{"rawType":"row","typeArguments":[{"rawType":"integer","typeArguments":[],"literalArguments":[],"arguments":[]},{"rawType":"integer","typeArguments":[],"literalArguments":[],"arguments":[]},{"rawType":"integer","typeArguments":[],"literalArguments":[],"arguments":[]}],"literalArguments":["field0","field1","field2"],"arguments":[{"kind":"NAMED_TYPE_SIGNATURE","value":{"name":"field0","typeSignature":"integer"}},{"kind":"NAMED_TYPE_SIGNATURE","value":{"name":"field1","typeSignature":"integer"}},{"kind":"NAMED_TYPE_SIGNATURE","value":{"name":"field2","typeSignature":"integer"}}]}},{"kind":"TYPE_SIGNATURE","value":{"rawType":"integer","typeArguments":[],"literalArguments":[],"arguments":[]}}]}}],"data":[[{"[1, 2, 3]":1}]],"stats":{"state":"RUNNING","queued":false,"scheduled":true,"nodes":1,"totalSplits":17,"queuedSplits":17,"runningSplits":0,"completedSplits":0,"userTimeMillis":0,"cpuTimeMillis":0,"wallTimeMillis":0,"processedRows":0,"processedBytes":0,"rootStage":{"stageId":"0","state":"RUNNING","done":false,"nodes":1,"totalSplits":17,"queuedSplits":17,"runningSplits":0,"completedSplits":0,"userTimeMillis":0,"cpuTimeMillis":0,"wallTimeMillis":0,"processedRows":0,"processedBytes":0,"subStages":[]}}} ]
at java.lang.Class.cast(Class.java:3369)
at com.facebook.presto.client.QueryResults.fixValue(QueryResults.java:255)
at com.facebook.presto.client.QueryResults.fixValue(QueryResults.java:249)
at com.facebook.presto.client.QueryResults.fixData(QueryResults.java:221)
at sun.reflect.GeneratedConstructorAccessor14.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at com.fasterxml.jackson.databind.introspect.AnnotatedConstructor.call(AnnotatedConstructor.java:124)
at com.fasterxml.jackson.databind.deser.std.StdValueInstantiator.createFromObjectWith(StdValueInstantiator.java:274)
at com.fasterxml.jackson.databind.deser.ValueInstantiator.createFromObjectWith(ValueInstantiator.java:224)
at com.fasterxml.jackson.databind.deser.impl.PropertyBasedCreator.build(PropertyBasedCreator.java:135)
at com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeUsingPropertyBased(BeanDeserializer.java:471)
at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.deserializeFromObjectUsingNonDefault(BeanDeserializerBase.java:1194)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:314)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:148)
at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3789)
at io.airlift.json.JsonCodec.fromJson(JsonCodec.java:198)
at io.airlift.http.client.FullJsonResponseHandler$JsonResponse.(FullJsonResponseHandler.java:118)
at io.airlift.http.client.FullJsonResponseHandler.handle(FullJsonResponseHandler.java:68)
at io.airlift.http.client.FullJsonResponseHandler.handle(FullJsonResponseHandler.java:37)
at io.airlift.http.client.jetty.JettyHttpClient.execute(JettyHttpClient.java:377)
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:296)
at com.facebook.presto.cli.Console.runConsole(Console.java:236)
at com.facebook.presto.cli.Console.run(Console.java:141)
at com.facebook.presto.cli.Presto.main(Presto.java:32)

Users with the same issue

26 times, 4 months ago
Once, 5 months ago
2 times, 6 months ago
7 times, 8 months ago
8 times, 9 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.