Export "Liste Ausgabenbelege" wirft Error

geschrieben von lechuck 
Willkommen! Anmelden Ein neues Profil erzeugen Suche
Export "Liste Ausgabenbelege" wirft Error
09. Januar 2018 15:26
Hallo zusammen,

ich benutze Fakturama seit kurzem. Ein paar mal hatte ich schon Probleme mit Exceptions, die allerdings leicht zu beheben waren.

Jetzt allerdings weiß ich nicht mehr weiter. Ich möchte meine erstellten Ausgabenbelege exportieren und nutze dafür die Export Funktion "Liste Ausgabenbelege". Nachdem ich mich durch die folgenden Fenster durchklicke wird jedoch eine NullPointerException geworfen. Der "Kontostand" Export funktioniert übrigens.

Genaueres dazu hier im stack trace:


994363 [com.sebulli.fakturama.log.LogbackAdapter@3c46dcbe] ERROR org.eclipse.e4.ui.workbench - Internal Error
java.lang.NullPointerException: null
	at org.fakturama.export.wizard.vouchers.VoucherExporter.export(VoucherExporter.java:296) ~[na:na]
	at org.fakturama.export.wizard.vouchers.ExpenditureExportWizard.performFinish(ExpenditureExportWizard.java:104) ~[na:na]
	at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:778) ~[na:na]
	at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:417) ~[na:na]
	at org.eclipse.jface.dialogs.Dialog.lambda$0(Dialog.java:619) ~[na:na]
	at org.eclipse.swt.events.SelectionListener$1.widgetSelected(SelectionListener.java:81) ~[na:na]
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:249) ~[na:na]
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86) ~[na:na]
	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4428) ~[na:na]
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079) ~[na:na]
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4238) ~[na:na]
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3817) ~[na:na]
	at org.eclipse.jface.window.Window.runEventLoop(Window.java:818) ~[na:na]
	at org.eclipse.jface.window.Window.open(Window.java:794) ~[na:na]
	at org.fakturama.wizard.export.handler.ExportHandler.execute(ExportHandler.java:55) ~[na:na]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_151]
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_151]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_151]
	at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.8.0_151]
	at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55) ~[na:na]
	at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:305) ~[na:na]
	at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:239) ~[na:na]
	at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132) ~[na:na]
	at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:152) ~[na:na]
	at org.eclipse.core.commands.Command.executeWithChecks(Command.java:494) ~[na:na]
	at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:487) ~[na:na]
	at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:210) ~[na:na]
	at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.executeItem(HandledContributionItem.java:431) ~[na:na]
	at org.eclipse.e4.ui.workbench.renderers.swt.AbstractContributionItem.handleWidgetSelection(AbstractContributionItem.java:446) ~[na:na]
	at org.eclipse.e4.ui.workbench.renderers.swt.AbstractContributionItem.lambda$2(AbstractContributionItem.java:472) ~[na:na]
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86) ~[na:na]
	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4428) ~[na:na]
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079) ~[na:na]
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4238) ~[na:na]
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3817) ~[na:na]
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1150) ~[na:na]
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336) ~[na:na]
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1039) ~[na:na]
	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:153) ~[na:na]
	at org.eclipse.e4.ui.internal.workbench.swt.E4Application.start(E4Application.java:162) ~[na:na]
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) ~[na:na]
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134) ~[na:na]
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) ~[na:na]
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388) ~[na:na]
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243) ~[na:na]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_151]
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_151]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_151]
	at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.8.0_151]
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653) ~[org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar:na]
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590) ~[org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar:na]
	at org.eclipse.equinox.launcher.Main.run(Main.java:1499) ~[org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar:na]
1007019 [com.sebulli.fakturama.log.LogbackAdapter@3c46dcbe] ERROR org.eclipse.e4.ui.workbench - Internal Error
java.lang.NullPointerException: null
	at org.fakturama.export.wizard.vouchers.VoucherExporter.export(VoucherExporter.java:296) ~[na:na]
	at org.fakturama.export.wizard.vouchers.ExpenditureExportWizard.performFinish(ExpenditureExportWizard.java:104) ~[na:na]
	at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:778) ~[na:na]
	at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:417) ~[na:na]
	at org.eclipse.jface.dialogs.Dialog.lambda$0(Dialog.java:619) ~[na:na]
	at org.eclipse.swt.events.SelectionListener$1.widgetSelected(SelectionListener.java:81) ~[na:na]
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:249) ~[na:na]
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86) ~[na:na]
	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4428) ~[na:na]
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079) ~[na:na]
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4238) ~[na:na]
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3817) ~[na:na]
	at org.eclipse.jface.window.Window.runEventLoop(Window.java:818) ~[na:na]
	at org.eclipse.jface.window.Window.open(Window.java:794) ~[na:na]
	at org.fakturama.wizard.export.handler.ExportHandler.execute(ExportHandler.java:55) ~[na:na]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_151]
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_151]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_151]
	at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.8.0_151]
	at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55) ~[na:na]
	at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:305) ~[na:na]
	at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:239) ~[na:na]
	at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132) ~[na:na]
	at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:152) ~[na:na]
	at org.eclipse.core.commands.Command.executeWithChecks(Command.java:494) ~[na:na]
	at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:487) ~[na:na]
	at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:210) ~[na:na]
	at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.executeItem(HandledContributionItem.java:431) ~[na:na]
	at org.eclipse.e4.ui.workbench.renderers.swt.AbstractContributionItem.handleWidgetSelection(AbstractContributionItem.java:446) ~[na:na]
	at org.eclipse.e4.ui.workbench.renderers.swt.AbstractContributionItem.lambda$2(AbstractContributionItem.java:472) ~[na:na]
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86) ~[na:na]
	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4428) ~[na:na]
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079) ~[na:na]
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4238) ~[na:na]
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3817) ~[na:na]
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1150) ~[na:na]
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336) ~[na:na]
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1039) ~[na:na]
	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:153) ~[na:na]
	at org.eclipse.e4.ui.internal.workbench.swt.E4Application.start(E4Application.java:162) ~[na:na]
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) ~[na:na]
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134) ~[na:na]
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) ~[na:na]
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388) ~[na:na]
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243) ~[na:na]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_151]
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_151]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_151]
	at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.8.0_151]
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653) ~[org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar:na]
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590) ~[org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar:na]
	at org.eclipse.equinox.launcher.Main.run(Main.java:1499) ~[org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar:na]
1458109 [com.sebulli.fakturama.log.LogbackAdapter@3c46dcbe] ERROR org.eclipse.e4.ui.workbench - Internal Error
java.lang.NullPointerException: null
	at org.fakturama.export.wizard.vouchers.VoucherExporter.export(VoucherExporter.java:296) ~[na:na]
	at org.fakturama.export.wizard.vouchers.ExpenditureExportWizard.performFinish(ExpenditureExportWizard.java:104) ~[na:na]
	at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:778) ~[na:na]
	at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:417) ~[na:na]
	at org.eclipse.jface.dialogs.Dialog.lambda$0(Dialog.java:619) ~[na:na]
	at org.eclipse.swt.events.SelectionListener$1.widgetSelected(SelectionListener.java:81) ~[na:na]
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:249) ~[na:na]
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86) ~[na:na]
	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4428) ~[na:na]
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079) ~[na:na]
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4238) ~[na:na]
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3817) ~[na:na]
	at org.eclipse.jface.window.Window.runEventLoop(Window.java:818) ~[na:na]
	at org.eclipse.jface.window.Window.open(Window.java:794) ~[na:na]
	at org.fakturama.wizard.export.handler.ExportHandler.execute(ExportHandler.java:55) ~[na:na]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_151]
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_151]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_151]
	at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.8.0_151]
	at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55) ~[na:na]
	at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:305) ~[na:na]
	at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:239) ~[na:na]
	at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132) ~[na:na]
	at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:152) ~[na:na]
	at org.eclipse.core.commands.Command.executeWithChecks(Command.java:494) ~[na:na]
	at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:487) ~[na:na]
	at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:210) ~[na:na]
	at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.executeItem(HandledContributionItem.java:431) ~[na:na]
	at org.eclipse.e4.ui.workbench.renderers.swt.AbstractContributionItem.handleWidgetSelection(AbstractContributionItem.java:446) ~[na:na]
	at org.eclipse.e4.ui.workbench.renderers.swt.AbstractContributionItem.lambda$2(AbstractContributionItem.java:472) ~[na:na]
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86) ~[na:na]
	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4428) ~[na:na]
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079) ~[na:na]
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4238) ~[na:na]
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3817) ~[na:na]
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1150) ~[na:na]
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336) ~[na:na]
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1039) ~[na:na]
	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:153) ~[na:na]
	at org.eclipse.e4.ui.internal.workbench.swt.E4Application.start(E4Application.java:162) ~[na:na]
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) ~[na:na]
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134) ~[na:na]
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) ~[na:na]
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388) ~[na:na]
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243) ~[na:na]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_151]
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_151]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_151]
	at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.8.0_151]
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653) ~[org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar:na]
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590) ~[org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar:na]
	at org.eclipse.equinox.launcher.Main.run(Main.java:1499) ~[org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar:na]

Re: Export "Liste Ausgabenbelege" wirft Error
09. Januar 2018 16:21
Hallo lechuck,
es sieht aus, als hättest Du da kein Konto für eine Position angegeben. Kannst Du das das bitte nochmal prüfen?

Viele Grüße,
Ralf.
Re: Export "Liste Ausgabenbelege" wirft Error
09. Januar 2018 17:02
Hallo Ralf,

in dem Dialog zum Export finde ich keine Möglichkeit ein Konto anzugeben.

Viele Grüße,
LeChuck
Re: Export "Liste Ausgabenbelege" wirft Error
09. Januar 2018 17:28
nein, der Fehler muß irgendwo in den Daten liegen. Du hast da einen Beleg, bei dem in einem der aufgeführten Artikel kein Konto angegeben wurde.

Viele Grüße,
Ralf.
In diesem Forum dürfen leider nur registrierte Teilnehmer schreiben.

Klicke hier, um Dich einzuloggen