java.lang.NoClassDefFoundError: com/atlassian/bamboo/results/tests/TestResultError

Atlassian JIRA | Joe Clark [Atlassian] | 6 years ago
  1. 0

    The SharePoint Connector builds are consistently failing due to what appears to be a problem with the Bamboo remote agent. The problem started occurring sometime in the last few weeks, since I last ran a build. Here are the builds that have failed with this problem: * [https://bamboo.extranet.atlassian.com/browse/CSI-DEF-248] * [https://bamboo.extranet.atlassian.com/browse/CSI-DEF-249] When CSI-DEF-248 failed, I noticed that the bamboo remote agent installed on the SharePoint build server was only "atlassian-bamboo-agent-installer-2.3.jar". So, before running CSI-DEF-249, I upgraded the remote agent to "atlassian-bamboo-agent-installer-2.6.jar". However, CSI-DEF-249 still failed with the same error. Looking at the build logs, the build actually completes successfully (with some test errors), but the build is marked as failed with an exception when Bamboo tries to package up the error failures. Here's the error from build summary screen (this exception does not appear in the build log) {noformat} Failed to execute the build 'CSI-DEF-249' java.lang.NoClassDefFoundError: com/atlassian/bamboo/results/tests/TestResultError at com.atlassian.bamboo.plugin.builder.nant.NUnitXmlTestResultsParser$FailureElementParser.startElement(NUnitXmlTestResultsParser.java:150) at com.atlassian.bamboo.plugin.builder.nant.TestResultContentHandler.startElement(TestResultContentHandler.java:67) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at com.atlassian.bamboo.plugin.builder.nant.NUnitXmlTestResultsParser.parse(NUnitXmlTestResultsParser.java:228) at com.atlassian.bamboo.plugin.builder.nant.TestReportCollectorImpl.collect(TestReportCollectorImpl.java:44) at com.atlassian.bamboo.plugin.builder.nant.TestResultFileVisitor.visitFile(TestResultFileVisitor.java:68) at com.atlassian.bamboo.utils.FileVisitor.visitAllFilesThatMatchAPattern(FileVisitor.java:93) at com.atlassian.bamboo.utils.FileVisitor.visitFilesThatMatch(FileVisitor.java:64) at com.atlassian.bamboo.plugin.builder.nant.NunitScriptBuilder.processNUnitResults(NunitScriptBuilder.java:97) at com.atlassian.bamboo.plugin.builder.nant.NunitScriptBuilder.collateTestResults(NunitScriptBuilder.java:62) at com.atlassian.bamboo.builder.AbstractBuilder.runBuild(AbstractBuilder.java:302) at com.atlassian.bamboo.builder.AbstractBuilder.executeBuild(AbstractBuilder.java:255) at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:78) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:189) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:90) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:102) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:47) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.ClassNotFoundException: com.atlassian.bamboo.results.tests.TestResultError at com.atlassian.bamboo.agent.bootstrap.AgentClassLoader.findClass(AgentClassLoader.java:146) at java.lang.ClassLoader.loadClass(Unknown Source) at com.atlassian.bamboo.agent.bootstrap.AgentClassLoader.loadClass(AgentClassLoader.java:304) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) ... 25 more Failed to execute the build 'CSI-DEF-249': com/atlassian/bamboo/results/tests/TestResultError {noformat}

    Atlassian JIRA | 6 years ago | Joe Clark [Atlassian]
    java.lang.NoClassDefFoundError: com/atlassian/bamboo/results/tests/TestResultError
  2. 0

    The SharePoint Connector builds are consistently failing due to what appears to be a problem with the Bamboo remote agent. The problem started occurring sometime in the last few weeks, since I last ran a build. Here are the builds that have failed with this problem: * [https://bamboo.extranet.atlassian.com/browse/CSI-DEF-248] * [https://bamboo.extranet.atlassian.com/browse/CSI-DEF-249] When CSI-DEF-248 failed, I noticed that the bamboo remote agent installed on the SharePoint build server was only "atlassian-bamboo-agent-installer-2.3.jar". So, before running CSI-DEF-249, I upgraded the remote agent to "atlassian-bamboo-agent-installer-2.6.jar". However, CSI-DEF-249 still failed with the same error. Looking at the build logs, the build actually completes successfully (with some test errors), but the build is marked as failed with an exception when Bamboo tries to package up the error failures. Here's the error from build summary screen (this exception does not appear in the build log) {noformat} Failed to execute the build 'CSI-DEF-249' java.lang.NoClassDefFoundError: com/atlassian/bamboo/results/tests/TestResultError at com.atlassian.bamboo.plugin.builder.nant.NUnitXmlTestResultsParser$FailureElementParser.startElement(NUnitXmlTestResultsParser.java:150) at com.atlassian.bamboo.plugin.builder.nant.TestResultContentHandler.startElement(TestResultContentHandler.java:67) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at com.atlassian.bamboo.plugin.builder.nant.NUnitXmlTestResultsParser.parse(NUnitXmlTestResultsParser.java:228) at com.atlassian.bamboo.plugin.builder.nant.TestReportCollectorImpl.collect(TestReportCollectorImpl.java:44) at com.atlassian.bamboo.plugin.builder.nant.TestResultFileVisitor.visitFile(TestResultFileVisitor.java:68) at com.atlassian.bamboo.utils.FileVisitor.visitAllFilesThatMatchAPattern(FileVisitor.java:93) at com.atlassian.bamboo.utils.FileVisitor.visitFilesThatMatch(FileVisitor.java:64) at com.atlassian.bamboo.plugin.builder.nant.NunitScriptBuilder.processNUnitResults(NunitScriptBuilder.java:97) at com.atlassian.bamboo.plugin.builder.nant.NunitScriptBuilder.collateTestResults(NunitScriptBuilder.java:62) at com.atlassian.bamboo.builder.AbstractBuilder.runBuild(AbstractBuilder.java:302) at com.atlassian.bamboo.builder.AbstractBuilder.executeBuild(AbstractBuilder.java:255) at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:78) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:189) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:90) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:102) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:47) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.ClassNotFoundException: com.atlassian.bamboo.results.tests.TestResultError at com.atlassian.bamboo.agent.bootstrap.AgentClassLoader.findClass(AgentClassLoader.java:146) at java.lang.ClassLoader.loadClass(Unknown Source) at com.atlassian.bamboo.agent.bootstrap.AgentClassLoader.loadClass(AgentClassLoader.java:304) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) ... 25 more Failed to execute the build 'CSI-DEF-249': com/atlassian/bamboo/results/tests/TestResultError {noformat}

    Atlassian JIRA | 6 years ago | Joe Clark [Atlassian]
    java.lang.NoClassDefFoundError: com/atlassian/bamboo/results/tests/TestResultError
  3. 0

    Android opencv library reference is not working correctly

    Stack Overflow | 4 years ago | Yoda
    java.lang.ClassNotFoundException: org.opencv.R$styleable
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Cannot start embeded Apache Felix

    Stack Overflow | 4 years ago | Peter Penzov
    java.lang.NoClassDefFoundError: org/osgi/framework/launch/FrameworkFactory
  6. 0

    How can I solve Error during testing Angular Js in netbeans?

    Stack Overflow | 4 years ago | bigluis
    java.lang.NoClassDefFoundError: com/google/jstestdriver/hooks/TestListener

    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.ClassNotFoundException

      com.atlassian.bamboo.results.tests.TestResultError

      at com.atlassian.bamboo.agent.bootstrap.AgentClassLoader.findClass()
    2. com.atlassian.bamboo
      AgentClassLoader.findClass
      1. com.atlassian.bamboo.agent.bootstrap.AgentClassLoader.findClass(AgentClassLoader.java:146)
      1 frame
    3. Java RT
      ClassLoader.loadClass
      1. java.lang.ClassLoader.loadClass(Unknown Source)
      1 frame
    4. com.atlassian.bamboo
      AgentClassLoader.loadClass
      1. com.atlassian.bamboo.agent.bootstrap.AgentClassLoader.loadClass(AgentClassLoader.java:304)
      1 frame
    5. Java RT
      ClassLoader.loadClassInternal
      1. java.lang.ClassLoader.loadClass(Unknown Source)
      2. java.lang.ClassLoader.loadClassInternal(Unknown Source)
      2 frames
    6. com.atlassian.bamboo
      TestResultContentHandler.startElement
      1. com.atlassian.bamboo.plugin.builder.nant.NUnitXmlTestResultsParser$FailureElementParser.startElement(NUnitXmlTestResultsParser.java:150)
      2. com.atlassian.bamboo.plugin.builder.nant.TestResultContentHandler.startElement(TestResultContentHandler.java:67)
      2 frames
    7. Xerces2-j
      AbstractSAXParser.parse
      1. org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
      2. org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
      3. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
      4. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
      5. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      6. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      7. org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      8. org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
      8 frames
    8. com.atlassian.bamboo
      NamedThreadFactory$2.run
      1. com.atlassian.bamboo.plugin.builder.nant.NUnitXmlTestResultsParser.parse(NUnitXmlTestResultsParser.java:228)
      2. com.atlassian.bamboo.plugin.builder.nant.TestReportCollectorImpl.collect(TestReportCollectorImpl.java:44)
      3. com.atlassian.bamboo.plugin.builder.nant.TestResultFileVisitor.visitFile(TestResultFileVisitor.java:68)
      4. com.atlassian.bamboo.utils.FileVisitor.visitAllFilesThatMatchAPattern(FileVisitor.java:93)
      5. com.atlassian.bamboo.utils.FileVisitor.visitFilesThatMatch(FileVisitor.java:64)
      6. com.atlassian.bamboo.plugin.builder.nant.NunitScriptBuilder.processNUnitResults(NunitScriptBuilder.java:97)
      7. com.atlassian.bamboo.plugin.builder.nant.NunitScriptBuilder.collateTestResults(NunitScriptBuilder.java:62)
      8. com.atlassian.bamboo.builder.AbstractBuilder.runBuild(AbstractBuilder.java:302)
      9. com.atlassian.bamboo.builder.AbstractBuilder.executeBuild(AbstractBuilder.java:255)
      10. com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:78)
      11. com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:189)
      12. com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:90)
      13. com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:102)
      14. com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:47)
      14 frames
    9. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame