Error When Printing a Document with XSL Formatted Date Attributes [There was an error during print. Please see print logs.]

(Doc ID 2388137.1)

Last updated on APRIL 25, 2018

Applies to:

Oracle BigMachines CPQ Cloud Service - Version 17 D and later
Information in this document applies to any platform.

Symptoms

When a document contains XSL code for a date attribute using the format listed below, it will generate errors.

When printing this document in a quote, an unknown error will be generated:

An unknown error(class com.bm.xchange.util.BMSystemException)has occurred. Please contact your system administrator.
To help us track this error, please note the date and time in your report:2018-04-24 16:31:33.

 

When previewing this document directly in document designer, an error shows up:

There was an error during print. Please see print logs.

 

In error log of the site, the error is:

24 Apr 2018 16:31:33,977 [ERROR] com.bm.xchange.util.XslErrorHandler.error(XslErrorHandler.java:45) - XSL Transformer Exception occurred
; Line#: 634; Column#: 233
javax.xml.transform.TransformerException: java.lang.NoSuchMethodException: For extension function, could not find method com.bm.xchange.services.templateengine.utils.TePrintUtil.convertDBToPattern([ExpressionContext,] #NODESET, #STRING, #STRING, #STRING, #STRING, #STRING).
Checked both static and instance methods.

Changes

The site was recently upgraded to 17D or later versions.

Cause

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