1.7.1 Java agent throwing exception NoSuchMethodError #4537
Unanswered
pedro-leitao
asked this question in
Q&A
Replies: 2 comments 2 replies
-
@pedro-leitao thx for reporting! I created issue to track #4539 |
Beta Was this translation helpful? Give feedback.
0 replies
-
This definitely is a bug, |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
Currently using 1.7.1, and when creating a metric am getting:
ERROR io.opentelemetry.javaagent.OpenTelemetryAgent
java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at io.opentelemetry.javaagent.bootstrap.AgentInitializer.initialize(AgentInitializer.java:40)
at io.opentelemetry.javaagent.OpenTelemetryAgent.agentmain(OpenTelemetryAgent.java:51)
at io.opentelemetry.javaagent.OpenTelemetryAgent.premain(OpenTelemetryAgent.java:44)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at java.instrument/sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:513)
at java.instrument/sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:525)
Caused by: java.lang.NoSuchMethodError: 'void io.opentelemetry.javaagent.bootstrap.PatchLogger.log(java.util.logging.Level, java.lang.Throwable, java.util.function.Supplier)'
at io.opentelemetry.sdk.metrics.internal.state.MeterSharedState.registerSynchronousMetricStorage(MeterSharedState.java:95)
at io.opentelemetry.sdk.metrics.AbstractInstrumentBuilder.buildSynchronousInstrument(AbstractInstrumentBuilder.java:67)
at io.opentelemetry.sdk.metrics.SdkLongCounter$Builder.build(SdkLongCounter.java:109)
at io.opentelemetry.sdk.metrics.SdkLongCounter$Builder.build(SdkLongCounter.java:83)
at com.intuit.observability.observabilly.metering.MonotonicMeter.(MonotonicMeter.java:31)
at com.intuit.observability.observabilly.processors.UniqueCounter.(UniqueCounter.java:52)
at com.intuit.observability.observabilly.configuration.ConfigureTracer.configure(ConfigureTracer.java:44)
at io.opentelemetry.sdk.autoconfigure.TracerProviderConfiguration.configureTracerProvider(TracerProviderConfiguration.java:48)
at io.opentelemetry.sdk.autoconfigure.OpenTelemetrySdkAutoConfiguration.initialize(OpenTelemetrySdkAutoConfiguration.java:66)
at io.opentelemetry.javaagent.tooling.OpenTelemetryInstaller.installAgentTracer(OpenTelemetryInstaller.java:52)
at io.opentelemetry.javaagent.tooling.OpenTelemetryInstaller.beforeAgent(OpenTelemetryInstaller.java:34)
at io.opentelemetry.javaagent.tooling.AgentInstaller.runBeforeAgentListeners(AgentInstaller.java:200)
at io.opentelemetry.javaagent.tooling.AgentInstaller.installBytebuddyAgent(AgentInstaller.java:133)
at io.opentelemetry.javaagent.tooling.AgentInstaller.installBytebuddyAgent(AgentInstaller.java:111)
Something missing in the 1.7.1 Java agent build ?
Beta Was this translation helpful? Give feedback.
All reactions