View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001130 | Fakturama | ZUGFeRD | public | 2024-11-30 10:26 | 2024-12-06 14:34 |
| Reporter | juengling | Assigned To | rheydenr | ||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | resolved | Resolution | no change required | ||
| Platform | PC | OS | Linux | OS Version | Debian (64bit) |
| Product Version | 2.1.3 | ||||
| Target Version | 2.2.0 | Fixed in Version | 2.2.0 | ||
| Summary | 0001130: Pfadeingabe in den ZUGFeRD-Einstellungen oft unmöglich | ||||
| Description | Die Option "Standardpfad für die XRechnung-Datei" kann nur in der Kombination "Version 2.1" und "Profil: XRECHNUNG" eingegeben werden. Das funktioniert korrekt, d.h. es werden PDF- und XML-Datei erstellt. Bei "Version 1" jedoch ist das Feld deaktiviert, ebenso bei "Version 2.1" und den Profilauswahlen "ZUGFERT_V2_COMFORT" und "FAKTURX_EN16931". Bei "Drucken" einer Rechnung erfolgt dann die Fehlermeldung: "Dokument konnte nicht erstellt werden. Bitte überprüfen Sie den OpenOffice-Pfad und den Ausgabepfad!" Die Einstellungen in "Office-Integration" sind vorhanden und wurden nicht verändert. | ||||
| Steps To Reproduce |
| ||||
| Tags | ZUGFeRD | ||||
|
|
Im Kasten "Fehler" stehen folgende Daten: Error starting OpenOffice with Document.ott in: com.sebulli.fakturama.office.OfficeDocument#postProcess (358) |
|
|
Nach Auswahl von "ZUGFERD_V2_COMFORT" und "Drucken" wird das menschenlesbare PDF korrekt erzeugt. Die einzelne XML-Datei wird (erwartungsgemäß) nicht erzeugt, ein Anhang am PDF ist jedoch nicht vorhanden. |
|
|
Der Pfad für die XML-Datei ist nur bei XRechnung aktiv, weil man den auch nur dort benötigt. Bei ZUGFeRD soll das XML ja im PDF stecken. Dieses wird ganz normal im angegebenen Ausgabepfad erzeugt. Kannst Du bitte mal nachsehen, ob das XML im PDF steckt? |
|
|
Ich habe gerade nochmal eine Testrechnung drucken lassen (Einstellung ZUGFeRD-Version 2.1, Profil "ZUGFERD_V2_COMFORT"). Das PDF wird erzeugt, enthält jedoch keinen Anhang (wird bei Vorhandensein in meinem Reader "Evince" unter Ubuntu als Büroklammersymbol visualisiert). Zusätzlich kommt die oben schon beschriebene Fehlermeldung. |
|
|
stehen in ~/.fakturama2/.metadata/.log irgendwelche Hinweise? |
|
|
Ja, da kommt was:
Ich lösche sie mal und führe nochmal diesen einen Druckvorgang aus. .log (8,339 bytes)
!ENTRY com.sebulli.fakturama.common 4 0 2024-12-06 14:02:46.793 !MESSAGE Error starting OpenOffice with Document.ott !STACK 0 java.lang.NullPointerException: Cannot invoke "org.apache.pdfbox.pdmodel.common.PDMetadata.createInputStream()" because "metadata" is null at org.fakturama.export.facturx.FacturXHelper.makeA3Acompliant(FacturXHelper.java:95) at org.fakturama.export.einvoice.AbstractEInvoiceCreator.createPdf(AbstractEInvoiceCreator.java:167) at org.fakturama.export.facturx.XRechnungCreator.createEInvoice(XRechnungCreator.java:92) at org.fakturama.export.einvoice.ZugferdExporter.processPdf(ZugferdExporter.java:106) at com.sebulli.fakturama.office.OfficeDocument.postProcess(OfficeDocument.java:354) at com.sebulli.fakturama.office.OfficeDocument.saveOODocument(OfficeDocument.java:330) at com.sebulli.fakturama.office.OfficeDocument.createDocument(OfficeDocument.java:180) at com.sebulli.fakturama.handlers.CreateOODocumentHandler.openOODocument(CreateOODocumentHandler.java:397) at com.sebulli.fakturama.handlers.CreateOODocumentHandler.lambda$0(CreateOODocumentHandler.java:180) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5895) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1520) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:5126) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4581) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1155) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1046) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155) at org.eclipse.e4.ui.internal.workbench.swt.E4Application.start(E4Application.java:168) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:136) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:596) at org.eclipse.equinox.launcher.Main.run(Main.java:1467) at org.eclipse.equinox.launcher.Main.main(Main.java:1440) !ENTRY com.sebulli.fakturama.common 4 0 2024-12-06 14:02:46.794 !MESSAGE Document couldn't be created. Reason: Error starting OpenOffice with Document.ott !STACK 0 com.sebulli.fakturama.exception.FakturamaStoringException: Error starting OpenOffice with Document.ott at com.sebulli.fakturama.office.OfficeDocument.createDocument(OfficeDocument.java:186) at com.sebulli.fakturama.handlers.CreateOODocumentHandler.openOODocument(CreateOODocumentHandler.java:397) at com.sebulli.fakturama.handlers.CreateOODocumentHandler.lambda$0(CreateOODocumentHandler.java:180) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5895) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1520) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:5126) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4581) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1155) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1046) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155) at org.eclipse.e4.ui.internal.workbench.swt.E4Application.start(E4Application.java:168) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:136) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:596) at org.eclipse.equinox.launcher.Main.run(Main.java:1467) at org.eclipse.equinox.launcher.Main.main(Main.java:1440) !ENTRY com.sebulli.fakturama.common 4 0 2024-12-06 14:02:46.794 !MESSAGE Exception occured: !STACK 0 java.lang.NullPointerException: Cannot invoke "org.apache.pdfbox.pdmodel.common.PDMetadata.createInputStream()" because "metadata" is null at org.fakturama.export.facturx.FacturXHelper.makeA3Acompliant(FacturXHelper.java:95) at org.fakturama.export.einvoice.AbstractEInvoiceCreator.createPdf(AbstractEInvoiceCreator.java:167) at org.fakturama.export.facturx.XRechnungCreator.createEInvoice(XRechnungCreator.java:92) at org.fakturama.export.einvoice.ZugferdExporter.processPdf(ZugferdExporter.java:106) at com.sebulli.fakturama.office.OfficeDocument.postProcess(OfficeDocument.java:354) at com.sebulli.fakturama.office.OfficeDocument.saveOODocument(OfficeDocument.java:330) at com.sebulli.fakturama.office.OfficeDocument.createDocument(OfficeDocument.java:180) at com.sebulli.fakturama.handlers.CreateOODocumentHandler.openOODocument(CreateOODocumentHandler.java:397) at com.sebulli.fakturama.handlers.CreateOODocumentHandler.lambda$0(CreateOODocumentHandler.java:180) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5895) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1520) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:5126) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4581) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1155) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1046) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155) at org.eclipse.e4.ui.internal.workbench.swt.E4Application.start(E4Application.java:168) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:136) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:596) at org.eclipse.equinox.launcher.Main.run(Main.java:1467) at org.eclipse.equinox.launcher.Main.main(Main.java:1440) |
|
|
Hast Du im LibreOffice einmalig ein PDF im PDF-A/3-Format erzeugt? |
|
|
Du meinst das PDF-Format, nicht DIN-A-3? Nicht bewusst, aber möglich wäre es, früher mal. "PDF/A" im Writer ist allerdings nicht angekreuzt. |
|
|
Ich meinte PDF-A/3. Das muß in der Version noch über LibreOffice aktiviert werden. Bitte probier das mal. |
|
|
Super, danke! Jetzt funktioniert's! |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2024-11-30 10:26 | juengling | New Issue | |
| 2024-11-30 10:30 | juengling | Note Added: 0001410 | |
| 2024-11-30 10:30 | juengling | Tag Attached: ZUGFeRD | |
| 2024-11-30 10:35 | juengling | Note Added: 0001411 | |
| 2024-12-03 17:58 | rheydenr | Assigned To | => rheydenr |
| 2024-12-03 17:58 | rheydenr | Status | new => assigned |
| 2024-12-03 17:58 | rheydenr | Target Version | => 2.2.0 |
| 2024-12-03 17:59 | rheydenr | Assigned To | rheydenr => boarschti |
| 2024-12-06 12:33 | rheydenr | Assigned To | boarschti => rheydenr |
| 2024-12-06 12:41 | rheydenr | Status | assigned => feedback |
| 2024-12-06 12:41 | rheydenr | Note Added: 0001420 | |
| 2024-12-06 13:21 | juengling | Note Added: 0001421 | |
| 2024-12-06 13:21 | juengling | File Added: Fehlermeldung bei Zugferd-Druck.png | |
| 2024-12-06 13:21 | juengling | Status | feedback => assigned |
| 2024-12-06 13:39 | rheydenr | Note Added: 0001422 | |
| 2024-12-06 13:39 | rheydenr | Status | assigned => feedback |
| 2024-12-06 14:02 | juengling | Note Added: 0001423 | |
| 2024-12-06 14:02 | juengling | File Added: .log | |
| 2024-12-06 14:02 | juengling | Status | feedback => assigned |
| 2024-12-06 14:06 | rheydenr | Status | assigned => feedback |
| 2024-12-06 14:06 | rheydenr | Note Added: 0001425 | |
| 2024-12-06 14:11 | juengling | Note Added: 0001426 | |
| 2024-12-06 14:11 | juengling | Status | feedback => assigned |
| 2024-12-06 14:14 | rheydenr | Note Added: 0001427 | |
| 2024-12-06 14:14 | rheydenr | Status | assigned => feedback |
| 2024-12-06 14:19 | juengling | Note Added: 0001428 | |
| 2024-12-06 14:19 | juengling | File Added: PDFA3.png | |
| 2024-12-06 14:19 | juengling | Status | feedback => assigned |
| 2024-12-06 14:33 | rheydenr | Status | assigned => resolved |
| 2024-12-06 14:33 | rheydenr | Resolution | open => no change required |
| 2024-12-06 14:34 | rheydenr | Fixed in Version | => 2.2.0 |