Orbeon Forms Submit PDF to external service error

21 views
Skip to first unread message

Ádám Dobó

unread,
Jun 18, 2024, 12:52:25 PMJun 18
to Orbeon Forms
Hi,

I am trying to submit a pdf-binary to my external local service from a docker container running tomcat and Orbeon Forms application. However when clicking on the submit button I get the following error in the logs.
 ERROR XFormsServer - xforms-submit-error - class org.orbeon.saxon.value.StringValue cannot be cast to class org.orbeon.saxon.om.NodeInfo (org.orbeon.saxon.value.StringValue and org.orbeon.saxon.om.NodeInfo are in unnamed module of loader org.apache.catalina.loader.ParallelWebappClassLoader @b4711e2)
|An Error has Occurred                                                                                                 |
|----------------------------------------------------------------------------------------------------------------------|
|[No error message provided.]                                                                                          |
|----------------------------------------------------------------------------------------------------------------------|
|Application Call Stack                                                                                                |
|----------------------------------------------------------------------------------------------------------------------|
|----------------------------------------------------------------------------------------------------------------------|
|Exception: org.orbeon.oxf.xforms.action.XFormsAPI$SubmitException    |

My submit process has the following configuration.
<property as="xs:string" name="oxf.fr.detail.process.submit.*.*">
require-valid
then send(
uri = "uri is here",
method = 'POST',
content = 'pdf'
)
</property>

Tomcat image version is tomcat:10-jdk17 and using Orbeon Forms PE 2023.1.

Thanks for your help.

Adam

Alessandro Vernet

unread,
Jun 18, 2024, 5:11:42 PMJun 18
to orb...@googlegroups.com
Hi Adam,

This looks like issue #6328, which is fixed in version 2023.1.3, released last week. Since you are using Orbeon Forms PE, could you try upgrading to that version to see if it solves the problem? 

https://github.com/orbeon/orbeon-forms/issues/6328

-Alex

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to orbeon+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/d6412094-f7bf-4033-94d4-ba836f5a0236n%40googlegroups.com.

Ádám Dobó

unread,
Jun 19, 2024, 4:39:12 PMJun 19
to Orbeon Forms
Hi,

Thanks for the fast response. After upgrading to the latest version, the issue is resolved.

All the best,
Adam

Alessandro Vernet

unread,
Jun 19, 2024, 4:50:04 PMJun 19
to orb...@googlegroups.com
Excellent Adam, and thank you for the confirmation.

-Alex

Reply all
Reply to author
Forward
0 new messages