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
Describe the bug
Installed javaagent on my application and now getting java.lang.ClassCircularityError from custom security manager
Steps to reproduce
Hard to say, but this is an issue that seems to occur with some custom security managers.
What did you expect to see?
No error. Other than adding the javaagent, the current application setup has been running for the last couple of years.
What did you see instead?
!ENTRY org.eclipse.equinox.cm 4 0 2021-10-31 13:46:02.413
!MESSAGE java/lang/ClassLoader$1
!STACK 0
java.lang.ClassCircularityError: java/lang/ClassLoader$1
at io.oddsource.java.licensing.LicenseSecurityManager.checkPermission(LicenseSecurityManager.java:208)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.checkGetServicePermission(ServiceRegistry.java:1154)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.getService(ServiceRegistry.java:532)
at org.eclipse.osgi.internal.framework.BundleContextImpl.getService(BundleContextImpl.java:652)
at org.apache.felix.scr.impl.manager.RegionConfigurationSupport.getConfigAdmin(RegionConfigurationSupport.java:767)
at org.apache.felix.scr.impl.manager.RegionConfigurationSupport.getConfigurationInfo(RegionConfigurationSupport.java:484)
at org.apache.felix.scr.impl.manager.RegionConfigurationSupport.configurationEvent(RegionConfigurationSupport.java:303)
at org.apache.felix.scr.impl.manager.RegionConfigurationSupport$2.configurationEvent(RegionConfigurationSupport.java:119)
at org.eclipse.equinox.internal.cm.EventDispatcher$1.run(EventDispatcher.java:92)
at org.eclipse.equinox.internal.cm.SerializedTaskQueue$1.run(SerializedTaskQueue.java:40)
What version are you using?
[otel.javaagent 2021-10-31 13:42:57:070 -0400] [main] INFO io.opentelemetry.javaagent.tooling.VersionLogger - opentelemetry-javaagent - version: 1.7.1
Describe the bug
Installed javaagent on my application and now getting java.lang.ClassCircularityError from custom security manager
Steps to reproduce
Hard to say, but this is an issue that seems to occur with some custom security managers.
What did you expect to see?
No error. Other than adding the javaagent, the current application setup has been running for the last couple of years.
What did you see instead?
!ENTRY org.eclipse.equinox.cm 4 0 2021-10-31 13:46:02.413
!MESSAGE java/lang/ClassLoader$1
!STACK 0
java.lang.ClassCircularityError: java/lang/ClassLoader$1
at io.oddsource.java.licensing.LicenseSecurityManager.checkPermission(LicenseSecurityManager.java:208)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.checkGetServicePermission(ServiceRegistry.java:1154)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.getService(ServiceRegistry.java:532)
at org.eclipse.osgi.internal.framework.BundleContextImpl.getService(BundleContextImpl.java:652)
at org.apache.felix.scr.impl.manager.RegionConfigurationSupport.getConfigAdmin(RegionConfigurationSupport.java:767)
at org.apache.felix.scr.impl.manager.RegionConfigurationSupport.getConfigurationInfo(RegionConfigurationSupport.java:484)
at org.apache.felix.scr.impl.manager.RegionConfigurationSupport.configurationEvent(RegionConfigurationSupport.java:303)
at org.apache.felix.scr.impl.manager.RegionConfigurationSupport$2.configurationEvent(RegionConfigurationSupport.java:119)
at org.eclipse.equinox.internal.cm.EventDispatcher$1.run(EventDispatcher.java:92)
at org.eclipse.equinox.internal.cm.SerializedTaskQueue$1.run(SerializedTaskQueue.java:40)
What version are you using?
[otel.javaagent 2021-10-31 13:42:57:070 -0400] [main] INFO io.opentelemetry.javaagent.tooling.VersionLogger - opentelemetry-javaagent - version: 1.7.1
Environment
Compiler: AdoptOpenJDK 11.0.5.10
OS: Windows 10
Runtime: Eclipse Equinox (OSGi)
The text was updated successfully, but these errors were encountered: