Hallo,
ich habe seit ein paar Tagen die Version 2 von Fakturama installiert.
Der Wechsel bzw. die Migration der Datenbank von der V.1 nach V.2 hat soweit gut geklappt- Danke, tolle Arbeit!
Ich musste jetzt allerdings leider feststellen, das der ZUGFeRD-Exporter nicht funktioniert.
Wenn ich eine Rechnung auswähle und diese dann per ZUGFeRD exportieren möchte, erhalte ich folgende Fehlermeldung:
Internal Error
Ursache:
org.eclipse.e4.core.di.InjectionException: java.lang.IllegalArgumentException: InputStream cannot be null
Details:
java.lang.IllegalArgumentException: InputStream cannot be null
Irgendwelche Ideen?
Danke!
Grüße
Dann stimmt was mit dem PDF nicht. Kannst Du mir bitte mal den kompletten Stacktrace schicken? Das sind die Zeilen, die unterhalb der von Dir geposteten Meldung stehen.
Viele Grüße
Ralf.
Wichtige Infos zum Posten im Forum.
Fehler gefunden?
Hallo Ralf,
mehr Output habe ich leider nicht.
Grüße,
Ivan
Hm. Und in der Datei %USERPROFILE%.fakturama2.metadata.log?
Viele Grüße
Ralf.
Wichtige Infos zum Posten im Forum.
Fehler gefunden?
Hallo Ralf,
das Logfile sagt folgendes:
!SESSION 2018-01-10 19:16:26.641 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_151
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=de_DE
Command-line arguments: -os win32 -ws win32 -arch x86_64
!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-01-10 19:16:40.407
!MESSAGE create Document list part
!ENTRY org.eclipse.e4.ui.workbench 4 0 2018-01-10 19:16:47.812
!MESSAGE Internal Error
!STACK 0
org.eclipse.e4.core.di.InjectionException: java.lang.IllegalArgumentException: InputStream cannot be null
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:65)
at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:305)
at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:239)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)
at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:152)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:494)
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:487)
at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:210)
at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.executeItem(HandledContributionItem.java:431)
at org.eclipse.e4.ui.workbench.renderers.swt.AbstractContributionItem.handleWidgetSelection(AbstractContributionItem.java:446)
at org.eclipse.e4.ui.workbench.renderers.swt.AbstractContributionItem.lambda$2(AbstractContributionItem.java:472)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4428)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4238)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3817)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1150)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1039)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:153)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.start(E4Application.java:162)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
at org.eclipse.equinox.launcher.Main.run(Main.java:1499)
Caused by: java.lang.IllegalArgumentException: InputStream cannot be null
at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
at org.apache.xmpbox.xml.DomXmpParser.parse(DomXmpParser.java:121)
at org.fakturama.export.zugferd.ZugferdHelper.addZugferdXMP(ZugferdHelper.java:151)
at org.fakturama.export.zugferd.ZugferdHelper.makeA3Acompliant(ZugferdHelper.java:128)
at org.fakturama.export.zugferd.ZugferdExporter.createPdf(ZugferdExporter.java:329)
at org.fakturama.export.zugferd.ZugferdExporter.execute(ZugferdExporter.java:268)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55)
... 32 more
!ENTRY org.eclipse.e4.ui.workbench 1 0 2018-01-10 19:17:38.520
!MESSAGE Saving NatTable state to fakturamaviews.properties
Grüße,
Ivan
Hallo
Ich habe das auch. Fakturama2 2.0 Linux Kubuntu 16.04 und 17.10
5824 [com.sebulli.fakturama.log.LogbackAdapter@1bcfe81] DEBUG com.sebulli.fakturama.common - start DAOs - begin 6733 [com.sebulli.fakturama.log.LogbackAdapter@1bcfe81] INFO com.sebulli.fakturama.rcp - Entering default Preference Initializer 7827 [com.sebulli.fakturama.log.LogbackAdapter@1bcfe81] DEBUG com.sebulli.fakturama.common - start DAOs - end 35648 [com.sebulli.fakturama.log.LogbackAdapter@1bcfe81] DEBUG com.sebulli.fakturama.common - ******************* open NEW doc 37200 [com.sebulli.fakturama.log.LogbackAdapter@1bcfe81] DEBUG com.sebulli.fakturama.common - trying to replace <ADDRESS.GREETING> with [Sehr geehrte Damen und Herren] 37207 [com.sebulli.fakturama.log.LogbackAdapter@1bcfe81] DEBUG com.sebulli.fakturama.common - trying to replace <ADDRESS.NR> with [KD010111] 37207 [com.sebulli.fakturama.log.LogbackAdapter@1bcfe81] DEBUG com.sebulli.fakturama.common - trying to replace <DOCUMENT.ADDRESS> with [BARVERKAUF AT- Österreich] 37211 [com.sebulli.fakturama.log.LogbackAdapter@1bcfe81] DEBUG com.sebulli.fakturama.common - trying to replace <DOCUMENT.CUSTOMERREF> with [null] 37211 [com.sebulli.fakturama.log.LogbackAdapter@1bcfe81] DEBUG com.sebulli.fakturama.common - trying to replace <DOCUMENT.DATE> with [05.01.2018] 37214 [com.sebulli.fakturama.log.LogbackAdapter@1bcfe81] DEBUG com.sebulli.fakturama.common - trying to replace <DOCUMENT.ITEMS.GROSS> with [€ 107,64] 37217 [com.sebulli.fakturama.log.LogbackAdapter@1bcfe81] DEBUG com.sebulli.fakturama.common - trying to replace <DOCUMENT.MESSAGE> with [null] 37217 [com.sebulli.fakturama.log.LogbackAdapter@1bcfe81] DEBUG com.sebulli.fakturama.common - trying to replace <DOCUMENT.NAME> with [RE18002] 37218 [com.sebulli.fakturama.log.LogbackAdapter@1bcfe81] DEBUG com.sebulli.fakturama.common - trying to replace <DOCUMENT.ORDER.DATE> with [05.01.2018] 37218 [com.sebulli.fakturama.log.LogbackAdapter@1bcfe81] DEBUG com.sebulli.fakturama.common - trying to replace <DOCUMENT.TOTAL.GROSS> with [€ 107,64] 37218 [com.sebulli.fakturama.log.LogbackAdapter@1bcfe81] DEBUG com.sebulli.fakturama.common - trying to replace <DOCUMENT.TYPE> with [Rechnung] 37290 [com.sebulli.fakturama.log.LogbackAdapter@1bcfe81] DEBUG com.sebulli.fakturama.common - trying to replace <ITEMS.DISCOUNT.GROSS> with [€ 0,00] 37291 [com.sebulli.fakturama.log.LogbackAdapter@1bcfe81] DEBUG com.sebulli.fakturama.common - trying to replace <ITEMS.DISCOUNT.PERCENT> with [null] 37291 [com.sebulli.fakturama.log.LogbackAdapter@1bcfe81] DEBUG com.sebulli.fakturama.common - trying to replace <PAYMENT.DESCRIPTION> with [Barzahlung] 37292 [com.sebulli.fakturama.log.LogbackAdapter@1bcfe81] DEBUG com.sebulli.fakturama.common - trying to replace <PAYMENT.TEXT> with [Bitte überweisen Sie den Rechnungsbetrag.] 37292 [com.sebulli.fakturama.log.LogbackAdapter@1bcfe81] DEBUG com.sebulli.fakturama.common - trying to replace <SHIPPING.GROSS> with [€ 0,00] 37333 [com.sebulli.fakturama.log.LogbackAdapter@1bcfe81] DEBUG com.sebulli.fakturama.common - trying to replace <YOURCOMPANY.CITY> with [Wien] 37333 [com.sebulli.fakturama.log.LogbackAdapter@1bcfe81] DEBUG com.sebulli.fakturama.common - trying to replace <YOURCOMPANY.CITY> with [Wien] 37334 [com.sebulli.fakturama.log.LogbackAdapter@1bcfe81] DEBUG com.sebulli.fakturama.common - trying to replace <YOURCOMPANY.COMPANY> with [KVASNY Motorradtechnik] 37334 [com.sebulli.fakturama.log.LogbackAdapter@1bcfe81] DEBUG com.sebulli.fakturama.common - trying to replace <YOURCOMPANY.COMPANY> with [KVASNY Motorradtechnik] 37334 [com.sebulli.fakturama.log.LogbackAdapter@1bcfe81] DEBUG com.sebulli.fakturama.common - trying to replace <YOURCOMPANY.EMAIL> with [office@schmidlmoto.at] 37334 [com.sebulli.fakturama.log.LogbackAdapter@1bcfe81] DEBUG com.sebulli.fakturama.common - trying to replace <YOURCOMPANY.FAX> with [43(1)9689686] 37338 [com.sebulli.fakturama.log.LogbackAdapter@1bcfe81] DEBUG com.sebulli.fakturama.common - trying to replace <YOURCOMPANY.OWNER> with [Christian Kvasny] 37338 [com.sebulli.fakturama.log.LogbackAdapter@1bcfe81] DEBUG com.sebulli.fakturama.common - trying to replace <YOURCOMPANY.OWNER> with [Christian Kvasny] 37338 [com.sebulli.fakturama.log.LogbackAdapter@1bcfe81] DEBUG com.sebulli.fakturama.common - trying to replace <YOURCOMPANY.PHONE> with [43(0)699 105 96 172] 37339 [com.sebulli.fakturama.log.LogbackAdapter@1bcfe81] DEBUG com.sebulli.fakturama.common - trying to replace <YOURCOMPANY.STREET> with [Dresdnerstrasse 48-54/2/R3] 37339 [com.sebulli.fakturama.log.LogbackAdapter@1bcfe81] DEBUG com.sebulli.fakturama.common - trying to replace <YOURCOMPANY.STREET> with [Dresdnerstrasse 48-54/2/R3] 37339 [com.sebulli.fakturama.log.LogbackAdapter@1bcfe81] DEBUG com.sebulli.fakturama.common - trying to replace <YOURCOMPANY.VATNR> with [ATU66944505] 37339 [com.sebulli.fakturama.log.LogbackAdapter@1bcfe81] DEBUG com.sebulli.fakturama.common - trying to replace <YOURCOMPANY.ZIP> with [1200] 37340 [com.sebulli.fakturama.log.LogbackAdapter@1bcfe81] DEBUG com.sebulli.fakturama.common - trying to replace <YOURCOMPANY.ZIP> with [1200] 48152 [com.sebulli.fakturama.log.LogbackAdapter@1bcfe81] ERROR org.eclipse.e4.ui.workbench - Internal Error org.eclipse.e4.core.di.InjectionException: java.lang.NullPointerException at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:65) ~[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:5348) ~[na:na] at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1348) ~[na:na] at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4602) ~[na:na] at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4183) ~[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_111] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_111] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_111] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_111] 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] Caused by: java.lang.NullPointerException: null at org.fakturama.export.zugferd.ZugferdExporter.createTradeTax(ZugferdExporter.java:946) ~[na:na] at org.fakturama.export.zugferd.ZugferdExporter.createInvoiceFromDataset(ZugferdExporter.java:545) ~[na:na] at org.fakturama.export.zugferd.ZugferdExporter.execute(ZugferdExporter.java:263) ~[na:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_111] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_111] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_111] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_111] at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55) ~[na:na] ... 32 common frames omitted 121572 [com.sebulli.fakturama.log.LogbackAdapter@1bcfe81] DEBUG com.sebulli.fakturama.common - Storing preferences in database 122033 [com.sebulli.fakturama.log.LogbackAdapter@1bcfe81] DEBUG com.sebulli.fakturama.common - save dialog settings
Allerdings ist meine Fehlermeldung eine andere ....
Hallo,
die Fehlermeldung besagt, daß im Feld "TradeTax" nichts drinsteht, obwohl dort was erwartet wurde. Hast Du keinen Steuersatz angegeben?
Viele Grüße
Ralf.
Wichtige Infos zum Posten im Forum.
Fehler gefunden?
Hallo
rheydenr schrieb:
-------------------------------------------------------
> Hallo,
> die Fehlermeldung besagt, daß im Feld "TradeTax"
> nichts drinsteht, obwohl dort was erwartet wurde.
> Hast Du keinen Steuersatz angegeben?
Kann ich derzeit nicht sagen, da ja die neue 2.0er bei mir nicht funktioniert. War noch mit der erst Installation.
lg Chris
rheydenr schrieb:
-------------------------------------------------------
> Hallo,
> die Fehlermeldung besagt, daß im Feld "TradeTax"
> nichts drinsteht, obwohl dort was erwartet wurde.
> Hast Du keinen Steuersatz angegeben?
Hallo Ralf,
kannst Du mir auch etwas zu meiner Fehlermeldung (weiter oben im Thread) sagen?
Danke!
Grüße,
Ivan
Hallo blu-IT, ich repariere da gerade noch was.
Viele Grüße
Ralf.
Wichtige Infos zum Posten im Forum.
Fehler gefunden?
Hallo Ralf,
Gibt es dazu inzwischen eine Fehlerlösung?
Habe in Fakturama 2.0.0.1 auch das Problem beim Aufruf des ZUGFeRD- Exporter (trotz hinterlegtem Steuersatz):
org.eclipse.e4.core.di.InjectionException: java.lang.IllegalArgumentException: InputStream cannot be null
Gruß
Matthew
Fakturama 2.1.3 auf Win10 pro x64 an MariaDB auf ner DiskStation
Hallo Matthew,
ja, es gibt dazu eine Lösung, die habe ich aber noch nicht veröffentlicht. Tut mir leid für die Umstände, aber ich hatte hier tatsächlich noch einen Fehler drin.
Viele Grüße
Ralf.
Wichtige Infos zum Posten im Forum.
Fehler gefunden?
Tut mir leid für die Umstände, aber ich hatte hier tatsächlich noch einen Fehler drin.
Kein Problem, ich warte geduldig auf die Veröffentlichung der nächsten Version.
Gruß
Matthew
Fakturama 2.1.3 auf Win10 pro x64 an MariaDB auf ner DiskStation