You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by pedro-leitao October 28, 2021
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 ?
The text was updated successfully, but these errors were encountered:
Converting to issue, looks like a bug.
Thx for reporting @pedro-leitao!
Discussed in #4537
Originally posted by pedro-leitao October 28, 2021
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 ?
The text was updated successfully, but these errors were encountered: