[Jgnash-tracker] [ jgnash-Bugs-2098347 ] Import OFX fails if no jgnash file created
jGnash Personal Finance
Brought to you by:
ccavanaugh
From: SourceForge.net <no...@so...> - 2008-09-20 10:13:59
|
Bugs item #2098347, was opened at 2008-09-07 05:31 Message generated for change (Comment added) made by ccavanaugh You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=389744&aid=2098347&group_id=27240 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Bouil (malgravajhoj) Assigned to: Nobody/Anonymous (nobody) Summary: Import OFX fails if no jgnash file created Initial Comment: Tested against trunk revision 1020 of jgnash2. 1. Open jgnash2 for the first time (no file opened) 2. Try menu "file" > "import OFX" 3. Java stacktrace : Caused by: java.lang.NullPointerException at jgnash.ui.actions.ImportOfxAction.importOfx(ImportOfxAction.java:56) The code is if (EngineFactory.getEngine().getRootAccount().getChildCount() == 0) and EngineFactory.getEngine() is null because the is no file created, so no XML engine or db4o selected. ---------------------------------------------------------------------- >Comment By: Craig Cavanaugh (ccavanaugh) Date: 2008-09-20 06:13 Message: Fixed and will be in next release. Thanks! ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=389744&aid=2098347&group_id=27240 |