Menu

#146 Bessere Fehlermeldung

open
nobody
5
2013-01-15
2007-11-28
No

"Could not open Project" ist etwas wenig, wenn man eine VMP Datei öffnen will, die einen fehlerhaften include hat.
Die Fehlermeldung im Log ist etwas hilfreicher:
2007-11-28 16:38:43,147 [Thread-3] ERROR com.foursoft.projektassistent.projekt - Could not open Project.
com.foursoft.fourever.xmlfileio.exception.XMLProcessingException: Could not parse XML File. Loading aborted
at com.foursoft.fourever.xmlfileio.impl.XMLFileIOManagerImpl.openDocument(Unknown Source)
at com.foursoft.fourever.xmlfileio.impl.XMLFileIOManagerImpl.openDocument(Unknown Source)
at com.foursoft.projektassistent.projekt.impl.VMProjektManagerImpl.openProject(Unknown Source)
at com.foursoft.projektassistent.view.impl.MainView.doOpen(Unknown Source)
at com.foursoft.projektassistent.view.impl.MainView$15.doNonUILogic(Unknown Source)
at com.foursoft.projektassistent.view.util.SwingWorkerVariant.construct(Unknown Source)
at com.foursoft.projektassistent.view.util.SwingWorkerVariant$2.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: org.xml.sax.SAXParseException: An 'include' failed, and no 'fallback' element was found.
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
at com.sun.org.apache.xerces.internal.xinclude.XIncludeHandler.reportError(Unknown Source)
at com.sun.org.apache.xerces.internal.xinclude.XIncludeHandler.reportFatalError(Unknown Source)
at com.sun.org.apache.xerces.internal.xinclude.XIncludeHandler.reportFatalError(Unknown Source)
at com.sun.org.apache.xerces.internal.xinclude.XIncludeHandler.emptyElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:158)
... 8 more

Discussion


Log in to post a comment.