Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

class org.mustangproject.ZUGFeRD.ZUGFeRDExporterFromPDFA cannot be cast to class org.mustangproject.ZUGFeRD.ZUGFeRDExporterFromA3 #448

Open
msccip opened this issue Aug 19, 2024 · 1 comment

Comments

@msccip
Copy link

msccip commented Aug 19, 2024

Mustang-CLI-2.12.0.jar: If you try to add an additional PDF file as an attachment using the combine action, the following error occurs:

class org.mustangproject.ZUGFeRD.ZUGFeRDExporterFromPDFA cannot be cast to class org.mustangproject.ZUGFeRD.ZUGFeRDExporterFromA3 (org.mustangproject.ZUGFeRD.ZUGFeRDExporterFromPDFA and org.mustangproject.ZUGFeRD.ZUGFeRDExporterFromA3 are in unnamed module of loader 'app')

the following commandline is used:

java -jar Mustang-CLI-2.12.0.jar --action combine --source x.pdf --source-xml y.xml --out rechnung.pdf --format zf --version 2 --profile E --attachments "z.PDF"

A stacktrace is not displayed. With version 2.10 it works without problems

@msccip
Copy link
Author

msccip commented Sep 10, 2024

With version 2.13 the exception no longer appears. But attachments are not added at all. They are simply ignored.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant