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

Jenkins JIRA | hiteswar kumar | 4 years ago
  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 | 4 years ago | psibre
    java.lang.NumberFormatException: For input string: "${zip_size}"
  6. 0

    error when getting attribute list

    GitHub | 2 years ago | tastypear
    java.lang.NumberFormatException: For input string: "orientation|screenLayout|screenSize"

  1. Handemelindo 6 times, last 3 days ago
  2. bmacedo 2 times, last 4 days 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

    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