Ticket #51 (new defect)

Opened 6 years ago

Exception thrown after cancelling database creation

Reported by: harri Owned by: harri
Priority: minor Milestone:
Component: DDLutils Version: 0.3.1-rc1
Keywords: Cc:
Test Case Result:

Description

With the following sequence of actions:

  • Start Photovault with user.home set to empty directory
  • Click "Create database"
  • Press cancel
  • Restart photovault

During the 2nd invocation of Photovault the following exception is thrown:

2    [main] ERROR org.apache.commons.digester.Digester  - Parse Fatal Error at line -1 column -1: Premature end of file.
org.xml.sax.SAXParseException: Premature end of file.
        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.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:230)
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:798)
        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 com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
        at org.apache.commons.digester.Digester.parse(Digester.java:1631)
        at org.photovault.common.PhotovaultDatabases.loadDatabases(PhotovaultDatabases.java:88)
        at org.photovault.common.PhotovaultSettings.<init>(PhotovaultSettings.java:78)
        at org.photovault.common.PhotovaultSettings.getSettings(PhotovaultSettings.java:50)
        at org.photovault.swingui.Photovault.<init>(Photovault.java:50)
        at org.photovault.swingui.Photovault.main(Photovault.java:175)
Premature end of file.

Note: See TracTickets for help on using tickets.