java.lang.NumberFormatException: For input string: "1756317 "

Jenkins JIRA | folkstone42 | 9 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    I copied and pasted a changelist number as being the first to track. I didn't notice that I had included a space. Perhaps the string should be trimmed of spaces before attempting to convert it to an integer value? java.lang.NumberFormatException: For input string: "1756317 " at java.lang.NumberFormatException.forInputString(Unknown Source) at java.lang.Integer.parseInt(Unknown Source) at java.lang.Integer.(Unknown Source) at hudson.plugins.perforce.PerforceSCM$PerforceSCMDescriptor.newInstance(PerforceSCM.java:463) at hudson.plugins.perforce.PerforceSCM$PerforceSCMDescriptor.newInstance(PerforceSCM.java:438) at hudson.model.Descriptor.newInstance(Descriptor.java:176) at hudson.scm.SCMS.parseSCM(SCMS.java:38) at hudson.model.AbstractProject.submit(AbstractProject.java:1003) at hudson.model.Project.submit(Project.java:161) at hudson.model.FreeStyleProject.submit(FreeStyleProject.java:68) at hudson.model.Job.doConfigSubmit(Job.java:856) at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:320) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) 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:409) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:173) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:409) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:352) at org.kohsuke.stapler.Stapler.service(Stapler.java:112) at javax.servlet.http.HttpServlet.service(HttpServlet.java:45) at winstone.ServletConfiguration.execute(ServletConfiguration.java:249) at winstone.RequestDispatcher.forward(RequestDispatcher.java:335) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:378) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:61) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:53) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:88) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at winstone.RequestDispatcher.forward(RequestDispatcher.java:333) at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244) at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150) at java.lang.Thread.run(Unknown Source)

    Jenkins JIRA | 9 years ago | folkstone42
    java.lang.NumberFormatException: For input string: "1756317 "
  2. 0

    I copied and pasted a changelist number as being the first to track. I didn't notice that I had included a space. Perhaps the string should be trimmed of spaces before attempting to convert it to an integer value? java.lang.NumberFormatException: For input string: "1756317 " at java.lang.NumberFormatException.forInputString(Unknown Source) at java.lang.Integer.parseInt(Unknown Source) at java.lang.Integer.(Unknown Source) at hudson.plugins.perforce.PerforceSCM$PerforceSCMDescriptor.newInstance(PerforceSCM.java:463) at hudson.plugins.perforce.PerforceSCM$PerforceSCMDescriptor.newInstance(PerforceSCM.java:438) at hudson.model.Descriptor.newInstance(Descriptor.java:176) at hudson.scm.SCMS.parseSCM(SCMS.java:38) at hudson.model.AbstractProject.submit(AbstractProject.java:1003) at hudson.model.Project.submit(Project.java:161) at hudson.model.FreeStyleProject.submit(FreeStyleProject.java:68) at hudson.model.Job.doConfigSubmit(Job.java:856) at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:320) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) 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:409) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:173) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:409) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:352) at org.kohsuke.stapler.Stapler.service(Stapler.java:112) at javax.servlet.http.HttpServlet.service(HttpServlet.java:45) at winstone.ServletConfiguration.execute(ServletConfiguration.java:249) at winstone.RequestDispatcher.forward(RequestDispatcher.java:335) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:378) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:61) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:53) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:88) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at winstone.RequestDispatcher.forward(RequestDispatcher.java:333) at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244) at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150) at java.lang.Thread.run(Unknown Source)

    Jenkins JIRA | 9 years ago | folkstone42
    java.lang.NumberFormatException: For input string: "1756317 "
  3. 0

    CZI files with bitdepths 12/14/36/42 can not be loaded

    GitHub | 4 years ago | smozen
    java.lang.NumberFormatException: For input string: "2.5"
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    how to pass the @testng.test invocationCount="5" through the properties file or xml file

    Google Groups | 1 decade ago | ram
    java.lang.NumberFormatException: For input string: "${count}"
  6. 0

    Perforce Polling is failing all of a sudden

    Google Groups | 6 years ago | ShobhaD
    java.lang.NumberFormatException: For input string: "level"

  1. guizmaii 1 times, last 6 months ago
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

    For input string: "1756317 "

    at java.lang.NumberFormatException.forInputString()
  2. Java RT
    Integer.<init>
    1. java.lang.NumberFormatException.forInputString(Unknown Source)
    2. java.lang.Integer.parseInt(Unknown Source)
    3. java.lang.Integer.<init>(Unknown Source)
    3 frames