java.lang.LinkageError: loader (instance of org/mule/runtime/module/launcher/MuleSharedDomainClassLoader): attempted duplicate class definition for name: "org/mule/runtime/module/artifact/classloader/DefaultResourceReleaser"

MuleSoft JIRA | Mariano De Sousa Bispo | 4 months ago
  1. 0

    When starting a FakeMuleServer with an App that fails to deploy, the system proceeds to stop the domain 'Default' and an exception is raised. Stack trace: {code} ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Mule is up and kicking (every 5000ms) + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ INFO 2016-08-02 10:53:07,260 [Thread-1] org.mule.runtime.module.launcher.StartupSummaryDeploymentListener: ********************************************************************** * - - + DOMAIN + - - * - - + STATUS + - - * ********************************************************************** * default * DEPLOYED * ********************************************************************** ******************************************************************************************************* * - - + APPLICATION + - - * - - + DOMAIN + - - * - - + STATUS + - - * ******************************************************************************************************* * app * default * FAILED * ******************************************************************************************************* INFO 2016-08-02 10:53:27,340 [Thread-1] org.mule.runtime.module.launcher.application.DefaultMuleApplication: App 'app' never started, nothing to dispose of INFO 2016-08-02 10:53:27,340 [Thread-1] org.mule.runtime.module.launcher.domain.DefaultMuleDomain: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Stopping domain 'default' + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ INFO 2016-08-02 10:53:27,340 [Thread-1] org.mule.runtime.module.launcher.domain.DefaultMuleDomain: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Disposing domain 'default' + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ INFO 2016-08-02 10:53:27,436 [Thread-1] org.mule.runtime.module.launcher.application.DefaultMuleApplication: App 'app' never started, nothing to dispose of INFO 2016-08-02 10:53:27,436 [Thread-1] org.mule.runtime.module.launcher.domain.DefaultMuleDomain: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Stopping domain 'default' + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ INFO 2016-08-02 10:53:27,436 [Thread-1] org.mule.runtime.module.launcher.domain.DefaultMuleDomain: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Disposing domain 'default' + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ERROR 2016-08-02 10:53:27,439 [Thread-1] org.mule.runtime.module.launcher.DeploymentDirectoryWatcher: Error stopping artifact default java.lang.LinkageError: loader (instance of org/mule/runtime/module/launcher/MuleSharedDomainClassLoader): attempted duplicate class definition for name: "org/mule/runtime/module/artifact/classloader/DefaultResourceReleaser" at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_92] at java.lang.ClassLoader.defineClass(ClassLoader.java:763) ~[?:1.8.0_92] at java.lang.ClassLoader.defineClass(ClassLoader.java:642) ~[?:1.8.0_92] at org.mule.runtime.module.artifact.classloader.MuleArtifactClassLoader.createResourceReleaserInstance(MuleArtifactClassLoader.java:110) ~[mule-module-artifact-4.0.0-M2.jar:4.0.0-M2] at org.mule.runtime.module.artifact.classloader.MuleArtifactClassLoader.dispose(MuleArtifactClassLoader.java:89) ~[mule-module-artifact-4.0.0-M2.jar:4.0.0-M2] at org.mule.runtime.module.launcher.domain.DefaultMuleDomain.dispose(DefaultMuleDomain.java:241) ~[mule-module-launcher-4.0.0-M2.jar:4.0.0-M2] at org.mule.runtime.module.launcher.domain.DomainWrapper.dispose(DomainWrapper.java:48) ~[mule-module-launcher-4.0.0-M2.jar:4.0.0-M2] at org.mule.runtime.module.launcher.DeploymentDirectoryWatcher.stopArtifacts(DeploymentDirectoryWatcher.java:231) ~[mule-module-launcher-4.0.0-M2.jar:4.0.0-M2] at org.mule.runtime.module.launcher.DeploymentDirectoryWatcher.stop(DeploymentDirectoryWatcher.java:214) ~[mule-module-launcher-4.0.0-M2.jar:4.0.0-M2] at org.mule.runtime.module.launcher.MuleDeploymentService.stop(MuleDeploymentService.java:138) ~[mule-module-launcher-4.0.0-M2.jar:4.0.0-M2] at org.mule.test.infrastructure.deployment.FakeMuleServer.stop(FakeMuleServer.java:129) ~[mule-tests-infrastructure-4.0.0-M2.jar:4.0.0-M2] {code}

    MuleSoft JIRA | 4 months ago | Mariano De Sousa Bispo
    java.lang.LinkageError: loader (instance of org/mule/runtime/module/launcher/MuleSharedDomainClassLoader): attempted duplicate class definition for name: "org/mule/runtime/module/artifact/classloader/DefaultResourceReleaser"
  2. 0

    Unable to deploy hawtio-default.war > 1.4.26 in Wildfly 8.2 when using wildfly-camel extension

    GitHub | 2 years ago | lucasweb78
    java.lang.LinkageError: loader constraint violation: loader (instance of org/jboss/modules/ModuleClassLoader) previously initiated loading for a different type with name "org/osgi/framework/ServiceReference"
  3. 0

    PhantomJettyClassLoader loads bridge classes multiple times

    GitHub | 2 years ago | gzm0
    java.lang.LinkageError: loader (instance of scala/scalajs/sbtplugin/env/phantomjs/PhantomJettyClassLoader): attempted duplicate class definition for name: "scala/scalajs/sbtplugin/env/phantomjs/JettyWebsocketManager"
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [SSH] Provisioning broken

    GitHub | 2 years ago | paoloantinori
    java.lang.LinkageError: loader constraint violation: loader (instance of org/apache/felix/framework/BundleWiringImpl$BundleClassLoaderJava5) previously initiated loading for a different type with name "org/apache/maven/wagon/Wagon"
  6. 0

    Undefined property arquillian-core-version

    GitHub | 2 years ago | zenlambda
    java.lang.LinkageError: loader constraint violation: loader (instance of org/apache/felix/framework/BundleWiringImpl$BundleClassLoaderJava5) previously initiated loading for a different type with name "org/apache/maven/wagon/Wagon"

    19 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.LinkageError

      loader (instance of org/mule/runtime/module/launcher/MuleSharedDomainClassLoader): attempted duplicate class definition for name: "org/mule/runtime/module/artifact/classloader/DefaultResourceReleaser"

      at java.lang.ClassLoader.defineClass1()
    2. Java RT
      ClassLoader.defineClass
      1. java.lang.ClassLoader.defineClass1(Native Method)[?:1.8.0_92]
      2. java.lang.ClassLoader.defineClass(ClassLoader.java:763)[?:1.8.0_92]
      3. java.lang.ClassLoader.defineClass(ClassLoader.java:642)[?:1.8.0_92]
      3 frames
    3. org.mule.runtime
      MuleDeploymentService.stop
      1. org.mule.runtime.module.artifact.classloader.MuleArtifactClassLoader.createResourceReleaserInstance(MuleArtifactClassLoader.java:110)[mule-module-artifact-4.0.0-M2.jar:4.0.0-M2]
      2. org.mule.runtime.module.artifact.classloader.MuleArtifactClassLoader.dispose(MuleArtifactClassLoader.java:89)[mule-module-artifact-4.0.0-M2.jar:4.0.0-M2]
      3. org.mule.runtime.module.launcher.domain.DefaultMuleDomain.dispose(DefaultMuleDomain.java:241)[mule-module-launcher-4.0.0-M2.jar:4.0.0-M2]
      4. org.mule.runtime.module.launcher.domain.DomainWrapper.dispose(DomainWrapper.java:48)[mule-module-launcher-4.0.0-M2.jar:4.0.0-M2]
      5. org.mule.runtime.module.launcher.DeploymentDirectoryWatcher.stopArtifacts(DeploymentDirectoryWatcher.java:231)[mule-module-launcher-4.0.0-M2.jar:4.0.0-M2]
      6. org.mule.runtime.module.launcher.DeploymentDirectoryWatcher.stop(DeploymentDirectoryWatcher.java:214)[mule-module-launcher-4.0.0-M2.jar:4.0.0-M2]
      7. org.mule.runtime.module.launcher.MuleDeploymentService.stop(MuleDeploymentService.java:138)[mule-module-launcher-4.0.0-M2.jar:4.0.0-M2]
      7 frames
    4. org.mule.test
      FakeMuleServer.stop
      1. org.mule.test.infrastructure.deployment.FakeMuleServer.stop(FakeMuleServer.java:129)[mule-tests-infrastructure-4.0.0-M2.jar:4.0.0-M2]
      1 frame