Still unable to split off the old years transaction from the gnucash file using jGnucashEditor-bin-2.0.26
Vivek Agrawal
vickymnit at gmail.com
Wed Apr 25 13:07:04 EDT 2012
Hi,
I know there is already a thread for this but I am not use that tool as the
Jar application (jGnucashEditor-bin-2.0.26) is unable to open the GNUCash
file. I could see the following error logs while opening file from the jar
application (jGnucashEditor-bin-2.0.26).
ERROR in biz.wolschon.finance.jgnucash.JGnucashViewer:loadFile(...)
:614cannot load file
'C:\Users\Vivek\Downloads\jGnucashEditor-bin-2.0.26\MyExpenses'
javax.xml.bind.UnmarshalException: Unexpected element {}:gdate
at
biz.wolschon.fileformats.gnucash.jwsdpimpl.generated.impl.runtime.SAXUnmarshallerHandlerImpl.handleEvent(SAXUnmarshallerHandlerImpl.java:577)
at
biz.wolschon.fileformats.gnucash.jwsdpimpl.generated.impl.runtime.AbstractUnmarshallingEventHandlerImpl.reportError(AbstractUnmarshallingEventHandlerImpl.java:139)
at
biz.wolschon.fileformats.gnucash.jwsdpimpl.generated.impl.runtime.AbstractUnmarshallingEventHandlerImpl.reportError(AbstractUnmarshallingEventHandlerImpl.java:136)
at
biz.wolschon.fileformats.gnucash.jwsdpimpl.generated.impl.runtime.AbstractUnmarshallingEventHandlerImpl.unexpectedEnterElement(AbstractUnmarshallingEventHandlerImpl.java:147)
at
biz.wolschon.fileformats.gnucash.jwsdpimpl.generated.impl.runtime.AbstractUnmarshallingEventHandlerImpl.enterElement(AbstractUnmarshallingEventHandlerImpl.java:60)
at
biz.wolschon.fileformats.gnucash.jwsdpimpl.generated.impl.SlotValueImpl$Unmarshaller.enterElement(SlotValueImpl.java:172)
at
biz.wolschon.fileformats.gnucash.jwsdpimpl.generated.impl.runtime.AbstractUnmarshallingEventHandlerImpl.revertToParentFromEnterElement(AbstractUnmarshallingEventHandlerImpl.java:329)
at
biz.wolschon.fileformats.gnucash.jwsdpimpl.generated.impl.SlotValueTypeImpl$Unmarshaller.enterElement(SlotValueTypeImpl.java:243)
at
biz.wolschon.fileformats.gnucash.jwsdpimpl.generated.impl.SlotValueImpl$Unmarshaller.enterElement(SlotValueImpl.java:167)
at
biz.wolschon.fileformats.gnucash.jwsdpimpl.generated.impl.runtime.SAXUnmarshallerHandlerImpl.startElement(SAXUnmarshallerHandlerImpl.java:125)
at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown
Source)
at
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown
Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown
Source)
at
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(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.AbstractSAXParser.parse(Unknown
Source)
at
com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
Source)
at
biz.wolschon.fileformats.gnucash.jwsdpimpl.generated.impl.runtime.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:140)
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(Unknown
Source)
at
biz.wolschon.fileformats.gnucash.jwsdpimpl.GnucashFileImpl.loadFile(GnucashFileImpl.java:1173)
at
biz.wolschon.fileformats.gnucash.jwsdpimpl.GnucashFileWritingImpl.loadFile(GnucashFileWritingImpl.java:317)
at
biz.wolschon.fileformats.gnucash.jwsdpimpl.GnucashFileImpl.<init>(GnucashFileImpl.java:1084)
at
biz.wolschon.fileformats.gnucash.jwsdpimpl.GnucashFileWritingImpl.<init>(GnucashFileWritingImpl.java:265)
at
biz.wolschon.finance.jgnucash.JGnucash.createModelFromFile(JGnucash.java:122)
at
biz.wolschon.finance.jgnucash.JGnucashViewer.loadFile(JGnucashViewer.java:611)
at
biz.wolschon.finance.jgnucash.JGnucashViewer.loadFile(JGnucashViewer.java:598)
at
biz.wolschon.finance.jgnucash.JGnucashViewer$4.actionPerformed(JGnucashViewer.java:416)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown
Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown
Source)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown
Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown
Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Please let me know what am doing wrong here?
Thanks & Regards,
Vivek Agrawal
More information about the gnucash-user
mailing list