java.lang.LinkageError: loader constraints violated when linking org/w3c/dom/Node class

Atlassian JIRA | Sanne Grinovero | 6 years ago
  1. 0

    I downloaded atlassian-jira-enterprise-4.2-m6-source.tar.gz, decompressed, switched to /jira subdirectory and run {code} "maven -Dmaven.test.skip=false"{code} The build fails because of bq. loader constraints violated when linking org/w3c/dom/Node class A search on JIRA reveals CONF-10088, seems a similar error. Follows the report from a single test, but there are *many* failing in a similar way: {noformat}Testsuite: com.atlassian.jira.upgrade.tasks.TestUpgradeTask_Build155 Tests run: 6, Failures: 0, Errors: 2, Time elapsed: 0.257 sec Testcase: testDoUpgrade(com.atlassian.jira.upgrade.tasks.TestUpgradeTask_Build155): Caused an ERROR loader constraints violated when linking org/w3c/dom/Node class java.lang.LinkageError: loader constraints violated when linking org/w3c/dom/Node class at com.opensymphony.workflow.loader.WorkflowLoader.load(WorkflowLoader.java:70) at com.opensymphony.workflow.loader.WorkflowLoader.load(WorkflowLoader.java:41) at com.atlassian.jira.mock.workflow.MockJiraWorkflow.getJiraWorkflow(MockJiraWorkflow.java:53) at com.atlassian.jira.mock.workflow.MockJiraWorkflow.<init>(MockJiraWorkflow.java:24) at com.atlassian.jira.upgrade.tasks.TestUpgradeTask_Build155._testDoUpgrade(TestUpgradeTask_Build155.java:204) at com.atlassian.jira.upgrade.tasks.TestUpgradeTask_Build155.testDoUpgrade(TestUpgradeTask_Build155.java:184) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:185) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233) at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79) at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110) at com.werken.werkz.Goal.fire(Goal.java:639) at com.werken.werkz.Goal.attain(Goal.java:575) at com.werken.werkz.Goal.attainPrecursors(Goal.java:488) at com.werken.werkz.Goal.attain(Goal.java:573) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:671) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263) at org.apache.maven.cli.App.doMain(App.java:488) at org.apache.maven.cli.App.main(App.java:1239) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at com.werken.forehead.Forehead.run(Forehead.java:551) at com.werken.forehead.Forehead.main(Forehead.java:581) Testcase: testDoUpgradeWorksWhenCalledMultipleTimes(com.atlassian.jira.upgrade.tasks.TestUpgradeTask_Build155): Caused an ERROR loader constraints violated when linking org/w3c/dom/Node class java.lang.LinkageError: loader constraints violated when linking org/w3c/dom/Node class at com.opensymphony.workflow.loader.WorkflowLoader.load(WorkflowLoader.java:70) at com.opensymphony.workflow.loader.WorkflowLoader.load(WorkflowLoader.java:41) at com.atlassian.jira.mock.workflow.MockJiraWorkflow.getJiraWorkflow(MockJiraWorkflow.java:53) at com.atlassian.jira.mock.workflow.MockJiraWorkflow.<init>(MockJiraWorkflow.java:24) at com.atlassian.jira.upgrade.tasks.TestUpgradeTask_Build155._testDoUpgrade(TestUpgradeTask_Build155.java:204) at com.atlassian.jira.upgrade.tasks.TestUpgradeTask_Build155.testDoUpgradeWorksWhenCalledMultipleTimes(TestUpgradeTask_Build155.java:193) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:185) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233) at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79) at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110) at com.werken.werkz.Goal.fire(Goal.java:639) at com.werken.werkz.Goal.attain(Goal.java:575) at com.werken.werkz.Goal.attainPrecursors(Goal.java:488) at com.werken.werkz.Goal.attain(Goal.java:573) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:671) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263) at org.apache.maven.cli.App.doMain(App.java:488) at org.apache.maven.cli.App.main(App.java:1239) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at com.werken.forehead.Forehead.run(Forehead.java:551) at com.werken.forehead.Forehead.main(Forehead.java:581) {noformat}

    Atlassian JIRA | 6 years ago | Sanne Grinovero
    java.lang.LinkageError: loader constraints violated when linking org/w3c/dom/Node class
  2. 0

    I downloaded atlassian-jira-enterprise-4.2-m6-source.tar.gz, decompressed, switched to /jira subdirectory and run {code} "maven -Dmaven.test.skip=false"{code} The build fails because of bq. loader constraints violated when linking org/w3c/dom/Node class A search on JIRA reveals CONF-10088, seems a similar error. Follows the report from a single test, but there are *many* failing in a similar way: {noformat}Testsuite: com.atlassian.jira.upgrade.tasks.TestUpgradeTask_Build155 Tests run: 6, Failures: 0, Errors: 2, Time elapsed: 0.257 sec Testcase: testDoUpgrade(com.atlassian.jira.upgrade.tasks.TestUpgradeTask_Build155): Caused an ERROR loader constraints violated when linking org/w3c/dom/Node class java.lang.LinkageError: loader constraints violated when linking org/w3c/dom/Node class at com.opensymphony.workflow.loader.WorkflowLoader.load(WorkflowLoader.java:70) at com.opensymphony.workflow.loader.WorkflowLoader.load(WorkflowLoader.java:41) at com.atlassian.jira.mock.workflow.MockJiraWorkflow.getJiraWorkflow(MockJiraWorkflow.java:53) at com.atlassian.jira.mock.workflow.MockJiraWorkflow.<init>(MockJiraWorkflow.java:24) at com.atlassian.jira.upgrade.tasks.TestUpgradeTask_Build155._testDoUpgrade(TestUpgradeTask_Build155.java:204) at com.atlassian.jira.upgrade.tasks.TestUpgradeTask_Build155.testDoUpgrade(TestUpgradeTask_Build155.java:184) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:185) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233) at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79) at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110) at com.werken.werkz.Goal.fire(Goal.java:639) at com.werken.werkz.Goal.attain(Goal.java:575) at com.werken.werkz.Goal.attainPrecursors(Goal.java:488) at com.werken.werkz.Goal.attain(Goal.java:573) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:671) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263) at org.apache.maven.cli.App.doMain(App.java:488) at org.apache.maven.cli.App.main(App.java:1239) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at com.werken.forehead.Forehead.run(Forehead.java:551) at com.werken.forehead.Forehead.main(Forehead.java:581) Testcase: testDoUpgradeWorksWhenCalledMultipleTimes(com.atlassian.jira.upgrade.tasks.TestUpgradeTask_Build155): Caused an ERROR loader constraints violated when linking org/w3c/dom/Node class java.lang.LinkageError: loader constraints violated when linking org/w3c/dom/Node class at com.opensymphony.workflow.loader.WorkflowLoader.load(WorkflowLoader.java:70) at com.opensymphony.workflow.loader.WorkflowLoader.load(WorkflowLoader.java:41) at com.atlassian.jira.mock.workflow.MockJiraWorkflow.getJiraWorkflow(MockJiraWorkflow.java:53) at com.atlassian.jira.mock.workflow.MockJiraWorkflow.<init>(MockJiraWorkflow.java:24) at com.atlassian.jira.upgrade.tasks.TestUpgradeTask_Build155._testDoUpgrade(TestUpgradeTask_Build155.java:204) at com.atlassian.jira.upgrade.tasks.TestUpgradeTask_Build155.testDoUpgradeWorksWhenCalledMultipleTimes(TestUpgradeTask_Build155.java:193) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:185) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233) at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135) at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79) at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110) at com.werken.werkz.Goal.fire(Goal.java:639) at com.werken.werkz.Goal.attain(Goal.java:575) at com.werken.werkz.Goal.attainPrecursors(Goal.java:488) at com.werken.werkz.Goal.attain(Goal.java:573) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:671) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263) at org.apache.maven.cli.App.doMain(App.java:488) at org.apache.maven.cli.App.main(App.java:1239) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at com.werken.forehead.Forehead.run(Forehead.java:551) at com.werken.forehead.Forehead.main(Forehead.java:581) {noformat}

    Atlassian JIRA | 6 years ago | Sanne Grinovero
    java.lang.LinkageError: loader constraints violated when linking org/w3c/dom/Node class
  3. 0

    Creating ClassPathXmlApplicationContext fails

    springframework | 1 decade ago | bpolka
    java.lang.LinkageError: loader constraints violated when linking org/w3c/dom/Node class
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.lang.LinkageError while deploying on OC4J

    Oracle Community | 6 years ago | 258070
    java.lang.LinkageError: loader constraints violated when linking org/w3c/dom/Node class
  6. 0

    Error while invoking Web Services on WAS 6.1

    Coderanch | 7 years ago | Indresh Chadha
    aging.saaj.SOAPExceptionImpl: Unable to internalize message

    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 constraints violated when linking org/w3c/dom/Node class

      at com.opensymphony.workflow.loader.WorkflowLoader.load()
    2. com.opensymphony.workflow
      WorkflowLoader.load
      1. com.opensymphony.workflow.loader.WorkflowLoader.load(WorkflowLoader.java:70)
      2. com.opensymphony.workflow.loader.WorkflowLoader.load(WorkflowLoader.java:41)
      2 frames
    3. com.atlassian.jira
      TestUpgradeTask_Build155.testDoUpgrade
      1. com.atlassian.jira.mock.workflow.MockJiraWorkflow.getJiraWorkflow(MockJiraWorkflow.java:53)
      2. com.atlassian.jira.mock.workflow.MockJiraWorkflow.<init>(MockJiraWorkflow.java:24)
      3. com.atlassian.jira.upgrade.tasks.TestUpgradeTask_Build155._testDoUpgrade(TestUpgradeTask_Build155.java:204)
      4. com.atlassian.jira.upgrade.tasks.TestUpgradeTask_Build155.testDoUpgrade(TestUpgradeTask_Build155.java:184)
      4 frames
    4. Java RT
      DelegatingMethodAccessorImpl.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3 frames
    5. commons-jelly-tags-antlr
      AntTag.doTag
      1. org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:185)
      1 frame
    6. commons-jelly
      ScriptBlock.run
      1. org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
      2. org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
      3. org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
      4. org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88)
      5. org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
      6. org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
      6 frames
    7. org.apache.maven
      MavenGoalTag$MavenGoalAction.performAction
      1. org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79)
      2. org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110)
      2 frames
    8. com.werken.werkz
      Goal.attain
      1. com.werken.werkz.Goal.fire(Goal.java:639)
      2. com.werken.werkz.Goal.attain(Goal.java:575)
      3. com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
      4. com.werken.werkz.Goal.attain(Goal.java:573)
      4 frames
    9. Maven Plugin
      PluginManager.attainGoals
      1. org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:671)
      1 frame
    10. Maven Core
      MavenSession.attainGoals
      1. org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
      1 frame
    11. M3 Interceptor
      App.main
      1. org.apache.maven.cli.App.doMain(App.java:488)
      2. org.apache.maven.cli.App.main(App.java:1239)
      2 frames
    12. Java RT
      DelegatingMethodAccessorImpl.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3 frames
    13. com.werken.forehead
      Forehead.main
      1. com.werken.forehead.Forehead.run(Forehead.java:551)
      2. com.werken.forehead.Forehead.main(Forehead.java:581)
      2 frames