org.wso2.carbon.CarbonException: Error in building Document

Stack Overflow | user2987773 | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Configuring the Pre-Packaged Identity Server 5.2.0 with API Manager 2.0.0

    Stack Overflow | 7 months ago | user2987773
    org.wso2.carbon.CarbonException: Error in building Document
  2. 0

    Xmlread parsing issues

    Stack Overflow | 4 years ago | matlab-oh-no
    org.xml.sax.SAXParseException: The declaration for the entity "ContentType" must end with '>'.
  3. 0

    SAXParseException: El destino de la instrucción de proceso correspondiente "[xX][mM][lL]" no está permitido.

    GitHub | 5 years ago | elmer-garduno
    org.xml.sax.SAXParseException: El destino de la instrucción de proceso correspondiente "[xX][mM][lL]" no está permitido.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to handle when some special UTF-8 characters are inside a XML file in matlab

    Stack Overflow | 4 years ago | vidyadhar
    org.xml.sax.SAXParseException: Invalid byte 2 of 4-byte UTF-8 sequence.
  6. 0

    Producing valid XML with Java and UTF-8 encoding

    Stack Overflow | 8 years ago | fd.
    org.xml.sax.SAXParseException: Invalid byte 1 of 1-byte UTF-8 sequence.
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 "wso2registry" must be terminated by the matching end-tag "</wso2registry>".**

    at org.apache.xerces.parsers.DOMParser.parse()
  2. Xerces2-j
    DocumentBuilderImpl.parse
    1. org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
    2. org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
    2 frames
  3. Java RT
    DocumentBuilder.parse
    1. javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
    1 frame
  4. org.wso2.carbon
    RegistryCoreServiceComponent.activate
    1. org.wso2.carbon.utils.CarbonUtils.replaceSystemVariablesInXml(CarbonUtils.java:1080)
    2. org.wso2.carbon.registry.core.config.RegistryConfigurationProcessor.populateRegistryConfig(RegistryConfigurationProcessor.java:93)
    3. org.wso2.carbon.registry.core.config.RegistryContext.<init>(RegistryContext.java:462)
    4. org.wso2.carbon.registry.core.config.RegistryContext.<init>(RegistryContext.java:443)
    5. org.wso2.carbon.registry.core.config.RegistryContext.getBaseInstance(RegistryContext.java:322)
    6. org.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent.getEmbeddedRegistryService(RegistryCoreServiceComponent.java:587)
    7. org.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent.buildRegistryService(RegistryCoreServiceComponent.java:520)
    8. org.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent.activate(RegistryCoreServiceComponent.java:126)
    8 frames
  5. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  6. org.eclipse.equinox
    SCRManager.serviceChanged
    1. org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
    2. org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
    3. org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:345)
    4. org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
    5. org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
    6. org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
    7. org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
    7 frames
  7. Eclipse OSGi
    FilteredServiceListener.serviceChanged
    1. org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
    1 frame
  8. Eclipse OSGi
    BundleContextImpl.dispatchEvent
    1. org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
    1 frame
  9. Eclipse OSGi
    ServiceRegistry.registerService
    1. org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
    2. org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
    3. org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
    4. org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
    5. org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
    6. org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
    6 frames
  10. Eclipse OSGi
    BundleContextImpl.registerService
    1. org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
    1 frame
  11. org.wso2.carbon
    BundleCheckActivator.start
    1. org.wso2.carbon.user.core.internal.Activator.startDeploy(Activator.java:69)
    2. org.wso2.carbon.user.core.internal.BundleCheckActivator.start(BundleCheckActivator.java:61)
    2 frames
  12. Eclipse OSGi
    BundleContextImpl$1.run
    1. org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
    1 frame
  13. Java RT
    AccessController.doPrivileged
    1. java.security.AccessController.doPrivileged(Native Method)
    1 frame
  14. Eclipse OSGi
    StartLevelManager.dispatchEvent
    1. org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
    2. org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
    3. org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
    4. org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:390)
    5. org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1176)
    6. org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559)
    7. org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544)
    8. org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457)
    9. org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
    10. org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:438)
    11. org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1)
    11 frames
  15. Eclipse OSGi
    EventManager$EventThread.run
    1. org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
    2. org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
    2 frames