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
Annoying message while using OpenTelemetry: msg: defaulted common supertype for type <...> due to err:java.lang.IllegalStateException: ClassLoader is null?
#2687
Closed
dmitryb-dev opened this issue
May 11, 2022
· 3 comments
ebean-enhance> cls: io/opentelemetry/javaagent/shaded/io/opentelemetry/context/LazyStorage msg: defaulted common supertype for type1:io/opentelemetry/javaagent/shaded/io/opentelemetry/context/StrictContextStorage type2:io/opentelemetry/javaagent/shaded/io/opentelemetry/context/ContextStorage due to err:java.lang.IllegalStateException: ClassLoader is null?
Well, yes we could and probably should add io.opentelemetry to the ignore list - but note that is just a performance feature (ignoring packages that we reasonably know should never contain entity beans, query beans or transactional methods).
It would be good to try and reproduce this issue first it we can. That is, the ClassLoader is null? part more suggests this is more a bug.
I am unable to reproduce by for example, adding dependency opentelemetry-sdk and code OpenTelemetrySdk openTelemetrySdk = OpenTelemetrySdk.builder().buildAndRegisterGlobal();
... makes we wonder if there is something interesting with the opentelemetry agent.
I'm getting a lot of messages like this:
ebean-enhance> cls: io/opentelemetry/javaagent/shaded/io/opentelemetry/context/LazyStorage msg: defaulted common supertype for type1:io/opentelemetry/javaagent/shaded/io/opentelemetry/context/StrictContextStorage type2:io/opentelemetry/javaagent/shaded/io/opentelemetry/context/ContextStorage due to err:java.lang.IllegalStateException: ClassLoader is null?
Probably
io.opentelemetry
should be added to IgnoreClassHelper.java?The text was updated successfully, but these errors were encountered: