com.fasterxml.jackson.databind.exc.InvalidFormatException: Can not construct instance of boolean from String value '1': only "true" or "false" recognized at [Source: {"gtfsRouteId":"1","agencyId":"3088eaeb-2e4b-44ed-aac5-3b24e0525457","feedId":"edc577ab-100b-4d26-8673-0126f32b2b14","routeBrandingUrl":null,"publiclyVisible":"1","status":"APPROVED","routeShortName":"H-H","routeLongName":"Har-H","routeDesc":null,"gtfsRouteType":4,"routeUrl":"http://example.com","routeColor":null,"routeTextColor":null,"id":"515c48dc-fe37-452a-bccc-3d84fc5c7599"}; line: 1, column: 141] (through reference chain: com.conveyal.datatools.editor.models.transit.Route["publiclyVisible"])

GitHub | smsm1 | 2 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Saving a route as public gives a InvalidFormatException

    GitHub | 2 months ago | smsm1
    com.fasterxml.jackson.databind.exc.InvalidFormatException: Can not construct instance of boolean from String value '1': only "true" or "false" recognized at [Source: {"gtfsRouteId":"1","agencyId":"3088eaeb-2e4b-44ed-aac5-3b24e0525457","feedId":"edc577ab-100b-4d26-8673-0126f32b2b14","routeBrandingUrl":null,"publiclyVisible":"1","status":"APPROVED","routeShortName":"H-H","routeLongName":"Har-H","routeDesc":null,"gtfsRouteType":4,"routeUrl":"http://example.com","routeColor":null,"routeTextColor":null,"id":"515c48dc-fe37-452a-bccc-3d84fc5c7599"}; line: 1, column: 141] (through reference chain: com.conveyal.datatools.editor.models.transit.Route["publiclyVisible"])
  2. 0

    Saving a route as public gives a InvalidFormatException

    GitHub | 2 months ago | smsm1
    com.fasterxml.jackson.databind.exc.InvalidFormatException: Can not construct instance of boolean from String value '1': only "true" or "false" recognized at [Source: {"gtfsRouteId":"1","agencyId":"3088eaeb-2e4b-44ed-aac5-3b24e0525457","feedId":"edc577ab-100b-4d26-8673-0126f32b2b14","routeBrandingUrl":null,"publiclyVisible":"1","status":"APPROVED","routeShortName":"H-H","routeLongName":"Har-H","routeDesc":null,"gtfsRouteType":4,"routeUrl":"http://example.com","routeColor":null,"routeTextColor":null,"id":"515c48dc-fe37-452a-bccc-3d84fc5c7599"}; line: 1, column: 141] (through reference chain: com.conveyal.datatools.editor.models.transit.Route["publiclyVisible"])
  3. 0

    Error when storing route due to publiclyVisible element

    GitHub | 2 years ago | skibu
    com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "publiclyVisible" (class models.transit.Route), not marked as ignorable (13 known properties: "agencyId", "routeUrl", "wheelchairBoarding", "gtfsRouteId", "routeTextColor", "routeLongName", "status", "comments", "routeDesc", "routeColor", "id", "routeShortName", "routeTypeId" [truncated]]) at [Source: {"id":"34da8cd8-8aaa-41b6-9b4d-908bc0a41868","gtfsRouteId":"ROUTE_34da8cd8-8aaa-41b6-9b4d-908bc0a41868","routeShortName":"shuttle","routeLongName":"AeroCentre Shuttle","routeDesc":"","routeTypeId":"0af28c70-9bf5-4f4c-9b85-517caf06f692","routeUrl":"","routeColor":"","routeTextColor":"","comments":"Initial test route","status":"IN_PROGRESS","agencyId":"9b46ae27-57f7-48d0-96b3-8d4c39d1b8e0","wheelchairBoarding":"UNKNOWN","publiclyVisible":false}; line: 1, column: 446] (through reference chain: Route["publiclyVisible"])
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    UnrecognizedPropertyException when doing anything schedule related

    GitHub | 2 years ago | medwards
    com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "name" (class models.transit.Route), not marked as ignorable (17 known properties: "agencyId", "routeLongName", "sunday", "routeColor", "id", "publiclyVisible", "routeShortName", "routeTypeId", "routeUrl", "wheelchairBoarding", "weekday", "gtfsRouteId", "routeTextColor" [truncated]]) at [Source: {"id":"88da512d-9173-4742-9991-2d1077edb7fa","gtfsRouteId":"ROUTE_88da512d-9173-4742-9991-2d1077edb7fa","routeShortName":"U6","routeLongName":"U6","routeDesc":"","routeTypeId":"c9dffbbd-521a-4dd6-9279-0e76464b9943","routeUrl":"","routeColor":"#7030b0","routeTextColor":"","comments":"","status":"IN_PROGRESS","publiclyVisible":false,"weekday":null,"saturday":null,"sunday":null,"agencyId":"bdceb845-0cf9-40a7-a2cd-71f04bec6aba","wheelchairBoarding":"UNKNOWN","name":"U6 U6"}; line: 1, column: 468] (through reference chain: Route["name"])
  6. 0

    New stratum/getwork proxy with Web-based GUI and pools management

    bitcointalk.org | 2 years ago
    com.fasterxml.jackson.databind.exc.InvalidFormatException: Can not construct instance of long from String value 'auth': not a valid Long value  at [Source: {"id": "auth", "method": "mining.authorize", "params": ["x", "x"]}; line: 1, column: 2] (through reference chain: strat.mining.stratum.proxy.json.JsonRpcRequest["id"])
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. com.fasterxml.jackson.databind.exc.InvalidFormatException

    Can not construct instance of boolean from String value '1': only "true" or "false" recognized at [Source: {"gtfsRouteId":"1","agencyId":"3088eaeb-2e4b-44ed-aac5-3b24e0525457","feedId":"edc577ab-100b-4d26-8673-0126f32b2b14","routeBrandingUrl":null,"publiclyVisible":"1","status":"APPROVED","routeShortName":"H-H","routeLongName":"Har-H","routeDesc":null,"gtfsRouteType":4,"routeUrl":"http://example.com","routeColor":null,"routeTextColor":null,"id":"515c48dc-fe37-452a-bccc-3d84fc5c7599"}; line: 1, column: 141] (through reference chain: com.conveyal.datatools.editor.models.transit.Route["publiclyVisible"])

    at com.fasterxml.jackson.databind.exc.InvalidFormatException.from()
  2. Jackson
    ObjectMapper.readValue
    1. com.fasterxml.jackson.databind.exc.InvalidFormatException.from(InvalidFormatException.java:55)
    2. com.fasterxml.jackson.databind.DeserializationContext.weirdStringException(DeserializationContext.java:883)
    3. com.fasterxml.jackson.databind.deser.std.StdDeserializer._parseBoolean(StdDeserializer.java:201)
    4. com.fasterxml.jackson.databind.deser.std.NumberDeserializers$BooleanDeserializer.deserialize(NumberDeserializers.java:163)
    5. com.fasterxml.jackson.databind.deser.std.NumberDeserializers$BooleanDeserializer.deserialize(NumberDeserializers.java:145)
    6. com.fasterxml.jackson.databind.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:523)
    7. com.fasterxml.jackson.databind.deser.impl.FieldProperty.deserializeAndSet(FieldProperty.java:101)
    8. com.fasterxml.jackson.databind.deser.impl.BeanPropertyMap.findDeserializeAndSet(BeanPropertyMap.java:285)
    9. com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:248)
    10. com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:136)
    11. com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3564)
    12. com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2580)
    12 frames
  3. com.conveyal.datatools
    RouteController.updateRoute
    1. com.conveyal.datatools.editor.controllers.api.RouteController.updateRoute(RouteController.java:137)
    1 frame
  4. Spark
    ResponseTransformerRouteImpl$1.handle
    1. spark.ResponseTransformerRouteImpl$1.handle(ResponseTransformerRouteImpl.java:47)
    1 frame
  5. spark.http.matching
    MatcherFilter.doFilter
    1. spark.http.matching.Routes.execute(Routes.java:61)
    2. spark.http.matching.MatcherFilter.doFilter(MatcherFilter.java:126)
    2 frames
  6. spark.embeddedserver.jetty
    JettyHandler.doHandle
    1. spark.embeddedserver.jetty.JettyHandler.doHandle(JettyHandler.java:50)
    1 frame
  7. Jetty
    SelectChannelEndPoint$2.run
    1. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:189)
    2. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
    3. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:119)
    4. org.eclipse.jetty.server.Server.handle(Server.java:517)
    5. org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:308)
    6. org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:242)
    7. org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:261)
    8. org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
    9. org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:75)
    9 frames
  8. org.eclipse.jetty
    ExecuteProduceConsume.run
    1. org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:213)
    2. org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:147)
    2 frames
  9. Jetty
    QueuedThreadPool$3.run
    1. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)
    2. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
    2 frames
  10. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame