java.lang.RuntimeException: 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}

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 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 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 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 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}
com.google.common.io.BaseEncoding$DecodingException: Unrecognized character: #
at com.google.common.io.BaseEncoding$Alphabet.decode(BaseEncoding.java:503)
at com.google.common.io.BaseEncoding$StandardBaseEncoding$2.read(BaseEncoding.java:675)
at com.google.common.io.BaseEncoding.decodeChecked(BaseEncoding.java:245)
at com.google.common.io.BaseEncoding.decode(BaseEncoding.java:226)
at com.facebook.presto.client.QueryResults.fixValue(QueryResults.java:256)
at com.facebook.presto.client.QueryResults.fixData(QueryResults.java:184)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at com.fasterxml.jackson.databind.introspect.AnnotatedConstructor.call(AnnotatedConstructor.java:125)
at com.fasterxml.jackson.databind.deser.std.StdValueInstantiator.createFromObjectWith(StdValueInstantiator.java:230)
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 io.airlift.json.JsonCodec.fromJson(JsonCodec.java:171)
at io.airlift.http.client.FullJsonResponseHandler$JsonResponse.(FullJsonResponseHandler.java:116)
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:233)
at com.facebook.presto.cli.StatusPrinter.printInitialStatusUpdates(StatusPrinter.java:94)
at com.facebook.presto.cli.Query.renderQueryOutput(Query.java:109)
at com.facebook.presto.cli.Query.renderOutput(Query.java:94)
at com.facebook.presto.cli.Console.process(Console.java:237)
at com.facebook.presto.cli.Console.runConsole(Console.java:179)
at com.facebook.presto.cli.Console.run(Console.java:109)
at com.facebook.presto.cli.Presto.main(Presto.java:31)

Users with the same issue

You are the first who have seen this exception.

Write tip

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