java.lang.IllegalArgumentException: Cannot create enum from ap-south-1 value!

GitHub | tridib | 6 months 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

    Fails for ap-south-1 region

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

    AWS Region for Fake SQS

    GitHub | 4 months ago | jpbernius
    java.lang.IllegalArgumentException: Cannot create enum from elasticmq value!
  3. 0

    Variable in Region

    GitHub | 2 years ago | Pluteus
    java.lang.RuntimeException: java.lang.IllegalArgumentException: Cannot create enum from ${Label} value!
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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!
  6. 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!

    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 ap-south-1 value!

      at com.amazonaws.regions.Regions.fromName()
    2. AWS SDK for Java - Core
      Regions.fromName
      1. com.amazonaws.regions.Regions.fromName(Regions.java:73)
      1 frame
    3. com.amazonaws.codedeploy
      AWSCodeDeployPublisher.perform
      1. com.amazonaws.codedeploy.AWSClients.<init>(AWSClients.java:74)
      2. com.amazonaws.codedeploy.AWSClients.fromIAMRole(AWSClients.java:82)
      3. com.amazonaws.codedeploy.AWSCodeDeployPublisher.perform(AWSCodeDeployPublisher.java:209)
      3 frames
    4. Hudson
      Executor.run
      1. hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:32)
      2. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782)
      3. hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:723)
      4. hudson.model.Build$BuildExecution.post2(Build.java:185)
      5. hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:668)
      6. hudson.model.Run.execute(Run.java:1763)
      7. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      8. hudson.model.ResourceController.execute(ResourceController.java:98)
      9. hudson.model.Executor.run(Executor.java:410)
      9 frames