SAP Knowledge Base Article - Preview

3091052 - The invoice functionality does not work on the CX BO and shows java.lang.NoClassDefFoundError errors on jasperreports classes

Symptom

Internal server error shows up when generating report as showed below.

Below error shows in backoffice.


Following error stack trace shows:

INFO   | jvm 1    | main    | 2021/07/09 12:07:28.677 | java.lang.NoClassDefFoundError: Could not initialize class net.sf.jasperreports.engine.util.JRStyledTextParser
INFO   | jvm 1    | main    | 2021/07/09 12:07:28.677 |  at net.sf.jasperreports.engine.fill.JRBaseFiller.<init>(JRBaseFiller.java:116) ~[jasperreports-6.6.0.jar:6.6.0]
INFO   | jvm 1    | main    | 2021/07/09 12:07:28.677 |  at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:79) ~[jasperreports-6.6.0.jar:6.6.0]
INFO   | jvm 1    | main    | 2021/07/09 12:07:28.677 |  at net.sf.jasperreports.engine.fill.JRFiller.createBandReportFiller(JRFiller.java:251) ~[jasperreports-6.6.0.jar:6.6.0]
INFO   | jvm 1    | main    | 2021/07/09 12:07:28.677 |  at net.sf.jasperreports.engine.fill.JRFiller.createReportFiller(JRFiller.java:272) ~[jasperreports-6.6.0.jar:6.6.0]
INFO   | jvm 1    | main    | 2021/07/09 12:07:28.677 |  at net.sf.jasperreports.engine.fill.JRFiller.fill(JRFiller.java:156) ~[jasperreports-6.6.0.jar:6.6.0]
INFO   | jvm 1    | main    | 2021/07/09 12:07:28.677 |  at net.sf.jasperreports.engine.JasperFillManager.fill(JasperFillManager.java:603) ~[jasperreports-6.6.0.jar:6.6.0]
INFO   | jvm 1    | main    | 2021/07/09 12:07:28.678 |  at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:951) ~[jasperreports-6.6.0.jar:6.6.0]
INFO   | jvm 1    | main    | 2021/07/09 12:07:28.678 |  at com.sap.cd.mdd.core.report.strategy.impl.JasperReportGenerationStrategyImpl.generateCreditMemo(JasperReportGenerationStrategyImpl.java:92) ~[mddcoreserver.jar:?]
INFO   | jvm 1    | main    | 2021/07/09 12:07:28.678 |  at com.sap.cd.mdd.core.report.service.impl.ReportGeneratorServiceImpl.generateCreditMemo(ReportGeneratorServiceImpl.java:68) ~[mddcoreserver.jar:?]
INFO   | jvm 1    | main    | 2021/07/09 12:07:28.678 |  at com.sap.cd.mdd.facades.report.impl.ReportGeneratorFacadeImpl.generateCreditMemo(ReportGeneratorFacadeImpl.java:44) ~[mddfacadesserver.jar:?]
INFO   | jvm 1    | main    | 2021/07/09 12:07:28.678 |  at com.sap.cd.mdd.backoffice.report.actions.report.generate.CreditMemoGenerateAction.perform(CreditMemoGenerateAction.java:45) ~[?:?]
INFO   | jvm 1    | main    | 2021/07/09 12:07:28.678 |  at com.hybris.cockpitng.actions.impl.DefaultActionRenderer.perform(DefaultActionRenderer.java:241) ~[cockpitframework-19.05.15-RC2.jar:?]
INFO   | jvm 1    | main    | 2021/07/09 12:07:28.678 |  at com.hybris.cockpitng.actions.impl.DefaultActionRenderer.performWithConfirmationCheck(DefaultActionRenderer.java:261) ~[cockpitframework-19.05.15-RC2.jar:?]
INFO   | jvm 1    | main    | 2021/07/09 12:07:28.678 |  at com.hybris.cockpitng.actions.impl.DefaultActionRenderer.lambda$createEventListener$5(DefaultActionRenderer.java:454) ~[cockpitframework-19.05.15-RC2.jar:?]




Read more...

Environment

CX on Commerce Cloud v1 - CCv1 (possibly CCv1.2)


Keywords

invoice
fonts
font
NoClassDefFoundError
jasperreports
, KBA , CEC-COM-ADM-BO , Backoffice , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.