java.lang.IllegalStateException: Provider already mapped :orb:

kenai.com | 9 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.

Root Cause Analysis

  1. java.lang.IllegalStateException

    Provider already mapped :orb:

    at org.glassfish.flashlight.impl.core.ProbeProviderRegistry.registerProbeProvider()
  2. flashlight-framework
    FlashlightProbeProviderFactory.getProbeProvider
    1. org.glassfish.flashlight.impl.core.ProbeProviderRegistry.registerProbeProvider(ProbeProviderRegistry.java:87)
    2. org.glassfish.flashlight.impl.provider.FlashlightProbeProviderFactory.getProbeProvider(FlashlightProbeProviderFactory.java:212)
    3. org.glassfish.flashlight.impl.provider.FlashlightProbeProviderFactory.getProbeProvider(FlashlightProbeProviderFactory.java:150)
    3 frames
  3. Glassfish Admin
    MonitoringBootstrap.postConstruct
    1. org.glassfish.admin.monitor.MonitoringBootstrap.processProbeProviderClass(MonitoringBootstrap.java:308)
    2. org.glassfish.admin.monitor.MonitoringBootstrap.addProvider(MonitoringBootstrap.java:213)
    3. org.glassfish.admin.monitor.MonitoringBootstrap.verifyModule(MonitoringBootstrap.java:170)
    4. org.glassfish.admin.monitor.MonitoringBootstrap.discoverProbeProviders(MonitoringBootstrap.java:116)
    5. org.glassfish.admin.monitor.MonitoringBootstrap.enableMonitoringForProbeProviders(MonitoringBootstrap.java:427)
    6. org.glassfish.admin.monitor.MonitoringBootstrap.postConstruct(MonitoringBootstrap.java:108)
    6 frames
  4. Inversion of Control / Autodependency mechanism
    ConstructorWomb$1.run
    1. com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:174)
    2. com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:91)
    2 frames
  5. Java RT
    AccessController.doPrivileged
    1. java.security.AccessController.doPrivileged(Native Method)
    1 frame
  6. Inversion of Control / Autodependency mechanism
    AbstractInhabitantImpl.get
    1. com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:88)
    2. com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:77)
    3. com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58)
    4. com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)
    5. com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)
    5 frames
  7. Kernel Classes
    AppServerStartup.start
    1. com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:209)
    2. com.sun.enterprise.v3.server.AppServerStartup.start(AppServerStartup.java:130)
    2 frames
  8. HK2 core module
    Main.launch
    1. com.sun.enterprise.module.bootstrap.Main.launch(Main.java:457)
    2. com.sun.enterprise.module.bootstrap.Main.launch(Main.java:401)
    3. com.sun.enterprise.module.bootstrap.Main.launch(Main.java:310)
    4. com.sun.enterprise.module.bootstrap.Main.launch(Main.java:303)
    4 frames
  9. Appserver Core
    AbstractMain.start
    1. com.sun.enterprise.glassfish.bootstrap.ASEmbedded.run(ASEmbedded.java:101)
    2. com.sun.enterprise.glassfish.bootstrap.AbstractMain.start(AbstractMain.java:41)
    2 frames
  10. org.glassfish.api
    Server$Builder.build
    1. org.glassfish.api.embedded.Server.<init>(Server.java:284)
    2. org.glassfish.api.embedded.Server.<init>(Server.java:61)
    3. org.glassfish.api.embedded.Server$Builder.build(Server.java:158)
    4. org.glassfish.api.embedded.Server$Builder.build(Server.java:140)
    4 frames
  11. Embedded GlassFish Web
    EJBContainerProviderImpl.createEJBContainer
    1. org.glassfish.ejb.embedded.EJBContainerProviderImpl.init(EJBContainerProviderImpl.java:155)
    2. org.glassfish.ejb.embedded.EJBContainerProviderImpl.createEJBContainer(EJBContainerProviderImpl.java:114)
    2 frames
  12. JavaEE 7
    EJBContainer.createEJBContainer
    1. javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:102)
    2. javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:78)
    2 frames
  13. msender.facade
    mSenderFacadeTest.setUpClass
    1. msender.facade.mSenderFacadeTest.setUpClass(mSenderFacadeTest.java:19)
    1 frame
  14. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  15. JUnit
    JUnit4TestAdapter.run
    1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
    2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
    3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
    4. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
    5. org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
    6. org.junit.runners.ParentRunner.run(ParentRunner.java:220)
    7. junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)
    7 frames
  16. Apache Ant + JUnit
    JUnitTestRunner.main
    1. org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:515)
    2. org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1031)
    3. org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:888)
    3 frames