XML Publisher Report With Pie Chart Error invoking 'chart_svg':'java.lang.NoClassDefFoundError

(Doc ID 1992454.1)

Last updated on MARCH 12, 2018

Applies to:

BI Publisher (formerly XML Publisher) - Version 12.1.3 to 12.1.3 [Release 12.1]
Information in this document applies to any platform.


On Oracle Applications 12.1.3, when attempting to run BIP Custom reports with a graph, the following error occurs:

 at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:176)
Caused by: oracle.xdo.parser.v2.XPathException: Extension function error: Error invoking 'chart_svg':'java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment'
  at oracle.xdo.parser.v2.XSLStylesheet.flushErrors(XSLStylesheet.java:1534)
  at oracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:521)
  at oracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:489)

The issue can be reproduced at will with the following steps:
1. Run XML Publisher Report which has a graph.


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms