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]

Samebug tips4

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.


If you're using Facebook API, they now use OAuth2, so your URL should contain version number, like this:


Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web339

  • via Stack Overflow by amrk7
  • via Stack Overflow by Reza Kasyauqi
  • Stack trace

    • 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( at com.fasterxml.jackson.core.base.ParserMinimalBase._reportError( at com.fasterxml.jackson.core.base.ParserBase.reportUnexpectedNumberChar( at com.fasterxml.jackson.core.json.UTF8StreamJsonParser._handleInvalidNumberStart( at com.fasterxml.jackson.core.json.UTF8StreamJsonParser._parseNegNumber( at com.fasterxml.jackson.core.json.UTF8StreamJsonParser._nextTokenNotInObject( at com.fasterxml.jackson.core.json.UTF8StreamJsonParser.nextToken( at com.fasterxml.jackson.databind.ObjectMapper._initForReading( at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose( at com.fasterxml.jackson.databind.ObjectMapper.readValue( at org.redisson.config.ConfigSupport.fromJSON( at org.redisson.config.Config.fromJSON( at org.redisson.tomcat.RedissonSessionManager.startInternal( at org.apache.catalina.util.LifecycleBase.start( at org.apache.catalina.core.StandardContext.startInternal( at org.apache.catalina.util.LifecycleBase.start( at org.apache.catalina.core.ContainerBase.addChildInternal( at org.apache.catalina.core.ContainerBase.addChild( at org.apache.catalina.core.StandardHost.addChild( at org.apache.catalina.startup.HostConfig.deployDirectory( at org.apache.catalina.startup.HostConfig$ at java.util.concurrent.Executors$ at at java.util.concurrent.ThreadPoolExecutor.runWorker( at java.util.concurrent.ThreadPoolExecutor$ at

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    4 times, last one
    6 times, last one
    16 times, last one
    3 times, last one
    Andreas HäberAndreas Häber
    109 more bugmates