java.lang.NumberFormatException: null

Jenkins JIRA | vojtechhabarta | 9 years ago
  1. 0

    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)

    Jenkins JIRA | 9 years ago | vojtechhabarta
    java.lang.NumberFormatException: null
  2. 0

    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)

    Jenkins JIRA | 9 years ago | vojtechhabarta
    java.lang.NumberFormatException: null
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    NumberFormatException: null (Beginning Java forum at Coderanch)

    coderanch.com | 7 months ago
    java.lang.NumberFormatException: null
  5. 0

    Java lang numberformatexception null - Java Programming - KnowCoding.com

    knowcoding.com | 1 year ago
    java.lang.NumberFormatException: null

  1. Handemelindo 6 times, last 6 days ago
  2. bmacedo 2 times, last 1 week ago
  3. MoYapro 1 times, last 1 week ago
  4. filpgame 4 times, last 3 weeks ago
  5. silex 6 times, last 1 month ago
32 more registered users
63 unregistered visitors
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. java.lang.NumberFormatException

    null

    at java.lang.Integer.parseInt()
  2. Java RT
    Integer.parseInt
    1. java.lang.Integer.parseInt(Integer.java:415)
    2. java.lang.Integer.parseInt(Integer.java:497)
    2 frames
  3. Hudson
    HistoryWidget.doAjax
    1. hudson.model.Job$2.compare(Job.java:329)
    2. hudson.model.Job$2.compare(Job.java:327)
    3. hudson.widgets.HistoryWidget.doAjax(HistoryWidget.java:118)
    3 frames
  4. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor267.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    3. java.lang.reflect.Method.invoke(Method.java:585)
    3 frames
  5. Stapler
    Stapler.service
    1. org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:103)
    2. org.kohsuke.stapler.Function.bindAndinvoke(Function.java:57)
    3. org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:75)
    4. org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
    5. org.kohsuke.stapler.Stapler.invoke(Stapler.java:432)
    6. org.kohsuke.stapler.MetaClass$15.dispatch(MetaClass.java:375)
    7. org.kohsuke.stapler.Stapler.invoke(Stapler.java:432)
    8. org.kohsuke.stapler.MetaClass$9.doDispatch(MetaClass.java:254)
    9. org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
    10. org.kohsuke.stapler.Stapler.invoke(Stapler.java:432)
    11. org.kohsuke.stapler.Stapler.invoke(Stapler.java:360)
    12. org.kohsuke.stapler.Stapler.service(Stapler.java:120)
    12 frames
  6. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    1 frame
  7. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    2 frames
  8. Hudson
    HudsonFilter.doFilter
    1. hudson.security.HudsonFilter.doFilter(HudsonFilter.java:88)
    1 frame