org.xml.sax.SAXParseException: Reference is not allowed in prolog.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Oracle Community by 807581, 1 year ago
via hivmr.com by Unknown author, 1 year ago
via hivmr.com by Unknown author, 1 year ago
via hivmr.com by Unknown author, 1 year ago
via Oracle Community by 843834, 1 year ago
via hivmr.com by Unknown author, 1 year ago
org.xml.sax.SAXParseException: Reference is not allowed in prolog.
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:236)
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:215)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:386)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:316)
at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1438)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDispatcher.dispatch(XMLDocumentScannerImpl.java:903)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
at org.dom4j.io.SAXReader.read(SAXReader.java:420)
at org.dom4j.io.SAXReader.read(SAXReader.java:344)
at com.embarcadero.uml.core.support.umlsupport.XMLManip.loadXML(XMLManip.java:730)
at com.embarcadero.uml.core.support.umlsupport.XMLManip.loadXML(XMLManip.java:702)
at com.embarcadero.uml.ui.support.archivesupport.ProductArchiveImpl.createDomDocument(ProductArchiveImpl.java:73)
at com.embarcadero.uml.ui.support.archivesupport.ProductArchiveImpl.(ProductArchiveImpl.java:46)
at com.embarcadero.uml.ui.swing.drawingarea.ADDrawingAreaControl.saveETLDAndETLPFiles(ADDrawingAreaControl.java:9918)
at com.embarcadero.uml.ui.swing.drawingarea.ADDrawingAreaControl.preCommit(ADDrawingAreaControl.java:9830)
at com.embarcadero.uml.ui.swing.drawingarea.ADDrawingAreaControl.save(ADDrawingAreaControl.java:7630)
at com.embarcadero.uml.ui.controls.drawingarea.UIDiagram.save(UIDiagram.java:101)
at com.sun.tools.ide.modeling.drawingarea.UMLDiagramManager.createDiagram(UMLDiagramManager.java:228)
at com.sun.tools.ide.modeling.drawingarea.UMLDiagramManager.doNewDiagramDialog(UMLDiagramManager.java:511)
at com.sun.tools.ide.modeling.drawingarea.UMLDiagramManager.newDiagramDialog(UMLDiagramManager.java:157)
at com.sun.tools.ide.modeling.diagramcreator.DiagCreatorAddIn.guiCreateDiagram(DiagCreatorAddIn.java:825)
at com.sun.tools.ide.modeling.diagramcreator.DiagCreatorAddIn.guiCreateDiagramFromElements(DiagCreatorAddIn.java:218)
at com.sun.tools.ide.modeling.diagramcreator.DiagramCreatorAction$1.run(DiagramCreatorAction.java:93)
at java.lang.Thread.run(Thread.java:595)
at com.sun.tools.ide.modeling.diagramcreator.DiagramCreatorAction.performAction(DiagramCreatorAction.java:96)
at org.openide.util.actions.NodeAction$3.run(NodeAction.java:450)
at org.openide.util.actions.CallableSystemAction$ActionRunnable.actionPerformed(CallableSystemAction.java:247)
at org.netbeans.core.ModuleActions.invokeAction(ModuleActions.java:74)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.openide.util.actions.CallableSystemAction.invokeAction(CallableSystemAction.java:179)
at org.openide.util.actions.CallableSystemAction.access$000(CallableSystemAction.java:31)
at org.openide.util.actions.CallableSystemAction$ActionRunnable.doRun(CallableSystemAction.java:241)
at org.openide.util.actions.CallableSystemAction$2.run(CallableSystemAction.java:111)
at org.openide.util.Task.run(Task.java:189)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:330)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:721)

Users with the same issue

Once, 2 weeks ago
14 times, 3 weeks ago
Once, 3 weeks ago
82 times, 1 month ago
2 times, 1 month ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.