java.lang.RuntimeException: java.lang.IllegalArgumentException: Cannot create enum from eu-central-1 value!

Jenkins JIRA | Devonte Emokpae | 2 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

    Exception when region eu-central-1 is chosen

    GitHub | 2 years ago | Jawan81
    java.lang.RuntimeException: java.lang.IllegalArgumentException: Cannot create enum from eu-central-1 value!
  2. 0

    Jenkins - Latest Mac OS X 10.10.3 AWS CLI - Latest AWS EB CLI - Latest Creating S3 and AWSEB Client (AWS Access Key Id: AKIAIW6RFJDNNX6H4GIA, region: eu-central-1) ERROR: Build step failed with exception java.lang.RuntimeException: java.lang.IllegalArgumentException: Cannot create enum from eu-central-1 value! at br.com.ingenieux.jenkins.plugins.awsebdeployment.AWSEBDeploymentBuilder.perform(AWSEBDeploymentBuilder.java:211) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779) at hudson.model.Build$BuildExecution.build(Build.java:205) at hudson.model.Build$BuildExecution.doRun(Build.java:162) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537) at hudson.model.Run.execute(Run.java:1744) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:374) Caused by: java.lang.IllegalArgumentException: Cannot create enum from eu-central-1 value! at com.amazonaws.regions.Regions.fromName(Regions.java:64) at br.com.ingenieux.jenkins.plugins.awsebdeployment.Deployer.initAWS(Deployer.java:206) at br.com.ingenieux.jenkins.plugins.awsebdeployment.Deployer.perform(Deployer.java:104) at br.com.ingenieux.jenkins.plugins.awsebdeployment.AWSEBDeploymentBuilder.perform(AWSEBDeploymentBuilder.java:207) ... 9 more Build step 'Deploy into AWS Elastic Beanstalk' marked build as failure Finished: FAILURE

    Jenkins JIRA | 2 years ago | Devonte Emokpae
    java.lang.RuntimeException: java.lang.IllegalArgumentException: Cannot create enum from eu-central-1 value!
  3. 0

    Jenkins - Latest Mac OS X 10.10.3 AWS CLI - Latest AWS EB CLI - Latest Creating S3 and AWSEB Client (AWS Access Key Id: AKIAIW6RFJDNNX6H4GIA, region: eu-central-1) ERROR: Build step failed with exception java.lang.RuntimeException: java.lang.IllegalArgumentException: Cannot create enum from eu-central-1 value! at br.com.ingenieux.jenkins.plugins.awsebdeployment.AWSEBDeploymentBuilder.perform(AWSEBDeploymentBuilder.java:211) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779) at hudson.model.Build$BuildExecution.build(Build.java:205) at hudson.model.Build$BuildExecution.doRun(Build.java:162) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537) at hudson.model.Run.execute(Run.java:1744) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:374) Caused by: java.lang.IllegalArgumentException: Cannot create enum from eu-central-1 value! at com.amazonaws.regions.Regions.fromName(Regions.java:64) at br.com.ingenieux.jenkins.plugins.awsebdeployment.Deployer.initAWS(Deployer.java:206) at br.com.ingenieux.jenkins.plugins.awsebdeployment.Deployer.perform(Deployer.java:104) at br.com.ingenieux.jenkins.plugins.awsebdeployment.AWSEBDeploymentBuilder.perform(AWSEBDeploymentBuilder.java:207) ... 9 more Build step 'Deploy into AWS Elastic Beanstalk' marked build as failure Finished: FAILURE

    Jenkins JIRA | 2 years ago | Devonte Emokpae
    java.lang.RuntimeException: java.lang.IllegalArgumentException: Cannot create enum from eu-central-1 value!
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Variable in Region

    GitHub | 2 years ago | Pluteus
    java.lang.RuntimeException: java.lang.IllegalArgumentException: Cannot create enum from ${Label} value!
  6. 0

    Fails for ap-south-1 region

    GitHub | 8 months ago | tridib
    java.lang.IllegalArgumentException: Cannot create enum from ap-south-1 value!

    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.IllegalArgumentException

      Cannot create enum from eu-central-1 value!

      at com.amazonaws.regions.Regions.fromName()
    2. AWS SDK for Java - Core
      Regions.fromName
      1. com.amazonaws.regions.Regions.fromName(Regions.java:64)
      1 frame
    3. br.com.ingenieux
      AWSEBDeploymentBuilder.perform
      1. br.com.ingenieux.jenkins.plugins.awsebdeployment.Deployer.initAWS(Deployer.java:206)
      2. br.com.ingenieux.jenkins.plugins.awsebdeployment.Deployer.perform(Deployer.java:104)
      3. br.com.ingenieux.jenkins.plugins.awsebdeployment.AWSEBDeploymentBuilder.perform(AWSEBDeploymentBuilder.java:207)
      3 frames
    4. Hudson
      Executor.run
      1. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      2. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
      3. hudson.model.Build$BuildExecution.build(Build.java:205)
      4. hudson.model.Build$BuildExecution.doRun(Build.java:162)
      5. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537)
      6. hudson.model.Run.execute(Run.java:1744)
      7. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      8. hudson.model.ResourceController.execute(ResourceController.java:98)
      9. hudson.model.Executor.run(Executor.java:374)
      9 frames