Details
-
Bug Report
-
Resolution: Won't Fix
-
L3 - Default
-
None
-
7.13.0
-
None
Description
I can't get the "Native XML Variable Value" on this page https://docs.camunda.org/manual/7.4/user-guide/data-formats/xml/ to work.
When I follow the example 100% as is I get:
org.camunda.bpm.engine.ProcessEngineException: Cannot find serializer for value 'Value 'null ...
And when I add a
SpinXmlElement e = xmlValue.getValue();
before I set the variable to Camunda I get:
org.camunda.bpm.engine.ProcessEngineException: Cannot find serializer for value 'Value '<?xml version="1.0" encoding="UTF-8"?><customer xmlns="http:\/\/camunda.org/example" name="Jonny"> <address> <street>12 High Street</street> <postCode>1234</postCode> </address> </customer> ' of type 'xml', isTransient=false'. at org.camunda.bpm.engine.impl.variable.serializer.DefaultVariableSerializers.findSerializerForValue(DefaultVariableSerializers.java:88) ~[camunda-engine-7.13.0.jar:7.13.0]
I use it in a DelegateExpression perfectly like the example suggests.
Here are the snippeds of my POM:
<dependency> <groupId>org.camunda.bpm</groupId> <artifactId>camunda-bom</artifactId> <version>7.13.0</version> <scope>import</scope> <type>pom</type> </dependency> <dependency> <groupId>org.camunda.spin</groupId> <artifactId>camunda-spin-bom</artifactId> <scope>import</scope> <type>pom</type> <version>1.9.0</version> </dependency> [...] <dependency> <groupId>org.camunda.bpm.springboot</groupId> <artifactId>camunda-bpm-spring-boot-starter</artifactId> <version>7.13.0</version> </dependency> <dependency> <groupId>org.camunda.bpm</groupId> <artifactId>camunda-engine-cdi</artifactId> </dependency> <dependency> <groupId>org.camunda.bpm</groupId> <artifactId>camunda-engine-plugin-spin</artifactId> <version>7.13.0</version> </dependency> <dependency> <groupId>org.camunda.spin</groupId> <artifactId>camunda-spin-core</artifactId> </dependency> <dependency> <groupId>org.camunda.spin</groupId> <artifactId>camunda-spin-dataformat-xml-dom</artifactId> </dependency> <dependency> <groupId>org.camunda.spin</groupId> <artifactId>camunda-spin-dataformat-json-jackson</artifactId> </dependency> <dependency> <groupId>com.fasterxml.jackson.datatype</groupId> <artifactId>jackson-datatype-jdk8</artifactId> </dependency> <dependency> <groupId>org.camunda.template-engines</groupId> <artifactId>camunda-template-engines-freemarker</artifactId> </dependency>
We use Java 11 Open JDK.
I hope this information is sufficient.