java.lang.NumberFormatException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • I can see repeating NumberFormatExceptions in localhost.2008-06-XX.log files. Here are examples: Jun 6, 2008 3:02:18 PM org.apache.catalina.core.ApplicationContext log SEVERE: Error while serving http://XXX/hudson/job/XXX/buildHistory/ajax java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor267.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.kohsuke.stapler.Function$InstanceFunction.invoke (Function.java:103) at org.kohsuke.stapler.Function.bindAndinvoke(Function.java:57) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:75) at org.kohsuke.stapler.NameBasedDispatcher.dispatch (NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:432) at org.kohsuke.stapler.MetaClass$15.dispatch(MetaClass.java:375) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:432) at org.kohsuke.stapler.MetaClass$9.doDispatch(MetaClass.java:254) at org.kohsuke.stapler.NameBasedDispatcher.dispatch (NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:432) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:360) at org.kohsuke.stapler.Stapler.service(Stapler.java:120) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:206) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:88) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke (StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke (StandardContextValve.java:175) at org.apache.catalina.authenticator.AuthenticatorBase.invoke (AuthenticatorBase.java:433) at org.apache.catalina.core.StandardHostValve.invoke (StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke (StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service (CoyoteAdapter.java:286) at org.apache.coyote.http11.Http11Processor.process (Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process (Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run (JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:595) Caused by: java.lang.NumberFormatException: null at java.lang.Integer.parseInt(Integer.java:415) at java.lang.Integer.parseInt(Integer.java:497) at hudson.model.Job$2.compare(Job.java:329) at hudson.model.Job$2.compare(Job.java:327) at hudson.widgets.HistoryWidget.doAjax(HistoryWidget.java:118) ... 32 more Jun 6, 2008 3:02:18 PM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet Stapler threw exception java.lang.NumberFormatException: null at java.lang.Integer.parseInt(Integer.java:415) at java.lang.Integer.parseInt(Integer.java:497) at hudson.model.Job$2.compare(Job.java:329) at hudson.model.Job$2.compare(Job.java:327) at hudson.widgets.HistoryWidget.doAjax(HistoryWidget.java:118) at sun.reflect.GeneratedMethodAccessor267.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.kohsuke.stapler.Function$InstanceFunction.invoke (Function.java:103) at org.kohsuke.stapler.Function.bindAndinvoke(Function.java:57) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:75) at org.kohsuke.stapler.NameBasedDispatcher.dispatch (NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:432) at org.kohsuke.stapler.MetaClass$15.dispatch(MetaClass.java:375) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:432) at org.kohsuke.stapler.MetaClass$9.doDispatch(MetaClass.java:254) at org.kohsuke.stapler.NameBasedDispatcher.dispatch (NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:432) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:360) at org.kohsuke.stapler.Stapler.service(Stapler.java:120) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:206) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:88) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke (StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke (StandardContextValve.java:175) at org.apache.catalina.authenticator.AuthenticatorBase.invoke (AuthenticatorBase.java:433) at org.apache.catalina.core.StandardHostValve.invoke (StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke (StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service (CoyoteAdapter.java:286) at org.apache.coyote.http11.Http11Processor.process (Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process (Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run (JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:595)
    via by vojtechhabarta,
  • I can see repeating NumberFormatExceptions in localhost.2008-06-XX.log files. Here are examples: Jun 6, 2008 3:02:18 PM org.apache.catalina.core.ApplicationContext log SEVERE: Error while serving http://XXX/hudson/job/XXX/buildHistory/ajax java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor267.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.kohsuke.stapler.Function$InstanceFunction.invoke (Function.java:103) at org.kohsuke.stapler.Function.bindAndinvoke(Function.java:57) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:75) at org.kohsuke.stapler.NameBasedDispatcher.dispatch (NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:432) at org.kohsuke.stapler.MetaClass$15.dispatch(MetaClass.java:375) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:432) at org.kohsuke.stapler.MetaClass$9.doDispatch(MetaClass.java:254) at org.kohsuke.stapler.NameBasedDispatcher.dispatch (NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:432) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:360) at org.kohsuke.stapler.Stapler.service(Stapler.java:120) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:206) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:88) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke (StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke (StandardContextValve.java:175) at org.apache.catalina.authenticator.AuthenticatorBase.invoke (AuthenticatorBase.java:433) at org.apache.catalina.core.StandardHostValve.invoke (StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke (StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service (CoyoteAdapter.java:286) at org.apache.coyote.http11.Http11Processor.process (Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process (Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run (JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:595) Caused by: java.lang.NumberFormatException: null at java.lang.Integer.parseInt(Integer.java:415) at java.lang.Integer.parseInt(Integer.java:497) at hudson.model.Job$2.compare(Job.java:329) at hudson.model.Job$2.compare(Job.java:327) at hudson.widgets.HistoryWidget.doAjax(HistoryWidget.java:118) ... 32 more Jun 6, 2008 3:02:18 PM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet Stapler threw exception java.lang.NumberFormatException: null at java.lang.Integer.parseInt(Integer.java:415) at java.lang.Integer.parseInt(Integer.java:497) at hudson.model.Job$2.compare(Job.java:329) at hudson.model.Job$2.compare(Job.java:327) at hudson.widgets.HistoryWidget.doAjax(HistoryWidget.java:118) at sun.reflect.GeneratedMethodAccessor267.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.kohsuke.stapler.Function$InstanceFunction.invoke (Function.java:103) at org.kohsuke.stapler.Function.bindAndinvoke(Function.java:57) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:75) at org.kohsuke.stapler.NameBasedDispatcher.dispatch (NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:432) at org.kohsuke.stapler.MetaClass$15.dispatch(MetaClass.java:375) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:432) at org.kohsuke.stapler.MetaClass$9.doDispatch(MetaClass.java:254) at org.kohsuke.stapler.NameBasedDispatcher.dispatch (NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:432) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:360) at org.kohsuke.stapler.Stapler.service(Stapler.java:120) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:206) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:88) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke (StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke (StandardContextValve.java:175) at org.apache.catalina.authenticator.AuthenticatorBase.invoke (AuthenticatorBase.java:433) at org.apache.catalina.core.StandardHostValve.invoke (StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke (StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service (CoyoteAdapter.java:286) at org.apache.coyote.http11.Http11Processor.process (Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process (Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run (JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:595)
    via by vojtechhabarta,
  • java.io.IOException: Broken pipe - Java Servlet
    via by Unknown author,
    • java.lang.NumberFormatException: null at java.lang.Integer.parseInt(Integer.java:415) at java.lang.Integer.parseInt(Integer.java:497) at hudson.model.Job$2.compare(Job.java:329) at hudson.model.Job$2.compare(Job.java:327) at hudson.widgets.HistoryWidget.doAjax(HistoryWidget.java:118) at sun.reflect.GeneratedMethodAccessor267.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:103) at org.kohsuke.stapler.Function.bindAndinvoke(Function.java:57) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:75) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:432) at org.kohsuke.stapler.MetaClass$15.dispatch(MetaClass.java:375) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:432) at org.kohsuke.stapler.MetaClass$9.doDispatch(MetaClass.java:254) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:432) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:360) at org.kohsuke.stapler.Stapler.service(Stapler.java:120) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:88)

    Users with the same issue

    tomthomas
    1 times, last one,
    David
    2 times, last one,
    Andreas Häber
    1 times, last one,
    treefolk
    3 times, last one,
    harshg
    1 times, last one,
    153 more bugmates