You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using IZUGFeRDExporter ze = new ZUGFeRDExporterFromPDFA();
then ze.setProfile( Profiles.getByName( "extended" ) );
leads to a class cast exception:
at org.mustangproject.ZUGFeRD.ZUGFeRDExporterFromPDFA.setProfile(ZUGFeRDExporterFromPDFA.java:151)
at org.mustangproject.ZUGFeRD.ZUGFeRDExporterFromPDFA.setProfile(ZUGFeRDExporterFromPDFA.java:40)
at biz.mbisoftware.fn.ejb.session.sales.InvoiceExport.buildInvoiceZugferdPdf(InvoiceExport.java:523)
at biz.mbisoftware.fn.ejb.session.sales.InvoiceExport.processInvoice(InvoiceExport.java:403)
The text was updated successfully, but these errors were encountered:
I get the opposite message with version Mustang-CLI-2.12.0.jar: ...FromPDFA cannot be cast to class ...FromA3
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')
Please create a new issue.
Where does this Exception exactly happen ? Main.java:726 ? The complete stacktrace would be helpful.
Share the command line you're using, so that somebody is able to reproduce this issue. java -jar Mustang-CLI-2.12.0.jar .... ?
When using
IZUGFeRDExporter ze = new ZUGFeRDExporterFromPDFA();
then
ze.setProfile( Profiles.getByName( "extended" ) );
leads to a class cast exception:
The text was updated successfully, but these errors were encountered: