io.airlift.jaxrs.JsonMapperParsingException: Invalid json for Java type com.facebook.presto.server.TaskUpdateRequest

GitHub | electrum | 4 months ago
  1. 0

    Large negative timestamps produce invalid result

    GitHub | 4 months ago | electrum
    io.airlift.jaxrs.JsonMapperParsingException: Invalid json for Java type com.facebook.presto.server.TaskUpdateRequest
  2. 0

    Cast of MIN_LONG fails with JSON deserialization error

    GitHub | 10 months ago | electrum
    io.airlift.jaxrs.JsonMapperParsingException: Invalid json for Java type com.facebook.presto.server.TaskUpdateRequest
  3. 0

    Add "start" to non-reserved words

    GitHub | 11 months ago | martint
    com.facebook.presto.sql.parser.ParsingException: line 1:13: no viable alternative at input 'start'
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 4136#164937220

    GitHub | 12 months ago | soulmachine
    com.facebook.presto.sql.parser.ParsingException: line 1:146: extraneous input '10' expecting {<EOF>, '.', '[', 'GROUP', 'ORDER', 'HAVING', 'LIMIT', 'APPROXIMATE', 'AT', 'OR', 'AND', 'UNION', 'EXCEPT', 'INTERSECT', '+', '-', '*', '/', '%', '||'}

    Root Cause Analysis

    1. com.facebook.presto.sql.parser.ParsingException

      line 1:1: Invalid numeric literal: 9223372036854775808

      at com.facebook.presto.sql.tree.LongLiteral.<init>()
    2. presto-parser
      SqlBaseParser$IntegerLiteralContext.accept
      1. com.facebook.presto.sql.tree.LongLiteral.<init>(LongLiteral.java:45)
      2. com.facebook.presto.sql.tree.LongLiteral.<init>(LongLiteral.java:34)
      3. com.facebook.presto.sql.parser.AstBuilder.visitIntegerLiteral(AstBuilder.java:1217)
      4. com.facebook.presto.sql.parser.AstBuilder.visitIntegerLiteral(AstBuilder.java:151)
      5. com.facebook.presto.sql.parser.SqlBaseParser$IntegerLiteralContext.accept(SqlBaseParser.java:9353)
      5 frames
    3. ANTLR 4 Runtime
      AbstractParseTreeVisitor.visitChildren
      1. org.antlr.v4.runtime.tree.AbstractParseTreeVisitor.visitChildren(AbstractParseTreeVisitor.java:70)
      1 frame
    4. presto-parser
      SqlBaseParser$NumericLiteralContext.accept
      1. com.facebook.presto.sql.parser.SqlBaseBaseVisitor.visitNumericLiteral(SqlBaseBaseVisitor.java:762)
      2. com.facebook.presto.sql.parser.SqlBaseParser$NumericLiteralContext.accept(SqlBaseParser.java:6415)
      2 frames
    5. ANTLR 4 Runtime
      AbstractParseTreeVisitor.visitChildren
      1. org.antlr.v4.runtime.tree.AbstractParseTreeVisitor.visitChildren(AbstractParseTreeVisitor.java:70)
      1 frame
    6. presto-parser
      SqlBaseParser$ValueExpressionDefaultContext.accept
      1. com.facebook.presto.sql.parser.SqlBaseBaseVisitor.visitValueExpressionDefault(SqlBaseBaseVisitor.java:573)
      2. com.facebook.presto.sql.parser.SqlBaseParser$ValueExpressionDefaultContext.accept(SqlBaseParser.java:5532)
      2 frames
    7. ANTLR 4 Runtime
      AbstractParseTreeVisitor.visit
      1. org.antlr.v4.runtime.tree.AbstractParseTreeVisitor.visit(AbstractParseTreeVisitor.java:42)
      1 frame
    8. presto-parser
      SqlBaseParser$ArithmeticUnaryContext.accept
      1. com.facebook.presto.sql.parser.AstBuilder.visitArithmeticUnary(AstBuilder.java:883)
      2. com.facebook.presto.sql.parser.AstBuilder.visitArithmeticUnary(AstBuilder.java:151)
      3. com.facebook.presto.sql.parser.SqlBaseParser$ArithmeticUnaryContext.accept(SqlBaseParser.java:5609)
      3 frames
    9. ANTLR 4 Runtime
      AbstractParseTreeVisitor.visit
      1. org.antlr.v4.runtime.tree.AbstractParseTreeVisitor.visit(AbstractParseTreeVisitor.java:42)
      1 frame
    10. presto-parser
      SqlBaseParser$PredicatedContext.accept
      1. com.facebook.presto.sql.parser.AstBuilder.visitPredicated(AstBuilder.java:768)
      2. com.facebook.presto.sql.parser.AstBuilder.visitPredicated(AstBuilder.java:151)
      3. com.facebook.presto.sql.parser.SqlBaseParser$PredicatedContext.accept(SqlBaseParser.java:5103)
      3 frames
    11. ANTLR 4 Runtime
      AbstractParseTreeVisitor.visitChildren
      1. org.antlr.v4.runtime.tree.AbstractParseTreeVisitor.visitChildren(AbstractParseTreeVisitor.java:70)
      1 frame
    12. presto-parser
      SqlBaseParser$BooleanDefaultContext.accept
      1. com.facebook.presto.sql.parser.SqlBaseBaseVisitor.visitBooleanDefault(SqlBaseBaseVisitor.java:496)
      2. com.facebook.presto.sql.parser.SqlBaseParser$BooleanDefaultContext.accept(SqlBaseParser.java:4809)
      2 frames
    13. ANTLR 4 Runtime
      AbstractParseTreeVisitor.visitChildren
      1. org.antlr.v4.runtime.tree.AbstractParseTreeVisitor.visitChildren(AbstractParseTreeVisitor.java:70)
      1 frame
    14. presto-parser
      SqlBaseParser$ExpressionContext.accept
      1. com.facebook.presto.sql.parser.SqlBaseBaseVisitor.visitExpression(SqlBaseBaseVisitor.java:482)
      2. com.facebook.presto.sql.parser.SqlBaseParser$ExpressionContext.accept(SqlBaseParser.java:4737)
      2 frames
    15. ANTLR 4 Runtime
      AbstractParseTreeVisitor.visit
      1. org.antlr.v4.runtime.tree.AbstractParseTreeVisitor.visit(AbstractParseTreeVisitor.java:42)
      1 frame
    16. Java RT
      ReferencePipeline.collect
      1. java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
      2. java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)
      3. java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
      4. java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
      5. java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
      6. java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
      7. java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
      7 frames
    17. presto-parser
      SqlBaseParser$FunctionCallContext.accept
      1. com.facebook.presto.sql.parser.AstBuilder.visit(AstBuilder.java:1296)
      2. com.facebook.presto.sql.parser.AstBuilder.visitFunctionCall(AstBuilder.java:1104)
      3. com.facebook.presto.sql.parser.AstBuilder.visitFunctionCall(AstBuilder.java:151)
      4. com.facebook.presto.sql.parser.SqlBaseParser$FunctionCallContext.accept(SqlBaseParser.java:6301)
      4 frames
    18. ANTLR 4 Runtime
      AbstractParseTreeVisitor.visitChildren
      1. org.antlr.v4.runtime.tree.AbstractParseTreeVisitor.visitChildren(AbstractParseTreeVisitor.java:70)
      1 frame
    19. presto-parser
      SqlBaseParser$ValueExpressionDefaultContext.accept
      1. com.facebook.presto.sql.parser.SqlBaseBaseVisitor.visitValueExpressionDefault(SqlBaseBaseVisitor.java:573)
      2. com.facebook.presto.sql.parser.SqlBaseParser$ValueExpressionDefaultContext.accept(SqlBaseParser.java:5532)
      2 frames
    20. ANTLR 4 Runtime
      AbstractParseTreeVisitor.visit
      1. org.antlr.v4.runtime.tree.AbstractParseTreeVisitor.visit(AbstractParseTreeVisitor.java:42)
      1 frame
    21. presto-parser
      SqlBaseParser$PredicatedContext.accept
      1. com.facebook.presto.sql.parser.AstBuilder.visitPredicated(AstBuilder.java:768)
      2. com.facebook.presto.sql.parser.AstBuilder.visitPredicated(AstBuilder.java:151)
      3. com.facebook.presto.sql.parser.SqlBaseParser$PredicatedContext.accept(SqlBaseParser.java:5103)
      3 frames
    22. ANTLR 4 Runtime
      AbstractParseTreeVisitor.visitChildren
      1. org.antlr.v4.runtime.tree.AbstractParseTreeVisitor.visitChildren(AbstractParseTreeVisitor.java:70)
      1 frame
    23. presto-parser
      SqlBaseParser$BooleanDefaultContext.accept
      1. com.facebook.presto.sql.parser.SqlBaseBaseVisitor.visitBooleanDefault(SqlBaseBaseVisitor.java:496)
      2. com.facebook.presto.sql.parser.SqlBaseParser$BooleanDefaultContext.accept(SqlBaseParser.java:4809)
      2 frames
    24. ANTLR 4 Runtime
      AbstractParseTreeVisitor.visitChildren
      1. org.antlr.v4.runtime.tree.AbstractParseTreeVisitor.visitChildren(AbstractParseTreeVisitor.java:70)
      1 frame
    25. presto-parser
      SqlBaseParser$ExpressionContext.accept
      1. com.facebook.presto.sql.parser.SqlBaseBaseVisitor.visitExpression(SqlBaseBaseVisitor.java:482)
      2. com.facebook.presto.sql.parser.SqlBaseParser$ExpressionContext.accept(SqlBaseParser.java:4737)
      2 frames
    26. ANTLR 4 Runtime
      AbstractParseTreeVisitor.visit
      1. org.antlr.v4.runtime.tree.AbstractParseTreeVisitor.visit(AbstractParseTreeVisitor.java:42)
      1 frame
    27. presto-parser
      SqlBaseParser$SingleExpressionContext.accept
      1. com.facebook.presto.sql.parser.AstBuilder.visitSingleExpression(AstBuilder.java:163)
      2. com.facebook.presto.sql.parser.AstBuilder.visitSingleExpression(AstBuilder.java:151)
      3. com.facebook.presto.sql.parser.SqlBaseParser$SingleExpressionContext.accept(SqlBaseParser.java:258)
      3 frames
    28. ANTLR 4 Runtime
      AbstractParseTreeVisitor.visit
      1. org.antlr.v4.runtime.tree.AbstractParseTreeVisitor.visit(AbstractParseTreeVisitor.java:42)
      1 frame
    29. presto-parser
      SqlParser.createExpression
      1. com.facebook.presto.sql.parser.SqlParser.invokeParser(SqlParser.java:103)
      2. com.facebook.presto.sql.parser.SqlParser.createExpression(SqlParser.java:70)
      2 frames
    30. presto-main
      Serialization$ExpressionDeserializer.deserialize
      1. com.facebook.presto.sql.Serialization$ExpressionDeserializer.deserialize(Serialization.java:60)
      2. com.facebook.presto.sql.Serialization$ExpressionDeserializer.deserialize(Serialization.java:45)
      2 frames
    31. Jackson
      BeanDeserializer.deserialize
      1. com.fasterxml.jackson.databind.deser.std.MapDeserializer._readAndBind(MapDeserializer.java:404)
      2. com.fasterxml.jackson.databind.deser.std.MapDeserializer.deserialize(MapDeserializer.java:323)
      3. com.fasterxml.jackson.databind.deser.std.MapDeserializer.deserialize(MapDeserializer.java:26)
      4. com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:538)
      5. com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeUsingPropertyBased(BeanDeserializer.java:344)
      6. com.fasterxml.jackson.databind.deser.BeanDeserializerBase.deserializeFromObjectUsingNonDefault(BeanDeserializerBase.java:1064)
      7. com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:264)
      8. com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeOther(BeanDeserializer.java:156)
      9. com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:126)
      10. com.fasterxml.jackson.databind.jsontype.impl.AsPropertyTypeDeserializer._deserializeTypedForId(AsPropertyTypeDeserializer.java:113)
      11. com.fasterxml.jackson.databind.jsontype.impl.AsPropertyTypeDeserializer.deserializeTypedFromObject(AsPropertyTypeDeserializer.java:84)
      12. com.fasterxml.jackson.databind.deser.AbstractDeserializer.deserializeWithType(AbstractDeserializer.java:132)
      13. com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:536)
      14. com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeUsingPropertyBased(BeanDeserializer.java:344)
      15. com.fasterxml.jackson.databind.deser.BeanDeserializerBase.deserializeFromObjectUsingNonDefault(BeanDeserializerBase.java:1064)
      16. com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:264)
      17. com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeOther(BeanDeserializer.java:156)
      18. com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:126)
      19. com.fasterxml.jackson.databind.jsontype.impl.AsPropertyTypeDeserializer._deserializeTypedForId(AsPropertyTypeDeserializer.java:113)
      20. com.fasterxml.jackson.databind.jsontype.impl.AsPropertyTypeDeserializer.deserializeTypedFromObject(AsPropertyTypeDeserializer.java:84)
      21. com.fasterxml.jackson.databind.deser.AbstractDeserializer.deserializeWithType(AbstractDeserializer.java:132)
      22. com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:536)
      23. com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeUsingPropertyBased(BeanDeserializer.java:344)
      24. com.fasterxml.jackson.databind.deser.BeanDeserializerBase.deserializeFromObjectUsingNonDefault(BeanDeserializerBase.java:1064)
      25. com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:264)
      26. com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:124)
      26 frames
    32. Jackson-datatype-jdk8
      OptionalDeserializer.deserialize
      1. com.fasterxml.jackson.datatype.jdk8.OptionalDeserializer.deserialize(OptionalDeserializer.java:98)
      2. com.fasterxml.jackson.datatype.jdk8.OptionalDeserializer.deserialize(OptionalDeserializer.java:18)
      2 frames
    33. Jackson
      ObjectMapper.readValue
      1. com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:538)
      2. com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeUsingPropertyBased(BeanDeserializer.java:344)
      3. com.fasterxml.jackson.databind.deser.BeanDeserializerBase.deserializeFromObjectUsingNonDefault(BeanDeserializerBase.java:1064)
      4. com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:264)
      5. com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:124)
      6. com.fasterxml.jackson.databind.ObjectMapper._readValue(ObjectMapper.java:3038)
      7. com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:1691)
      7 frames
    34. jaxrs
      JsonMapper.readFrom
      1. io.airlift.jaxrs.JsonMapper.readFrom(JsonMapper.java:149)
      1 frame
    35. Jersey Core
      ReaderInterceptorExecutor.proceed
      1. org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$TerminalReaderInterceptor.invokeReadFrom(ReaderInterceptorExecutor.java:256)
      2. org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$TerminalReaderInterceptor.aroundReadFrom(ReaderInterceptorExecutor.java:235)
      3. org.glassfish.jersey.message.internal.ReaderInterceptorExecutor.proceed(ReaderInterceptorExecutor.java:155)
      3 frames
    36. jersey-core-server
      MappableExceptionWrapperInterceptor.aroundReadFrom
      1. org.glassfish.jersey.server.internal.MappableExceptionWrapperInterceptor.aroundReadFrom(MappableExceptionWrapperInterceptor.java:74)
      1 frame
    37. Jersey Core
      InboundMessageContext.readEntity
      1. org.glassfish.jersey.message.internal.ReaderInterceptorExecutor.proceed(ReaderInterceptorExecutor.java:155)
      2. org.glassfish.jersey.message.internal.MessageBodyFactory.readFrom(MessageBodyFactory.java:1085)
      3. org.glassfish.jersey.message.internal.InboundMessageContext.readEntity(InboundMessageContext.java:874)
      3 frames
    38. jersey-core-server
      ServerRuntime$2.run
      1. org.glassfish.jersey.server.ContainerRequest.readEntity(ContainerRequest.java:271)
      2. org.glassfish.jersey.server.internal.inject.EntityParamValueFactoryProvider$EntityValueFactory.provide(EntityParamValueFactoryProvider.java:96)
      3. org.glassfish.jersey.server.spi.internal.ParamValueFactoryWithSource.provide(ParamValueFactoryWithSource.java:71)
      4. org.glassfish.jersey.server.spi.internal.ParameterValueHelper.getParameterValues(ParameterValueHelper.java:94)
      5. org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$AbstractMethodParamInvoker.getParamValues(JavaResourceMethodDispatcherProvider.java:127)
      6. org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)
      7. org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)
      8. org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)
      9. org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)
      10. org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)
      11. org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)
      11 frames
    39. Jersey Core
      RequestScope.runInScope
      1. org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)
      2. org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)
      3. org.glassfish.jersey.internal.Errors.process(Errors.java:315)
      4. org.glassfish.jersey.internal.Errors.process(Errors.java:297)
      5. org.glassfish.jersey.internal.Errors.process(Errors.java:267)
      6. org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)
      6 frames
    40. jersey-core-server
      ApplicationHandler.handle
      1. org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)
      2. org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)
      2 frames
    41. jersey-container-servlet-core
      ServletContainer.service
      1. org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:473)
      2. org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:427)
      3. org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:388)
      4. org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:341)
      5. org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:228)
      5 frames
    42. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:845)
      2. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1689)
      2 frames
    43. http-server
      TraceTokenFilter.doFilter
      1. io.airlift.http.server.TraceTokenFilter.doFilter(TraceTokenFilter.java:63)
      1 frame
    44. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676)
      1 frame
    45. http-server
      TimingFilter.doFilter
      1. io.airlift.http.server.TimingFilter.doFilter(TimingFilter.java:52)
      1 frame
    46. Jetty
      ScopedHandler.handle
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676)
      2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:581)
      3. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
      3 frames
    47. org.eclipse.jetty
      GzipHandler.handle
      1. org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:399)
      1 frame
    48. Jetty
      QueuedThreadPool$3.run
      1. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1162)
      2. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)
      3. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1092)
      4. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
      5. org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119)
      6. org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:169)
      7. org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52)
      8. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)
      9. org.eclipse.jetty.server.Server.handle(Server.java:518)
      10. org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:308)
      11. org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:244)
      12. org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)
      13. org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
      14. org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)
      15. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)
      16. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
      16 frames
    49. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame