-
1. Re: Migrating jbpm.varmapping from 3.0.1 to 3.1
fallow Apr 27, 2006 1:34 PM (in response to fallow)For more reference following is my jbpm.varmapping.xml that contains a second byte[] mapped to a random class letter ([Z) that throws the error:
couldn't parse 'list' into a 'org.jbpm.configuration.ListInfo':
<?xml version="1.0" encoding="UTF-8"?>
<!-- java.lang.String -->
<jbpm-type>
<variable-instance class="org.jbpm.context.exe.variableinstance.StringInstance"/>
</jbpm-type>
<!-- java.lang.Boolean -->
<jbpm-type>
<variable-instance class="org.jbpm.context.exe.variableinstance.StringInstance"/>
</jbpm-type>
<!-- java.lang.Character -->
<jbpm-type>
<variable-instance class="org.jbpm.context.exe.variableinstance.StringInstance"/>
</jbpm-type>
<!-- java.lang.Long -->
<jbpm-type>
<variable-instance class="org.jbpm.context.exe.variableinstance.LongInstance"/>
</jbpm-type>
<!-- java.lang.Byte -->
<jbpm-type>
<variable-instance class="org.jbpm.context.exe.variableinstance.LongInstance"/>
</jbpm-type>
<!-- java.lang.Short -->
<jbpm-type>
<variable-instance class="org.jbpm.context.exe.variableinstance.LongInstance"/>
</jbpm-type>
<!-- java.lang.Integer -->
<jbpm-type>
<variable-instance class="org.jbpm.context.exe.variableinstance.LongInstance"/>
</jbpm-type>
<!-- java.lang.Double -->
<jbpm-type>
<variable-instance class="org.jbpm.context.exe.variableinstance.DoubleInstance"/>
</jbpm-type>
<!-- java.lang.Float -->
<jbpm-type>
<variable-instance class="org.jbpm.context.exe.variableinstance.DoubleInstance"/>
</jbpm-type>
<!-- java.util.Date -->
<jbpm-type>
<variable-instance class="org.jbpm.context.exe.variableinstance.DateInstance"/>
</jbpm-type>
<!-- byte[] -->
<jbpm-type>
<variable-instance class="org.jbpm.context.exe.variableinstance.ByteArrayInstance"/>
</jbpm-type>
<!-- byte[] -->
<jbpm-type>
<variable-instance class="org.jbpm.context.exe.variableinstance.ByteArrayInstance"/>
</jbpm-type>
<!-- java.io.Serializable -->
<jbpm-type>
<variable-instance class="org.jbpm.context.exe.variableinstance.ByteArrayInstance"/>
</jbpm-type>
<!-- hibernatable long id types -->
<jbpm-type>
<variable-instance class="org.jbpm.context.exe.variableinstance.HibernateLongInstance"/>
</jbpm-type>
<!-- hibernatable string id types -->
<jbpm-type>
<variable-instance class="org.jbpm.context.exe.variableinstance.HibernateStringInstance"/>
</jbpm-type>
<!-- hibernatable ejb3 types -->
<jbpm-type>
<variable-instance class="org.jbpm.context.exe.variableinstance.Ejb3Instance"/>
</jbpm-type> -
2. Re: Migrating jbpm.varmapping from 3.0.1 to 3.1
fallow Apr 27, 2006 3:33 PM (in response to fallow)I think I have this figured out. There were two issues...
First the jbpm.converter.properties did not have one of the new entries needed, so when I ported over the old 3.0.1 version it was missing an entry. This caused the "list" element to fail to build properly.
The second issue I had was the class name used in varmappings. It should be [Ljava.lang.Long; not just [L
Fallow