com.fasterxml.jackson.core.JsonParseException: Unexpected character ('-' (code 45)) in numeric value: expected digit (0-9) to follow minus sign, for valid numeric value at [Source: /usr/local/tomcat18080/conf/redis.yaml; line: 1, column: 3]

GitHub | koywang | 3 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to Rafael Fischer Viola . Or join the community to write better ones.
  1. 0
    samebug tip
    If you're using Java Chronicle it might be a Cleanup problem. Either add @ignore to the test or delete the memory map file and do it again.
  2. 0
    samebug tip
    If you're using Facebook API, they now use OAuth2, so your URL should contain version number, like this: facebook.authorizationURL="https://graph.facebook.com/v2.3/oauth/authorize"
  3. 0

    Cannot use format: password for string in body parameter

    GitHub | 2 years ago | arnested
    com.fasterxml.jackson.core.JsonParseException: Unexpected character ('-' (code 45)) in numeric value: expected digit (0-9) to follow minus sign, for valid numeric value at [Source: minimal.yaml; line: 1, column: 3]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Swagger does not recognize .yml files as YAML

    GitHub | 2 years ago | bklang
    com.fasterxml.jackson.core.JsonParseException: Unexpected character ('-' (code 45)) in numeric value: expected digit (0-9) to follow minus sign, for valid numeric value at [Source: call_recorder/docs/call_recorder_swagger.yml; line: 1, column: 3]
  6. 0

    [Router] Router not support multipart put document with attachment

    GitHub | 2 years ago | pasin
    com.fasterxml.jackson.core.JsonParseException: Unexpected character ('-' (code 45)) in numeric value: expected digit (0-9) to follow minus sign, for valid numeric value at [Source: Acme.Serve.Serve$ServeInputStream@11341df6; line: 2, column: 3]
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.core.JsonParseException

    Unexpected character ('-' (code 45)) in numeric value: expected digit (0-9) to follow minus sign, for valid numeric value at [Source: /usr/local/tomcat18080/conf/redis.yaml; line: 1, column: 3]

    at com.fasterxml.jackson.core.JsonParser._constructError()
  2. Jackson-core
    UTF8StreamJsonParser.nextToken
    1. com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:1586)
    2. com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:521)
    3. com.fasterxml.jackson.core.base.ParserBase.reportUnexpectedNumberChar(ParserBase.java:1069)
    4. com.fasterxml.jackson.core.json.UTF8StreamJsonParser._handleInvalidNumberStart(UTF8StreamJsonParser.java:2749)
    5. com.fasterxml.jackson.core.json.UTF8StreamJsonParser._parseNegNumber(UTF8StreamJsonParser.java:1414)
    6. com.fasterxml.jackson.core.json.UTF8StreamJsonParser._nextTokenNotInObject(UTF8StreamJsonParser.java:837)
    7. com.fasterxml.jackson.core.json.UTF8StreamJsonParser.nextToken(UTF8StreamJsonParser.java:748)
    7 frames
  3. Jackson
    ObjectMapper.readValue
    1. com.fasterxml.jackson.databind.ObjectMapper._initForReading(ObjectMapper.java:3847)
    2. com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3792)
    3. com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2691)
    3 frames
  4. org.redisson.config
    Config.fromJSON
    1. org.redisson.config.ConfigSupport.fromJSON(ConfigSupport.java:119)
    2. org.redisson.config.Config.fromJSON(Config.java:516)
    2 frames
  5. org.redisson.tomcat
    RedissonSessionManager.startInternal
    1. org.redisson.tomcat.RedissonSessionManager.startInternal(RedissonSessionManager.java:149)
    1 frame
  6. Glassfish Core
    HostConfig$DeployDirectory.run
    1. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
    2. org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5331)
    3. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
    4. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:753)
    5. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:729)
    6. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
    7. org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1092)
    8. org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1834)
    8 frames
  7. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
    3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    5. java.lang.Thread.run(Thread.java:745)
    5 frames