Red Hat Bugzilla – Bug 818193
ClassCastException after process start with Oracle 11g
Last modified: 2016-09-20 01:16:17 EDT
Created attachment 581598 [details]
Description of problem:
See attached process diagram. When the process is started the LogStart script task is executed (the output can be found in server log) and after that, an exception occurs:
> java.lang.ClassCastException: org.jbpm.persistence.processinstance.BlobUserType$BlobImpl cannot be cast to oracle.sql.BLOB
MyTask is not listed in Personal Tasks and the process cannot be completed.
See attached server log for full exception stack trace and all the related error messages.
Version-Release number of selected component (if applicable):
with Oracle 11g R2
Steps to Reproduce:
1. configure the persistence unit used by gwt-console-server.war to use Oracle 11g database
2. start the server, import defaultPackage.SimpleProcess.bpmn2 into Guvnor and build defaultPackage
3. start SimpleProcess in jbpm-console
the exception should not occur
Created attachment 581599 [details]
Created attachment 581601 [details]
It seems like the problem is related to
The solution proposed there isn't applicable (I think), but it's a good start.
I've pushed the fix for this to the community 5.2.x branch.
See https://github.com/droolsjbpm/jbpm/commit/c1f829c38031866b4805a6c5486d0d4ac49ad153 for more information.
The fixed for this issue should be included in ER7. Please do verification on it.