java.lang.NoClassDefFoundError: Could not initialize class com.amazonaws.services.s3.internal.S3ErrorResponseHandler

Atlassian JIRA | Martin Meinhold | 2 years ago
  1. 0

    Happening on collaboration-bamboo instance. {noformat} 2015-02-02 23:54:00,462 INFO [http-bio-8085-exec-29] [AccessLogFilter] xxx GET https://collaboration-bamboo.internal.atlassian.com/rest/api/latest/result/HCIP-FQUALIFY1-QFY/16.json?expand=testResults.failedTests.testResult.errors 3152327kb 2015-02-02 23:54:00,485 ERROR [http-bio-8085-exec-29] [ThrowableExceptionMapper] Uncaught exception thrown by REST service: Could not initialize class com.amazonaws.services.s3.internal.S3ErrorResponseHandler java.lang.NoClassDefFoundError: Could not initialize class com.amazonaws.services.s3.internal.S3ErrorResponseHandler at com.amazonaws.services.s3.AmazonS3Client.<init>(AmazonS3Client.java:258) at com.atlassian.aws.s3.BambooAmazonS3Client.<init>(BambooAmazonS3Client.java:34) at com.atlassian.aws.AmazonClients.newAmazonS3Client(AmazonClients.java:24) at com.atlassian.bamboo.build.artifact.S3ArtifactHandler.getS3Client(S3ArtifactHandler.java:334) at com.atlassian.bamboo.build.artifact.S3ArtifactHandler.access$000(S3ArtifactHandler.java:44) at com.atlassian.bamboo.build.artifact.S3ArtifactHandler$S3AccessData.<init>(S3ArtifactHandler.java:71) at com.atlassian.bamboo.build.artifact.S3ArtifactHandler$S3AccessData.<init>(S3ArtifactHandler.java:63) at com.atlassian.bamboo.build.artifact.S3ArtifactHandler.getArtifactLinkDataProvider(S3ArtifactHandler.java:446) at com.atlassian.bamboo.build.artifact.DefaultArtifactLinkManager.getArtifactLinkDataProviderInternal(DefaultArtifactLinkManager.java:289) at com.atlassian.bamboo.build.artifact.DefaultArtifactLinkManager.getArtifactLinkDataProvider(DefaultArtifactLinkManager.java:259) at com.atlassian.bamboo.build.artifact.ArtifactHandlingUtils.getArtifactUrl(ArtifactHandlingUtils.java:174) at com.atlassian.bamboo.build.artifact.ArtifactHandlingUtils.getArtifactUrl(ArtifactHandlingUtils.java:168) {noformat} (version 5.8-m3.0 build 5859 - 20 Jan 15)

    Atlassian JIRA | 2 years ago | Martin Meinhold
    java.lang.NoClassDefFoundError: Could not initialize class com.amazonaws.services.s3.internal.S3ErrorResponseHandler
  2. 0

    Happening on collaboration-bamboo instance. {noformat} 2015-02-02 23:54:00,462 INFO [http-bio-8085-exec-29] [AccessLogFilter] xxx GET https://collaboration-bamboo.internal.atlassian.com/rest/api/latest/result/HCIP-FQUALIFY1-QFY/16.json?expand=testResults.failedTests.testResult.errors 3152327kb 2015-02-02 23:54:00,485 ERROR [http-bio-8085-exec-29] [ThrowableExceptionMapper] Uncaught exception thrown by REST service: Could not initialize class com.amazonaws.services.s3.internal.S3ErrorResponseHandler java.lang.NoClassDefFoundError: Could not initialize class com.amazonaws.services.s3.internal.S3ErrorResponseHandler at com.amazonaws.services.s3.AmazonS3Client.<init>(AmazonS3Client.java:258) at com.atlassian.aws.s3.BambooAmazonS3Client.<init>(BambooAmazonS3Client.java:34) at com.atlassian.aws.AmazonClients.newAmazonS3Client(AmazonClients.java:24) at com.atlassian.bamboo.build.artifact.S3ArtifactHandler.getS3Client(S3ArtifactHandler.java:334) at com.atlassian.bamboo.build.artifact.S3ArtifactHandler.access$000(S3ArtifactHandler.java:44) at com.atlassian.bamboo.build.artifact.S3ArtifactHandler$S3AccessData.<init>(S3ArtifactHandler.java:71) at com.atlassian.bamboo.build.artifact.S3ArtifactHandler$S3AccessData.<init>(S3ArtifactHandler.java:63) at com.atlassian.bamboo.build.artifact.S3ArtifactHandler.getArtifactLinkDataProvider(S3ArtifactHandler.java:446) at com.atlassian.bamboo.build.artifact.DefaultArtifactLinkManager.getArtifactLinkDataProviderInternal(DefaultArtifactLinkManager.java:289) at com.atlassian.bamboo.build.artifact.DefaultArtifactLinkManager.getArtifactLinkDataProvider(DefaultArtifactLinkManager.java:259) at com.atlassian.bamboo.build.artifact.ArtifactHandlingUtils.getArtifactUrl(ArtifactHandlingUtils.java:174) at com.atlassian.bamboo.build.artifact.ArtifactHandlingUtils.getArtifactUrl(ArtifactHandlingUtils.java:168) {noformat} (version 5.8-m3.0 build 5859 - 20 Jan 15)

    Atlassian JIRA | 2 years ago | Martin Meinhold
    java.lang.NoClassDefFoundError: Could not initialize class com.amazonaws.services.s3.internal.S3ErrorResponseHandler
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    GitHub comment 133#164792716

    GitHub | 12 months ago | pmvilaca
    java.lang.NoClassDefFoundError: Could not initialize class com.amazonaws.ClientConfiguration
  5. 0

    GitHub comment 103#145481419

    GitHub | 1 year ago | nirby82
    java.lang.NoClassDefFoundError: Could not initialize class com.amazonaws.services.s3.internal.ServiceUtils

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

      Could not initialize class com.amazonaws.services.s3.internal.S3ErrorResponseHandler

      at com.amazonaws.services.s3.AmazonS3Client.<init>()
    2. AWS Java SDK for Amazon S3
      AmazonS3Client.<init>
      1. com.amazonaws.services.s3.AmazonS3Client.<init>(AmazonS3Client.java:258)
      1 frame
    3. com.atlassian.aws
      AmazonClients.newAmazonS3Client
      1. com.atlassian.aws.s3.BambooAmazonS3Client.<init>(BambooAmazonS3Client.java:34)
      2. com.atlassian.aws.AmazonClients.newAmazonS3Client(AmazonClients.java:24)
      2 frames
    4. com.atlassian.bamboo
      ArtifactHandlingUtils.getArtifactUrl
      1. com.atlassian.bamboo.build.artifact.S3ArtifactHandler.getS3Client(S3ArtifactHandler.java:334)
      2. com.atlassian.bamboo.build.artifact.S3ArtifactHandler.access$000(S3ArtifactHandler.java:44)
      3. com.atlassian.bamboo.build.artifact.S3ArtifactHandler$S3AccessData.<init>(S3ArtifactHandler.java:71)
      4. com.atlassian.bamboo.build.artifact.S3ArtifactHandler$S3AccessData.<init>(S3ArtifactHandler.java:63)
      5. com.atlassian.bamboo.build.artifact.S3ArtifactHandler.getArtifactLinkDataProvider(S3ArtifactHandler.java:446)
      6. com.atlassian.bamboo.build.artifact.DefaultArtifactLinkManager.getArtifactLinkDataProviderInternal(DefaultArtifactLinkManager.java:289)
      7. com.atlassian.bamboo.build.artifact.DefaultArtifactLinkManager.getArtifactLinkDataProvider(DefaultArtifactLinkManager.java:259)
      8. com.atlassian.bamboo.build.artifact.ArtifactHandlingUtils.getArtifactUrl(ArtifactHandlingUtils.java:174)
      9. com.atlassian.bamboo.build.artifact.ArtifactHandlingUtils.getArtifactUrl(ArtifactHandlingUtils.java:168)
      9 frames