My Oracle Support Banner

getWebForm(formObject, "PDF") function erroring randomly until a server restart (Doc ID 2444791.1)

Last updated on SEPTEMBER 27, 2018

Applies to:

Oracle Process Cloud Service - Version N/A to N/A
Information in this document applies to any platform.

Symptoms

When using the getWebform function (such as getWebForm(formObject, "PDF")) it may randomly fail after some time  until a server restart with the following error:

oracle.bpm.bpmn.engine.model.runtime.microinstructions.TrappableException: faultName: {{http://schemas.oracle.com/bpel/extension}subLanguageExecutionFault}
messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage}
cause: {XPath expression failed to execute.
An error occurs while processing the XPath expression; the expression is bpm:getWebform(bpmn:getDataObject('submitFormDataObject'), 'PDF').
The XPath expression failed to execute; the reason was: ORABPEL-77008

Web form snapshot error.
Web form snapshot error.
Error occurred while taking snapshot for form submitForm. Payload mapping to the form failed
Contact oracle support to resolve the issue.
.
Check the detailed root cause described in the exception message text and verify that the XPath query is correct.
}




In the logs we see the below error:

[2018-03-14T14:32:31.272+00:00] [soa_server1] [ERROR] [] [com.frevvo.forms.web.ApplicationContainer] [tid: [ACTIVE].ExecuteThread: '12' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: tester@oracle.com] [ecid: e6151d3d-3bb8-4166-bb4e-bd373d457bb6-0013a1e2,1:21763:124] [APP: frevvo] [oracle.soa.tracking.FlowId: 70074] [oracle.soa.tracking.InstanceId: 70219] [oracle.soa.tracking.SCAEntityId: 80012] [FlowId:
0000M8^vJMwF0FF_R1_Aid1QZ^zk00006T] Application Error[[
java.lang.RuntimeException: javax.servlet.ServletException: Could not generate PDF
..
Caused by: java.io.IOException:
/tmp/frevvo__veM4oBeOEeiVUcFaocHCWw.tmp/fonts/WEB-INF/fonts/DejaVuSerifCondens
ed-Italic.ttf not found as file or resource.
at com.lowagie.text.pdf.RandomAccessFileOrArray.<init>(Unknown Source)
at com.lowagie.text.pdf.RandomAccessFileOrArray.<init>(Unknown Source)
at org.xhtmlrenderer.pdf.TrueTypeUtil.populateDescription(TrueTypeUtil.java:93)
at org.xhtmlrenderer.pdf.ITextFontResolver.addFont(ITextFontResolver.java:171)
... 123 more

]]

 

For reference, the feature is described in the documentation here:

https://docs.oracle.com/en/cloud/paas/process-cloud/user/associating-and-manipulating-data.html#GUID-315E5A74-B7A9-4F07-A71A-58EFF22A4EDD

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.