-
Notifications
You must be signed in to change notification settings - Fork 795
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
Snippet Injection add Smoke Test for reproducing Get ClassException #8707
Comments
The stack trace is as follows: 2023-06-13 00:06:34.629Z DEBUG i.o.javaagent.tooling.HelperInjector - Injecting classes onto class loader ParallelWebappClassLoader 2023-06-13 00:06:34.659Z DEBUG i.o.j.e.i.InstrumentationModule - Applying instrumentation: spring-webmvc [class io.opentelemetry.javaagent.instrumentation.spring.webmvc.v3_1.SpringWebMvcInstrumentationModule] on ParallelWebappClassLoader |
In local test, got ClassCastException
warningjava.lang.ClassCastException: class io.opentelemetry.javaagent.instrumentation.servlet.snippet.InjectionState cannot be cast to class io.opentelemetry.javaagent.instrumentation.servlet.snippet.InjectionState (io.opentelemetry.javaagent.instrumentation.servlet.snippet.InjectionState is in unnamed module of loader org.apache.catalina.loader.ParallelWebappClassLoader @46f36c44; io.opentelemetry.javaagent.instrumentation.servlet.snippet.InjectionState is in unnamed module of loader java.net.URLClassLoader @644a3add)
Add a smoke test in OTEL to reproduce this problem.
The text was updated successfully, but these errors were encountered: