aws / aws-xray-java-agent

The official AWS X-Ray Auto Instrumentation Agent for Java.
Apache License 2.0
42 stars 18 forks source link

Cannot HandlerContextKey Class ENDPOINT_OVERRIDDEN #83

Closed sanghogu closed 3 years ago

sanghogu commented 3 years ago

When used with aws sdk the above crashes. This can be solved by lowering the version of aws sdk, but I don't think this is the correct answer.

sanghogu commented 3 years ago

NDPOINT_OVERRIDDEN Field was added from the higher version of aws sdk 1.11.872.

aws-xray-agent-plugin.jar issue

willarmiros commented 3 years ago

Thanks for raising this, it does sound like a forwards-compatibility issue with the agent's AWS SDK version. It should have been addressed by #81, and you can build the agent from scratch to get it now or wait til the next release. We are working on automating the release process to have less time & dependency surface changes between X-Ray agent releases.

sanghogu commented 3 years ago

Thank you, and sorry for not write English well lol

willarmiros commented 3 years ago

Fixed in 2.9.0