java.lang.NullPointerException

Atlassian JIRA | Riaz Khanmohamed | 1 decade ago
  1. 0

    Started suddenly getting : 2006-09-19 16:41:39,546 ERROR [BJ::BuildPipeline::BuildExecutor] [AntXmlTestResultsParser] Failed to parse xml test results java.lang.NullPointerException at com.atlassian.bamboo.builder.AntXmlTestResultsParser$ErrorElementParser.endElement(AntXmlTestResultsParser.java:191) at com.atlassian.bamboo.configuration.DefaultContentHandler.endElement(DefaultContentHandler.java:63) at org.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:579) at org.apache.xerces.impl.XMLNamespaceBinder.handleEndElement(XMLNamespaceBinder.java:897) at org.apache.xerces.impl.XMLNamespaceBinder.endElement(XMLNamespaceBinder.java:643) at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(XMLDTDValidator.java:1972) at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(XMLDTDValidator.java:878) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.handleEndElement(XMLDocumentFragmentScannerImpl.java:1144) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:987) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1445) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:333) at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:524) at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:580) at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152) at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1169) at com.atlassian.bamboo.builder.AntXmlTestResultsParser.parse(AntXmlTestResultsParser.java:63) at com.atlassian.bamboo.builder.AntJunitTestReportCollector.collect(AntJunitTestReportCollector.java:35) at com.atlassian.bamboo.builder.AbstractBuilder$1.visitFile(AbstractBuilder.java:227) at com.atlassian.bamboo.utils.FileVisitor.visitAllFilesInADirectory(FileVisitor.java:61) at com.atlassian.bamboo.utils.FileVisitor.visitFilesThatMatch(FileVisitor.java:50) at com.atlassian.bamboo.builder.AbstractBuilder.collateTestResults(AbstractBuilder.java:240) at com.atlassian.bamboo.builder.AbstractBuilder.build(AbstractBuilder.java:200) at com.atlassian.bamboo.builder.DefaultBuildExecutor.build(DefaultBuildExecutor.java:120) at com.atlassian.bamboo.builder.DefaultBuildExecutor.doTask(DefaultBuildExecutor.java:66) at com.atlassian.bamboo.container.BambooTask.run(BambooTask.java:33) at java.lang.Thread.run(Unknown Source) This is due to an error on running the tests (testcase compiled to wrong java version). The xml to me looks fine... I'll attach a copy of one if you make this entry private (unless you've already fixed it)

    Atlassian JIRA | 1 decade ago | Riaz Khanmohamed
    java.lang.NullPointerException
  2. 0

    Started suddenly getting : 2006-09-19 16:41:39,546 ERROR [BJ::BuildPipeline::BuildExecutor] [AntXmlTestResultsParser] Failed to parse xml test results java.lang.NullPointerException at com.atlassian.bamboo.builder.AntXmlTestResultsParser$ErrorElementParser.endElement(AntXmlTestResultsParser.java:191) at com.atlassian.bamboo.configuration.DefaultContentHandler.endElement(DefaultContentHandler.java:63) at org.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:579) at org.apache.xerces.impl.XMLNamespaceBinder.handleEndElement(XMLNamespaceBinder.java:897) at org.apache.xerces.impl.XMLNamespaceBinder.endElement(XMLNamespaceBinder.java:643) at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(XMLDTDValidator.java:1972) at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(XMLDTDValidator.java:878) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.handleEndElement(XMLDocumentFragmentScannerImpl.java:1144) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:987) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1445) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:333) at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:524) at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:580) at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152) at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1169) at com.atlassian.bamboo.builder.AntXmlTestResultsParser.parse(AntXmlTestResultsParser.java:63) at com.atlassian.bamboo.builder.AntJunitTestReportCollector.collect(AntJunitTestReportCollector.java:35) at com.atlassian.bamboo.builder.AbstractBuilder$1.visitFile(AbstractBuilder.java:227) at com.atlassian.bamboo.utils.FileVisitor.visitAllFilesInADirectory(FileVisitor.java:61) at com.atlassian.bamboo.utils.FileVisitor.visitFilesThatMatch(FileVisitor.java:50) at com.atlassian.bamboo.builder.AbstractBuilder.collateTestResults(AbstractBuilder.java:240) at com.atlassian.bamboo.builder.AbstractBuilder.build(AbstractBuilder.java:200) at com.atlassian.bamboo.builder.DefaultBuildExecutor.build(DefaultBuildExecutor.java:120) at com.atlassian.bamboo.builder.DefaultBuildExecutor.doTask(DefaultBuildExecutor.java:66) at com.atlassian.bamboo.container.BambooTask.run(BambooTask.java:33) at java.lang.Thread.run(Unknown Source) This is due to an error on running the tests (testcase compiled to wrong java version). The xml to me looks fine... I'll attach a copy of one if you make this entry private (unless you've already fixed it)

    Atlassian JIRA | 1 decade ago | Riaz Khanmohamed
    java.lang.NullPointerException
  3. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

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

      No message provided

      at com.atlassian.bamboo.builder.AntXmlTestResultsParser$ErrorElementParser.endElement()
    2. com.atlassian.bamboo
      DefaultContentHandler.endElement
      1. com.atlassian.bamboo.builder.AntXmlTestResultsParser$ErrorElementParser.endElement(AntXmlTestResultsParser.java:191)
      2. com.atlassian.bamboo.configuration.DefaultContentHandler.endElement(DefaultContentHandler.java:63)
      2 frames
    3. Xerces2-j
      AbstractSAXParser.parse
      1. org.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:579)
      2. org.apache.xerces.impl.XMLNamespaceBinder.handleEndElement(XMLNamespaceBinder.java:897)
      3. org.apache.xerces.impl.XMLNamespaceBinder.endElement(XMLNamespaceBinder.java:643)
      4. org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(XMLDTDValidator.java:1972)
      5. org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(XMLDTDValidator.java:878)
      6. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.handleEndElement(XMLDocumentFragmentScannerImpl.java:1144)
      7. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:987)
      8. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1445)
      9. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:333)
      10. org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:524)
      11. org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:580)
      12. org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
      13. org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1169)
      13 frames
    4. com.atlassian.bamboo
      BambooTask.run
      1. com.atlassian.bamboo.builder.AntXmlTestResultsParser.parse(AntXmlTestResultsParser.java:63)
      2. com.atlassian.bamboo.builder.AntJunitTestReportCollector.collect(AntJunitTestReportCollector.java:35)
      3. com.atlassian.bamboo.builder.AbstractBuilder$1.visitFile(AbstractBuilder.java:227)
      4. com.atlassian.bamboo.utils.FileVisitor.visitAllFilesInADirectory(FileVisitor.java:61)
      5. com.atlassian.bamboo.utils.FileVisitor.visitFilesThatMatch(FileVisitor.java:50)
      6. com.atlassian.bamboo.builder.AbstractBuilder.collateTestResults(AbstractBuilder.java:240)
      7. com.atlassian.bamboo.builder.AbstractBuilder.build(AbstractBuilder.java:200)
      8. com.atlassian.bamboo.builder.DefaultBuildExecutor.build(DefaultBuildExecutor.java:120)
      9. com.atlassian.bamboo.builder.DefaultBuildExecutor.doTask(DefaultBuildExecutor.java:66)
      10. com.atlassian.bamboo.container.BambooTask.run(BambooTask.java:33)
      10 frames
    5. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame