java.io.IOException: org.xml.sax.SAXParseException: The element type "link" must be terminated by the matching end-tag "</link>".

Jenkins JIRA | raja sekhar | 6 years 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

    parsing error..when trying to generate selenium report.htmls are being copied but selenium report is not being generated.... Exception:parsing resultFile all-tests.html ERROR: Publisher org.jvnet.hudson.plugins.seleniumhtmlreport.SeleniumHtmlReportPublisher aborted due to exception java.io.IOException: org.xml.sax.SAXParseException: The element type "link" must be terminated by the matching end-tag "</link>". at org.jvnet.hudson.plugins.seleniumhtmlreport.TestResult$InfoParser.retrieve(TestResult.java:111) at org.jvnet.hudson.plugins.seleniumhtmlreport.TestResult$InfoParser.getString(TestResult.java:98) at org.jvnet.hudson.plugins.seleniumhtmlreport.TestResult.parse(TestResult.java:75) at org.jvnet.hudson.plugins.seleniumhtmlreport.SeleniumHtmlReportPublisher.createResults(SeleniumHtmlReportPublisher.java:95) at org.jvnet.hudson.plugins.seleniumhtmlreport.SeleniumHtmlReportPublisher.perform(SeleniumHtmlReportPublisher.java:74) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:693) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:668) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:646) at hudson.model.Build$RunnerImpl.post2(Build.java:162) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:615) at hudson.model.Run.run(Run.java:1401) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:230) Caused by: org.xml.sax.SAXParseException: The element type "link" must be terminated by the matching end-tag "</link>". at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(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 org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source) at javax.xml.parsers.SAXParser.parse(Unknown Source) at org.jvnet.hudson.plugins.seleniumhtmlreport.TestResult$InfoParser.parseFor(TestResult.java:123) at org.jvnet.hudson.plugins.seleniumhtmlreport.TestResult$InfoParser.retrieve(TestResult.java:107) ... 14 more

    Jenkins JIRA | 6 years ago | raja sekhar
    java.io.IOException: org.xml.sax.SAXParseException: The element type "link" must be terminated by the matching end-tag "</link>".
  2. 0

    parsing error..when trying to generate selenium report.htmls are being copied but selenium report is not being generated.... Exception:parsing resultFile all-tests.html ERROR: Publisher org.jvnet.hudson.plugins.seleniumhtmlreport.SeleniumHtmlReportPublisher aborted due to exception java.io.IOException: org.xml.sax.SAXParseException: The element type "link" must be terminated by the matching end-tag "</link>". at org.jvnet.hudson.plugins.seleniumhtmlreport.TestResult$InfoParser.retrieve(TestResult.java:111) at org.jvnet.hudson.plugins.seleniumhtmlreport.TestResult$InfoParser.getString(TestResult.java:98) at org.jvnet.hudson.plugins.seleniumhtmlreport.TestResult.parse(TestResult.java:75) at org.jvnet.hudson.plugins.seleniumhtmlreport.SeleniumHtmlReportPublisher.createResults(SeleniumHtmlReportPublisher.java:95) at org.jvnet.hudson.plugins.seleniumhtmlreport.SeleniumHtmlReportPublisher.perform(SeleniumHtmlReportPublisher.java:74) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:693) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:668) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:646) at hudson.model.Build$RunnerImpl.post2(Build.java:162) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:615) at hudson.model.Run.run(Run.java:1401) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:230) Caused by: org.xml.sax.SAXParseException: The element type "link" must be terminated by the matching end-tag "</link>". at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(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 org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source) at javax.xml.parsers.SAXParser.parse(Unknown Source) at org.jvnet.hudson.plugins.seleniumhtmlreport.TestResult$InfoParser.parseFor(TestResult.java:123) at org.jvnet.hudson.plugins.seleniumhtmlreport.TestResult$InfoParser.retrieve(TestResult.java:107) ... 14 more

    Jenkins JIRA | 6 years ago | raja sekhar
    java.io.IOException: org.xml.sax.SAXParseException: The element type "link" must be terminated by the matching end-tag "</link>".
  3. 0

    parsing error..when trying to generate selenium report.htmls are being copied but selenium report is not being generated.... Exception:parsing resultFile all-tests.html ERROR: Publisher org.jvnet.hudson.plugins.seleniumhtmlreport.SeleniumHtmlReportPublisher aborted due to exception java.io.IOException: org.xml.sax.SAXParseException: The element type "link" must be terminated by the matching end-tag "</link>". at org.jvnet.hudson.plugins.seleniumhtmlreport.TestResult$InfoParser.retrieve(TestResult.java:111) at org.jvnet.hudson.plugins.seleniumhtmlreport.TestResult$InfoParser.getString(TestResult.java:98) at org.jvnet.hudson.plugins.seleniumhtmlreport.TestResult.parse(TestResult.java:75) at org.jvnet.hudson.plugins.seleniumhtmlreport.SeleniumHtmlReportPublisher.createResults(SeleniumHtmlReportPublisher.java:95) at org.jvnet.hudson.plugins.seleniumhtmlreport.SeleniumHtmlReportPublisher.perform(SeleniumHtmlReportPublisher.java:74) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:693) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:668) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:646) at hudson.model.Build$RunnerImpl.post2(Build.java:162) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:615) at hudson.model.Run.run(Run.java:1401) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:230) Caused by: org.xml.sax.SAXParseException: The element type "link" must be terminated by the matching end-tag "</link>". at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(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 org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source) at javax.xml.parsers.SAXParser.parse(Unknown Source) at org.jvnet.hudson.plugins.seleniumhtmlreport.TestResult$InfoParser.parseFor(TestResult.java:123) at org.jvnet.hudson.plugins.seleniumhtmlreport.TestResult$InfoParser.retrieve(TestResult.java:107) ... 14 more

    Jenkins JIRA | 6 years ago | raja sekhar
    java.io.IOException: org.xml.sax.SAXParseException: The element type "link" must be terminated by the matching end-tag "</link>".
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    parsing error..when trying to generate selenium report.htmls are being copied but selenium report is not being generated.... Exception:parsing resultFile all-tests.html ERROR: Publisher org.jvnet.hudson.plugins.seleniumhtmlreport.SeleniumHtmlReportPublisher aborted due to exception java.io.IOException: org.xml.sax.SAXParseException: The element type "link" must be terminated by the matching end-tag "</link>". at org.jvnet.hudson.plugins.seleniumhtmlreport.TestResult$InfoParser.retrieve(TestResult.java:111) at org.jvnet.hudson.plugins.seleniumhtmlreport.TestResult$InfoParser.getString(TestResult.java:98) at org.jvnet.hudson.plugins.seleniumhtmlreport.TestResult.parse(TestResult.java:75) at org.jvnet.hudson.plugins.seleniumhtmlreport.SeleniumHtmlReportPublisher.createResults(SeleniumHtmlReportPublisher.java:95) at org.jvnet.hudson.plugins.seleniumhtmlreport.SeleniumHtmlReportPublisher.perform(SeleniumHtmlReportPublisher.java:74) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:693) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:668) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:646) at hudson.model.Build$RunnerImpl.post2(Build.java:162) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:615) at hudson.model.Run.run(Run.java:1401) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:230) Caused by: org.xml.sax.SAXParseException: The element type "link" must be terminated by the matching end-tag "</link>". at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(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 org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source) at javax.xml.parsers.SAXParser.parse(Unknown Source) at org.jvnet.hudson.plugins.seleniumhtmlreport.TestResult$InfoParser.parseFor(TestResult.java:123) at org.jvnet.hudson.plugins.seleniumhtmlreport.TestResult$InfoParser.retrieve(TestResult.java:107) ... 14 more

    Jenkins JIRA | 6 years ago | raja sekhar
    java.io.IOException: org.xml.sax.SAXParseException: The element type "link" must be terminated by the matching end-tag "</link>".
  6. 0

    parsing error..when trying to generate selenium report.htmls are being copied but selenium report is not being generated.... Exception:parsing resultFile all-tests.html ERROR: Publisher org.jvnet.hudson.plugins.seleniumhtmlreport.SeleniumHtmlReportPublisher aborted due to exception java.io.IOException: org.xml.sax.SAXParseException: The element type "link" must be terminated by the matching end-tag "</link>". at org.jvnet.hudson.plugins.seleniumhtmlreport.TestResult$InfoParser.retrieve(TestResult.java:111) at org.jvnet.hudson.plugins.seleniumhtmlreport.TestResult$InfoParser.getString(TestResult.java:98) at org.jvnet.hudson.plugins.seleniumhtmlreport.TestResult.parse(TestResult.java:75) at org.jvnet.hudson.plugins.seleniumhtmlreport.SeleniumHtmlReportPublisher.createResults(SeleniumHtmlReportPublisher.java:95) at org.jvnet.hudson.plugins.seleniumhtmlreport.SeleniumHtmlReportPublisher.perform(SeleniumHtmlReportPublisher.java:74) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:693) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:668) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:646) at hudson.model.Build$RunnerImpl.post2(Build.java:162) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:615) at hudson.model.Run.run(Run.java:1401) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:230) Caused by: org.xml.sax.SAXParseException: The element type "link" must be terminated by the matching end-tag "</link>". at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(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 org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source) at javax.xml.parsers.SAXParser.parse(Unknown Source) at org.jvnet.hudson.plugins.seleniumhtmlreport.TestResult$InfoParser.parseFor(TestResult.java:123) at org.jvnet.hudson.plugins.seleniumhtmlreport.TestResult$InfoParser.retrieve(TestResult.java:107) ... 14 more

    Jenkins JIRA | 6 years ago | raja sekhar
    java.io.IOException: org.xml.sax.SAXParseException: The element type "link" must be terminated by the matching end-tag "</link>".

  1. SteVio1989 27 times, last 2 months ago
  2. qavid 6 times, last 11 months ago
  3. eilonreshef 1 times, last 1 year ago
4 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. org.xml.sax.SAXParseException

    The element type "link" must be terminated by the matching end-tag "</link>".

    at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException()
  2. Xerces2-j
    SAXParserImpl.parse
    1. org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
    2. org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
    3. org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
    4. org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
    5. org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
    6. org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
    7. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
    8. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
    9. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
    10. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    11. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    12. org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    13. org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    14. org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
    15. org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
    15 frames
  3. Java RT
    SAXParser.parse
    1. javax.xml.parsers.SAXParser.parse(Unknown Source)
    1 frame
  4. org.jvnet.hudson
    SeleniumHtmlReportPublisher.perform
    1. org.jvnet.hudson.plugins.seleniumhtmlreport.TestResult$InfoParser.parseFor(TestResult.java:123)
    2. org.jvnet.hudson.plugins.seleniumhtmlreport.TestResult$InfoParser.retrieve(TestResult.java:107)
    3. org.jvnet.hudson.plugins.seleniumhtmlreport.TestResult$InfoParser.getString(TestResult.java:98)
    4. org.jvnet.hudson.plugins.seleniumhtmlreport.TestResult.parse(TestResult.java:75)
    5. org.jvnet.hudson.plugins.seleniumhtmlreport.SeleniumHtmlReportPublisher.createResults(SeleniumHtmlReportPublisher.java:95)
    6. org.jvnet.hudson.plugins.seleniumhtmlreport.SeleniumHtmlReportPublisher.perform(SeleniumHtmlReportPublisher.java:74)
    6 frames
  5. Hudson
    Executor.run
    1. hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
    2. hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:693)
    3. hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:668)
    4. hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:646)
    5. hudson.model.Build$RunnerImpl.post2(Build.java:162)
    6. hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:615)
    7. hudson.model.Run.run(Run.java:1401)
    8. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
    9. hudson.model.ResourceController.execute(ResourceController.java:88)
    10. hudson.model.Executor.run(Executor.java:230)
    10 frames