Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception Stack in Open Telemetry Agent #3968

Closed
indrabasak opened this issue Aug 26, 2021 · 1 comment
Closed

Exception Stack in Open Telemetry Agent #3968

indrabasak opened this issue Aug 26, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@indrabasak
Copy link

indrabasak commented Aug 26, 2021

Describe the bug
A clear and concise description of what the bug is.
Encountered an exception while instrumenting a Java application that uses RxJava library version 2.

Steps to reproduce
If possible, provide a recipe for reproducing the error.
Yes, any application that RxJava library version 2.

What did you expect to see?
Was expecting our Spring Boot service to work as designed.

What did you see instead?
Encountered an exception stack trace while calling a REST endpoint,
Caused by: java.lang.NoSuchFieldError: qs at io.opentelemetry.javaagent.shaded.instrumentation.rxjava2.TracingObserver.requestFusion(TracingObserver.java:67) ~[?:?] at io.reactivex.internal.operators.observable.ObservableFlatMap$InnerObserver.onSubscribe(ObservableFlatMap.java:543) ~[rxjava-2.2.14.jar!/:?] at io.reactivex.internal.observers.BasicFuseableObserver.onSubscribe(BasicFuseableObserver.java:66) ~[rxjava-2.2.14.jar!/:?]

What version are you using?
Java agent version 1.1.0

Environment
Compiler: OpenJDK 11.0.10
OS: Mac OS X 10.15.7 BuildVersion: 19H1323
Runtime (if different from JDK above):
OS (if different from OS compiled on):

Additional context
Add any other context about the problem here.
There was no exception once I upgraded RxJava library version from 2 to 3.

@indrabasak indrabasak added the bug Something isn't working label Aug 26, 2021
@mateuszrzeszutek
Copy link
Member

Hey @indrabasak,
This issue was already fixed in the 1.2.0 javaagent. See the previous issue that reported it: #2819
Please try using a newer javaagent version, this problem should be fixed by just that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants