java.lang.IllegalStateException: Provider already mapped glassfish:javamail:smtp-transport

netbeans.org | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Container testing of jar with embedded glassfish using gradle fails

    Stack Overflow | 4 years ago | danw
    java.lang.IllegalStateException: Provider already mapped glassfish:javamail:smtp-transport
  2. 0

    junit4 test fail stacktrace

    Oracle Community | 6 years ago | baboonworksgood
    java.lang.IllegalStateException: Provider already mapped glassfish:javamail:smtp-transport
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Embeddable Glassfish 3.1 problem

    Oracle Community | 6 years ago | luca_fpe
    java.lang.IllegalStateException: Provider already mapped glassfish:javamail:smtp-transport
  5. 0

    Using embedded GF 3.1.1 for unit testing

    Oracle Community | 5 years ago | chris.joelly
    java.lang.IllegalStateException: Provider already mapped glassfish:javamail:smtp-transport

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Provider already mapped glassfish:javamail:smtp-transport

      at org.glassfish.flashlight.impl.core.ProbeProviderRegistry.registerProbeProvider()
    2. flashlight-framework
      FlashlightProbeProviderFactory.processXMLProbeProviders
      1. org.glassfish.flashlight.impl.core.ProbeProviderRegistry.registerProbeProvider(ProbeProviderRegistry.java:100)
      2. org.glassfish.flashlight.impl.provider.FlashlightProbeProviderFactory.registerProvider(FlashlightProbeProviderFactory.java:538)
      3. org.glassfish.flashlight.impl.provider.FlashlightProbeProviderFactory.processXMLProbeProviders(FlashlightProbeProviderFactory.java:363)
      3 frames
    3. Glassfish Admin
      MonitoringBootstrap.postConstruct
      1. org.glassfish.admin.monitor.MonitoringBootstrap.processProbeProviderXML(MonitoringBootstrap.java:474)
      2. org.glassfish.admin.monitor.MonitoringBootstrap.processManifest(MonitoringBootstrap.java:350)
      3. org.glassfish.admin.monitor.MonitoringBootstrap.addProvider(MonitoringBootstrap.java:291)
      4. org.glassfish.admin.monitor.MonitoringBootstrap.verifyModule(MonitoringBootstrap.java:235)
      5. org.glassfish.admin.monitor.MonitoringBootstrap.discoverProbeProviders(MonitoringBootstrap.java:178)
      6. org.glassfish.admin.monitor.MonitoringBootstrap.enableMonitoringForProbeProviders(MonitoringBootstrap.java:612)
      7. org.glassfish.admin.monitor.MonitoringBootstrap.postConstruct(MonitoringBootstrap.java:166)
      7 frames
    4. Inversion of Control / Autodependency mechanism
      AbstractInhabitantImpl.get
      1. com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:128)
      2. com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:88)
      3. com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:79)
      4. com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:64)
      5. com.sun.hk2.component.EventPublishingInhabitant.get(EventPublishingInhabitant.java:136)
      6. com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:73)
      6 frames
    5. Kernel Classes
      AppServerStartup.start
      1. com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:219)
      2. com.sun.enterprise.v3.server.AppServerStartup.start(AppServerStartup.java:135)
      2 frames
    6. Appserver Core
      GlassFishImpl.start
      1. com.sun.enterprise.glassfish.bootstrap.GlassFishImpl.start(GlassFishImpl.java:78)
      1 frame
    7. org.glassfish.api
      Server$Builder.build
      1. org.glassfish.api.embedded.Server.<init>(Server.java:272)
      2. org.glassfish.api.embedded.Server.<init>(Server.java:66)
      3. org.glassfish.api.embedded.Server$Builder.build(Server.java:176)
      4. org.glassfish.api.embedded.Server$Builder.build(Server.java:158)
      4 frames
    8. Embedded GlassFish Web
      EJBContainerProviderImpl.createEJBContainer
      1. org.glassfish.ejb.embedded.EJBContainerProviderImpl.init(EJBContainerProviderImpl.java:174)
      2. org.glassfish.ejb.embedded.EJBContainerProviderImpl.createEJBContainer(EJBContainerProviderImpl.java:126)
      2 frames
    9. JavaEE 7
      EJBContainer.createEJBContainer
      1. javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:127)
      2. javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:102)
      2 frames
    10. t
      HolaTest.testHola
      1. t.HolaTest.testHola(HolaTest.java:46)
      1 frame
    11. 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
    12. 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.InvokeMethod.evaluate(InvokeMethod.java:20)
      5. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
      6. org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
      7. org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79)
      8. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71)
      9. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49)
      10. org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
      11. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
      12. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
      13. org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
      14. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
      15. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
      16. org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
      17. org.junit.runners.ParentRunner.run(ParentRunner.java:236)
      18. junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)
      18 frames
    13. Apache Ant + JUnit
      JUnitTestRunner.main
      1. org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:518)
      2. org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1052)
      3. org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:906)
      3 frames