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

GitHub | tridib | 7 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 | 7 months ago | tridib
    java.lang.IllegalArgumentException: Cannot create enum from ap-south-1 value!
  2. 0

    AWS Region for Fake SQS

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

    When a iam role authenticates with an invalid region, a 500 is returned instead of a 400

    GitHub | 3 months ago | fieldju
    java.util.concurrent.CompletionException: java.lang.IllegalArgumentException: Specified region is not valid.
  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

    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!

    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