We have a lot of java.lang.NumberFormatException in logs
Asked by oleg_a_smirnov:

Hello!  

Since upgrade from version 6.13 to 7.1.0 we have a lot of JAVA exceptions. Periodically we have error 500 in the browser.  
We use a docker image 7-ubuntu-18.04-adoptopenjdk8 with PostgreSQL 9.6.  

Errors:  

2019-11-07 00:31:55,409 ERROR \[http-nio-8090-exec-27\] \[\[Standalone\].\[localhost\].\[/\].\[noop\]\] log Servlet.service() for servlet \[noop\] in context with path \[\] threw exception

java.lang.NumberFormatException: 932e7c0264d0f00afccafc1f3a33560b should be a \<=16 character lower-hex string with no prefix

at com.github.kristofa.brave.IdConversion.convertToLong(IdConversion.java:41)

at com.github.kristofa.brave.http.HttpServerRequestAdapter.getSpanId(HttpServerRequestAdapter.java:54)

at com.github.kristofa.brave.http.HttpServerRequestAdapter.getTraceData(HttpServerRequestAdapter.java:31)

at com.github.kristofa.brave.ServerRequestInterceptor.handle(ServerRequestInterceptor.java:33)

at com.github.kristofa.brave.servlet.BraveServletFilter.doFilter(BraveServletFilter.java:56)

at com.atlassian.confluence.web.filter.ZipkinTracingFilter.doFilter(ZipkinTracingFilter.java:52)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

at com.atlassian.confluence.web.filter.ResponseOutputStreamFilter.doFilter(ResponseOutputStreamFilter.java:25)

at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:32)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

at com.atlassian.core.filters.HeaderSanitisingFilter.doFilter(HeaderSanitisingFilter.java:37)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

at com.atlassian.confluence.servlet.FourOhFourErrorLoggingFilter.doFilter(FourOhFourErrorLoggingFilter.java:64)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

at com.atlassian.confluence.internal.diagnostics.HttpRequestMonitoringFilter.doFilter(HttpRequestMonitoringFilter.java:42)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

at com.atlassian.confluence.web.filter.DebugFilter.doFilter(DebugFilter.java:46)

at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:32)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)

at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490)

at org.apache.catalina.valves.StuckThreadDetectionValve.invoke(StuckThreadDetectionValve.java:206)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)

at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408)

at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)

at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:853)

at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1587)

at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)

at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

at java.lang.Thread.run(Unknown Source)

2019-11-07 00:31:55,409 ERROR \[http-nio-8090-exec-27\] \[\[Standalone\].\[localhost\].\[/\].\[jsp\]\] log Servlet.service() for servlet \[jsp\] threw exception

java.lang.NumberFormatException: 932e7c0264d0f00afccafc1f3a33560b should be a \<=16 character lower-hex string with no prefix

at com.github.kristofa.brave.IdConversion.convertToLong(IdConversion.java:41)

at com.github.kristofa.brave.http.HttpServerRequestAdapter.getSpanId(HttpServerRequestAdapter.java:54)

at com.github.kristofa.brave.http.HttpServerRequestAdapter.getTraceData(HttpServerRequestAdapter.java:31)

at com.github.kristofa.brave.ServerRequestInterceptor.handle(ServerRequestInterceptor.java:33)

at com.github.kristofa.brave.servlet.BraveServletFilter.doFilter(BraveServletFilter.java:56)

at com.atlassian.confluence.web.filter.ZipkinTracingFilter.doFilter(ZipkinTracingFilter.java:52)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

at com.atlassian.confluence.web.filter.DebugFilter.doFilter(DebugFilter.java:46)

at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:32)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:712)

at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:461)

at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:384)

at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)

at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:394)

at org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:253)

at org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:348)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:173)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)

at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408)

at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)

at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:853)

at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1587)

at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)

at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

at java.lang.Thread.run(Unknown Source)


Answers:
author: courcelm
body: [@oleg_a_smirnov](/t5/user/viewprofilepage/user-id/110651) Any solution for this problem. I also have this one.

comments: author: Michael Lancaster
body: [@oleg_a_smirnov](/t5/user/viewprofilepage/user-id/110651) [@courcelm](/t5/user/viewprofilepage/user-id/470950) have either of you figured this one out? I've been banging my head against the wall all week trying to get past this issue.


Tags: confluence-server

server