Menu

#153 Exception re "book with defaults" stack in bank statement import

v1.0_(example)
open
nobody
None
8
2014-01-04
2014-01-04
No

If one creates a second bank account, 1201, and runs a bank statement import against this new account, closes the wizard with pending entries and accidentally opens the wizard again with 1200 as contra account, if then a outgoing payment is moved to the "book with standards" stack there will be a nullpointerex upon clicking "finish":

java.lang.NullPointerException
at appLayer.entries.signalChange(Unknown Source)
at appLayer.transactionRelated.appTransaction.book(Unknown Source)
at GUILayer.newAccountingWizard.performFinish(Unknown Source)
at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java
:827)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java
:432)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at GUILayer.MainWindow$16.run(Unknown Source)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection
(ActionContributionItem.java:584)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContri
butionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionC
ontributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at GUILayer.configWindow.testAndShow(Unknown Source)
at GUILayer.MainWindow.main(Unknown Source)

Discussion


Log in to post a comment.