java.lang.IllegalArgumentException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Fails for ap-south-1 region
    via GitHub by tridib
    ,
  • AWS Region for Fake SQS
    via GitHub by jpbernius
    ,
  • Variable in Region
    via GitHub by Pluteus
    ,
  • 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
    via by Devonte Emokpae,
  • 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
    via by Devonte Emokpae,
  • eu-west-2 is missing as a region
    via GitHub by rsshilli
    ,
    • java.lang.IllegalArgumentException: Cannot create enum from ap-south-1 value! at com.amazonaws.regions.Regions.fromName(Regions.java:73) at com.amazonaws.codedeploy.AWSClients.<init>(AWSClients.java:74) at com.amazonaws.codedeploy.AWSClients.fromIAMRole(AWSClients.java:82) at com.amazonaws.codedeploy.AWSCodeDeployPublisher.perform(AWSCodeDeployPublisher.java:209) at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:32) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:723) at hudson.model.Build$BuildExecution.post2(Build.java:185) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:668) at hudson.model.Run.execute(Run.java:1763) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410)
    No Bugmate found.