java.lang.NumberFormatException: For input string: "$DOWNSTREAM_JOB_BUILD_NUMBER"

Jenkins JIRA | hiteswar kumar | 4 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

    Injecting environment variable via envinject plugin which is sucessfull, later failed while using that variable in copy artifact plugin. find stracktrace below: [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content DOWNSTREAM_JOB_BUILD_NUMBER1=$DOWNSTREAM_JOB_BUILD_NUMBER [EnvInject] - Variables injected successfully. FATAL: For input string: "$DOWNSTREAM_JOB_BUILD_NUMBER" java.lang.NumberFormatException: For input string: "$DOWNSTREAM_JOB_BUILD_NUMBER" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Integer.parseInt(Integer.java:449) at java.lang.Integer.parseInt(Integer.java:499) at hudson.plugins.copyartifact.SpecificBuildSelector.getBuild(SpecificBuildSelector.java:51) at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:176) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:697) at hudson.model.Build$RunnerImpl.build(Build.java:178) at hudson.model.Build$RunnerImpl.doRun(Build.java:139) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:467) at hudson.model.Run.run(Run.java:1404) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:238)

    Jenkins JIRA | 4 years ago | hiteswar kumar
    java.lang.NumberFormatException: For input string: "$DOWNSTREAM_JOB_BUILD_NUMBER"
  2. 0

    Injecting environment variable via envinject plugin which is sucessfull, later failed while using that variable in copy artifact plugin. find stracktrace below: [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content DOWNSTREAM_JOB_BUILD_NUMBER1=$DOWNSTREAM_JOB_BUILD_NUMBER [EnvInject] - Variables injected successfully. FATAL: For input string: "$DOWNSTREAM_JOB_BUILD_NUMBER" java.lang.NumberFormatException: For input string: "$DOWNSTREAM_JOB_BUILD_NUMBER" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Integer.parseInt(Integer.java:449) at java.lang.Integer.parseInt(Integer.java:499) at hudson.plugins.copyartifact.SpecificBuildSelector.getBuild(SpecificBuildSelector.java:51) at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:176) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:697) at hudson.model.Build$RunnerImpl.build(Build.java:178) at hudson.model.Build$RunnerImpl.doRun(Build.java:139) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:467) at hudson.model.Run.run(Run.java:1404) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:238)

    Jenkins JIRA | 4 years ago | hiteswar kumar
    java.lang.NumberFormatException: For input string: "$DOWNSTREAM_JOB_BUILD_NUMBER"
  3. 0

    java.lang.NumberFormatException using IPv6 addresses

    GitHub | 5 years ago | asoldano
    java.lang.NumberFormatException: For input string: ":1]:8080"
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    zip file attributes not processed correctly in voice-cmu-slt-hsmm

    GitHub | 5 years ago | psibre
    java.lang.NumberFormatException: For input string: "${zip_size}"

  1. rp 4 times, last 2 weeks ago
  2. Handemelindo 6 times, last 2 weeks ago
  3. treefolk 3 times, last 4 weeks ago
  4. andreeaa marin 2 times, last 1 month ago
  5. eti22 6 times, last 1 month ago
33 more registered users
62 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

    For input string: "$DOWNSTREAM_JOB_BUILD_NUMBER"

    at java.lang.NumberFormatException.forInputString()
  2. Java RT
    Integer.parseInt
    1. java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
    2. java.lang.Integer.parseInt(Integer.java:449)
    3. java.lang.Integer.parseInt(Integer.java:499)
    3 frames
  3. hudson.plugins.copyartifact
    CopyArtifact.perform
    1. hudson.plugins.copyartifact.SpecificBuildSelector.getBuild(SpecificBuildSelector.java:51)
    2. hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:176)
    2 frames
  4. Hudson
    Executor.run
    1. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
    2. hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:697)
    3. hudson.model.Build$RunnerImpl.build(Build.java:178)
    4. hudson.model.Build$RunnerImpl.doRun(Build.java:139)
    5. hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:467)
    6. hudson.model.Run.run(Run.java:1404)
    7. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
    8. hudson.model.ResourceController.execute(ResourceController.java:88)
    9. hudson.model.Executor.run(Executor.java:238)
    9 frames