Git Product home page Git Product logo

Comments (3)

bjanischevsky avatar bjanischevsky commented on August 22, 2024

I have the same error but when producing a message, also using GSR 1.1.18, abridged stack trace below. This is the only web page I could find with "ava.lang.NoSuchFieldError: IDENTITY_PROVIDERS" text in it. This sems to be very new.
....
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at com.amazonaws.services.lambda.runtime.api.client.EventHandlerLoader$StreamMethodRequestHandler.handleRequest(EventHandlerLoader.java:378)
at com.amazonaws.services.lambda.runtime.api.client.EventHandlerLoader$2.call(EventHandlerLoader.java:905)
at com.amazonaws.services.lambda.runtime.api.client.AWSLambda.startRuntime(AWSLambda.java:245)
at com.amazonaws.services.lambda.runtime.api.client.AWSLambda.startRuntime(AWSLambda.java:197)
at com.amazonaws.services.lambda.runtime.api.client.AWSLambda.main(AWSLambda.java:187)
Caused by: java.lang.NoSuchFieldError: IDENTITY_PROVIDERS
at software.amazon.awssdk.services.glue.DefaultGlueBaseClientBuilder.finalizeServiceConfiguration(DefaultGlueBaseClientBuilder.java:76)
at software.amazon.awssdk.awscore.client.builder.AwsDefaultClientBuilder.finalizeChildConfiguration(AwsDefaultClientBuilder.java:182)
at software.amazon.awssdk.core.client.builder.SdkDefaultClientBuilder.syncClientConfiguration(SdkDefaultClientBuilder.java:180)
at software.amazon.awssdk.services.glue.DefaultGlueClientBuilder.buildClient(DefaultGlueClientBuilder.java:37)
at software.amazon.awssdk.services.glue.DefaultGlueClientBuilder.buildClient(DefaultGlueClientBuilder.java:25)
at software.amazon.awssdk.core.client.builder.SdkDefaultClientBuilder.build(SdkDefaultClientBuilder.java:147)
at com.amazonaws.services.schemaregistry.common.AWSSchemaRegistryClient.(AWSSchemaRegistryClient.java:116)
at com.amazonaws.services.schemaregistry.serializers.GlueSchemaRegistrySerializationFacade.(GlueSchemaRegistrySerializationFacade.java:69)
at com.amazonaws.services.schemaregistry.serializers.GlueSchemaRegistrySerializationFacade$GlueSchemaRegistrySerializationFacadeBuilder.build(GlueSchemaRegistrySerializationFacade.java:48)
at com.amazonaws.services.schemaregistry.serializers.GlueSchemaRegistryKafkaSerializer.configure(GlueSchemaRegistryKafkaSerializer.java:96)
at org.apache.kafka.clients.producer.KafkaProducer.(KafkaProducer.java:375)
... 15 more

from aws-glue-schema-registry.

bjanischevsky avatar bjanischevsky commented on August 22, 2024

I solved the earlier issue by upgrading all AWS maven dependencies.

Here´s a list of the dependencies I used:

<dependency>
  <groupId>junit</groupId>
  <artifactId>junit</artifactId>
  <version>4.13.2</version>
  <scope>test</scope>
</dependency>

<dependency>
  <groupId>org.junit.jupiter</groupId>
  <artifactId>junit-jupiter</artifactId>
  <version>RELEASE</version>
  <scope>test</scope>
</dependency>

<dependency>
  <groupId>com.amazonaws</groupId>
  <artifactId>aws-lambda-java-core</artifactId>
  <version>1.2.3</version>
</dependency>

<dependency>
  <groupId>com.amazonaws</groupId>
  <artifactId>aws-lambda-java-events</artifactId>
  <version>3.11.4</version>
</dependency>

<dependency>
  <groupId>com.amazonaws</groupId>
  <artifactId>aws-lambda-java-log4j2</artifactId>
  <version>1.6.0</version>
</dependency>

<dependency>
  <groupId>software.amazon.msk</groupId>
  <artifactId>aws-msk-iam-auth</artifactId>
  <version>2.0.3</version>
</dependency>

<dependency>
  <groupId>software.amazon.glue</groupId>
  <artifactId>schema-registry-serde</artifactId>
  <version>1.1.19</version>
  <!-- as of Feb 2025, 1.1.18 is the latest version
       AWS documentation shos 1.1.8 as the library to be used
   -->
</dependency>

<dependency>
  <groupId>com.google.code.gson</groupId>
  <artifactId>gson</artifactId>
  <version>2.10.1</version>
</dependency>

<dependency>
  <groupId>org.apache.kafka</groupId>
  <artifactId>kafka-clients</artifactId>
  <!-- <version>7.0.1-ccs</version> -->
  <version>3.7.0</version>
</dependency>

<dependency>
  <groupId>io.confluent</groupId>
  <artifactId>kafka-avro-serializer</artifactId>
  <!-- For Confluent Platform 7.0.1 -->
  <!-- <version>7.4.0</version> -->
  <version>7.6.0</version>
</dependency>

<dependency>
  <groupId>org.slf4j</groupId>
  <artifactId>slf4j-api</artifactId>
  <version>2.0.12</version>
</dependency>

<dependency>
  <groupId>org.slf4j</groupId>
  <artifactId>slf4j-simple</artifactId>
  <version>2.0.12</version>
</dependency>

<dependency>
  <groupId>com.google.protobuf</groupId>
  <artifactId>protobuf-java</artifactId>
  <version>3.25.3</version>
</dependency>

from aws-glue-schema-registry.

bjanischevsky avatar bjanischevsky commented on August 22, 2024

Back to the same problem, out of a sudden and unannounced.

from aws-glue-schema-registry.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.