org.xml.sax.SAXParseException: Document is invalid: no grammar found.

denoo.info | 4 months ago
  1. 0

    Finally JSF 1.2 and Facelets on Websphere 6.1. | devNoo

    denoo.info | 4 months ago
    org.xml.sax.SAXParseException: Document is invalid: no grammar found.
  2. 0

    issue with SAX parser in java

    Stack Overflow | 5 years ago | user1206218
    org.xml.sax.SAXParseException: Content is not allowed in prolog. at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Un known Source)
  3. 0

    Exception (XML forum at JavaRanch)

    coderanch.com | 1 year ago
    org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0x0) was found in the CDATA section.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    WebSphere startup error

    Stack Overflow | 11 months ago | Sachin Rana
    com.ibm.ws.exception.ConfigurationError: file:///C:/Program%20Files%20(x86)/IBM/WebSphere/AppServer/profiles/AppSrvDev01/config/cells/HDQBEPC202051Node01Cell/nodes/HDQBEPC202051Node01/serverindex.xml:40: The element type "endPoint" must be terminated by the matching end-tag "</endPoint>".
  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 | 5 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. qavid 6 times, last 6 months ago
  2. eilonreshef 1 times, last 9 months 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

    Document is invalid: no grammar found.

    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.error(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.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
    6. org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown Source)
    7. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
    8. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
    9. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    10. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    11. org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    12. org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    13. org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
    13 frames
  3. Java RT
    SAXParser.parse
    1. javax.xml.parsers.SAXParser.parse(Unknown Source)
    1 frame
  4. com.ibm.ws
    FacesConfigUtil.parseJSFConfiguration
    1. com.ibm.ws.jsf.configuration.FacesConfigParser.parse(FacesConfigParser.java:310)
    2. com.ibm.ws.jsf.configuration.FacesConfigParser.parse(FacesConfigParser.java:284)
    3. com.ibm.ws.jsf.util.FacesConfigUtil.parseJSFApplicationConfig(FacesConfigUtil.java:254)
    4. com.ibm.ws.jsf.util.FacesConfigUtil._parseJSFConfiguration(FacesConfigUtil.java:128)
    5. com.ibm.ws.jsf.util.FacesConfigUtil.parseJSFConfiguration(FacesConfigUtil.java:82)
    5 frames
  5. JSF
    Util.verifyFactoriesAndInitDefaultRenderKit
    1. com.sun.faces.util.Util.verifyFactoriesAndInitDefaultRenderKit(Util.java:497)
    1 frame
  6. com.ibm.ws
    JSFExtensionFactory.createExtensionProcessor
    1. com.ibm.ws.jsf.configuration.FacesConfig.initialize(FacesConfig.java:96)
    2. com.ibm.ws.jsf.extprocessor.JSFExtensionFactory.createExtensionProcessor(JSFExtensionFactory.java:112)
    2 frames
  7. WebSphere
    WebApp.commonInitializationFinish
    1. com.ibm.ws.webcontainer.webapp.WebApp.initializeExtensionProcessors(WebApp.java:1186)
    2. com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:340)
    2 frames
  8. com.ibm.ws
    WebContainer.addWebApplication
    1. com.ibm.ws.wswebcontainer.webapp.WebApp.initialize(WebApp.java:337)
    2. com.ibm.ws.wswebcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:92)
    3. com.ibm.ws.wswebcontainer.VirtualHost.addWebApplication(VirtualHost.java:157)
    4. com.ibm.ws.wswebcontainer.WebContainer.addWebApp(WebContainer.java:666)
    5. com.ibm.ws.wswebcontainer.WebContainer.addWebApplication(WebContainer.java:619)
    5 frames
  9. WebSphere
    ContextManagerImpl.runAsSystem
    1. com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:395)
    2. com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:611)
    3. com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1304)
    4. com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1165)
    5. com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:587)
    6. com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:832)
    7. com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:950)
    8. com.ibm.ws.runtime.component.ApplicationMgrImpl$1.run(ApplicationMgrImpl.java:1495)
    9. com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:4104)
    10. com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:4202)
    10 frames
  10. com.ibm.ws
    SecurityContext.runAsSystem
    1. com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:245)
    1 frame
  11. WebSphere
    ApplicationMgrImpl.startApplication
    1. com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:1500)
    1 frame
  12. Java RT
    JmxMBeanServer.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:618)
    5. sun.reflect.misc.Trampoline.invoke(MethodUtil.java:62)
    6. sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
    7. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    8. java.lang.reflect.Method.invoke(Method.java:618)
    9. sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:265)
    10. javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1092)
    11. javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:973)
    12. com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:231)
    13. com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:238)
    14. com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:833)
    15. com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:802)
    15 frames
  13. WebSphere
    AdminServiceImpl.invoke
    1. com.ibm.ws.management.AdminServiceImpl$1.run(AdminServiceImpl.java:1082)
    2. com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)
    3. com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java:975)
    3 frames
  14. com.ibm.ws
    _RMIConnectorService_Tie._invoke
    1. com.ibm.ws.management.connector.AdminServiceDelegator.invoke(AdminServiceDelegator.java:139)
    2. com.ibm.ws.management.connector.rmi.RMIConnectorService.invoke(RMIConnectorService.java:179)
    3. com.ibm.ws.management.connector.rmi._RMIConnectorService_Tie.invoke(_RMIConnectorService_Tie.java:395)
    4. com.ibm.ws.management.connector.rmi._RMIConnectorService_Tie._invoke(_RMIConnectorService_Tie.java:160)
    4 frames
  15. com.ibm.CORBA
    ServerDelegate.dispatch
    1. com.ibm.CORBA.iiop.ServerDelegate.dispatchInvokeHandler(ServerDelegate.java:621)
    2. com.ibm.CORBA.iiop.ServerDelegate.dispatch(ServerDelegate.java:474)
    2 frames
  16. com.ibm.rmi
    ORB.process
    1. com.ibm.rmi.iiop.ORB.process(ORB.java:503)
    1 frame
  17. com.ibm.CORBA
    ORB.process
    1. com.ibm.CORBA.iiop.ORB.process(ORB.java:1571)
    1 frame
  18. com.ibm.rmi
    WorkUnitImpl.doWork
    1. com.ibm.rmi.iiop.Connection.respondTo(Connection.java:2703)
    2. com.ibm.rmi.iiop.Connection.doWork(Connection.java:2577)
    3. com.ibm.rmi.iiop.WorkUnitImpl.doWork(WorkUnitImpl.java:62)
    3 frames
  19. com.ibm.ejs
    PooledThread.run
    1. com.ibm.ejs.oa.pool.PooledThread.run(ThreadPool.java:118)
    1 frame
  20. com.ibm.ws
    ThreadPool$Worker.run
    1. com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)
    1 frame