org.dom4j.DocumentException: Error on line 1 of document : Reference is not allowed in prolog. Nested exception: Reference is not allowed in prolog.

Oracle Community | 807581 | 1 decade 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

    Null Pointer Exceptions when using UML module in JSE8

    Oracle Community | 1 decade ago | 807581
    org.dom4j.DocumentException: Error on line 1 of document : Reference is not allowed in prolog. Nested exception: Reference is not allowed in prolog.
  2. 0

    Скрипты в wfe не работают?

    runawfe | 4 years ago | vromav
    java.lang.RuntimeException: org.dom4j.DocumentException: Error on line 1 of document : Reference is not allowed in prolog. Nested exception: Reference is not allowed in prolog.
  3. 0

    Bug 167757 – org.dom4j.DocumentException: Error on line 3073 of document : Attribute name "associati" associated with an element type "UML:AssociationEnd" must be followed by the ' = ' character. Nested exception

    netbeans.org | 1 year ago
    org.dom4j.DocumentException: Error on line 3073 of document : Attribute name "associati" associated with an element type "UML:AssociationEnd" must be followed by the ' = ' character. Nested exception: Attribute name "associati" associated with an element type "UML:AssociationEnd" must be followed by the ' = ' character.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Failed to start service jboss.persistenceunit

    Stack Overflow | 4 years ago | pulse
    org.hibernate.MappingException: Error while parsing file: Member.hbm.xml
  6. 0

    HIbernate Error... I am getting this error at compile time

    Stack Overflow | 3 years ago | amitm
    org.hibernate.InvalidMappingException: Could not parse mapping document from resource employee.hbm.xml

    41 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.dom4j.DocumentException

      Error on line 1 of document : Reference is not allowed in prolog. Nested exception: Reference is not allowed in prolog.

      at org.dom4j.io.SAXReader.read()
    2. dom4j
      SAXReader.read
      1. org.dom4j.io.SAXReader.read(SAXReader.java:436)
      2. org.dom4j.io.SAXReader.read(SAXReader.java:344)
      2 frames
    3. com.embarcadero.uml
      DrawingAreaEventHandler.onProjectPreSave
      1. com.embarcadero.uml.core.support.umlsupport.XMLManip.loadXML(XMLManip.java:730)
      2. com.embarcadero.uml.core.support.umlsupport.XMLManip.loadXML(XMLManip.java:702)
      3. com.embarcadero.uml.ui.support.archivesupport.ProductArchiveImpl.createDomDocument(ProductArchiveImpl.java:73)
      4. com.embarcadero.uml.ui.support.archivesupport.ProductArchiveImpl.<init>(ProductArchiveImpl.java:46)
      5. com.embarcadero.uml.ui.swing.drawingarea.ADDrawingAreaControl.saveETLDAndETLPFiles(ADDrawingAreaControl.java:9918)
      6. com.embarcadero.uml.ui.swing.drawingarea.ADDrawingAreaControl.preCommit(ADDrawingAreaControl.java:9830)
      7. com.embarcadero.uml.ui.controls.drawingarea.DrawingAreaEventHandler.onProjectPreSave(DrawingAreaEventHandler.java:1946)
      7 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames
    5. com.embarcadero.uml
      ADApplication.saveProject
      1. com.embarcadero.uml.core.eventframework.EventFunctor.invokeMethod(EventFunctor.java:207)
      2. com.embarcadero.uml.core.eventframework.EventFunctor.execute(EventFunctor.java:93)
      3. com.embarcadero.uml.core.eventframework.EventManager.notifyListenersWithQualifiedProceed(EventManager.java:122)
      4. com.embarcadero.uml.core.metamodel.structure.StructureEventDispatcher.fireProjectPreSave(StructureEventDispatcher.java:409)
      5. com.embarcadero.uml.core.metamodel.structure.Project.save(Project.java:252)
      6. com.embarcadero.uml.core.Application.saveProject(Application.java:414)
      7. com.embarcadero.uml.ui.products.ad.applicationcore.ADApplication.saveProject(ADApplication.java:395)
      7 frames
    6. com.sun.tools
      NBSaveAllAction.performAction
      1. com.sun.tools.ide.uml.project.UMLProjectHelper.saveProject(UMLProjectHelper.java:299)
      2. com.sun.tools.ide.uml.integration.netbeans.actions.NBSaveAllAction.performAction(NBSaveAllAction.java:129)
      2 frames
    7. org.openide.util
      CallableSystemAction.actionPerformed
      1. org.openide.util.actions.CallableSystemAction$1.run(CallableSystemAction.java:78)
      2. org.openide.util.actions.CallableSystemAction.doPerformAction(CallableSystemAction.java:116)
      3. org.openide.util.actions.CallableSystemAction.actionPerformed(CallableSystemAction.java:76)
      3 frames
    8. Java RT
      JComponent.processMouseEvent
      1. javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
      2. javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
      3. javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
      4. javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
      5. javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:234)
      6. java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
      7. java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
      8. java.awt.Component.processMouseEvent(Component.java:5488)
      9. javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
      9 frames
    9. org.openide.awt
      ToolbarButton.processMouseEvent
      1. org.openide.awt.ToolbarButton.processMouseEvent(ToolbarButton.java:29)
      1 frame
    10. Java RT
      Component.dispatchEvent
      1. java.awt.Component.processEvent(Component.java:5253)
      2. java.awt.Container.processEvent(Container.java:1966)
      3. java.awt.Component.dispatchEventImpl(Component.java:3955)
      4. java.awt.Container.dispatchEventImpl(Container.java:2024)
      5. java.awt.Component.dispatchEvent(Component.java:3803)
      5 frames