Bug 778380 (SOA-863)

Summary: jBPM example: customTaskInstance fails with classcast exception
Product: [JBoss] JBoss Enterprise SOA Platform 4 Reporter: nwallace <nwallace>
Component: JBPM - within SOAAssignee: Tom Baeyens <mail>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 4.2 GA   
Target Milestone: ---   
Target Release: 4.2 CP03   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-863
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-12-11 15:28:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description nwallace 2008-09-25 20:10:39 UTC
Date of First Response: 2008-09-29 03:16:43
project_key: SOA

Platform JIRA for project JIRA:  http://jira.jboss.com/jira/browse/JBPM-1156

Comment 1 nwallace 2008-09-25 20:10:39 UTC
Link: Added: This issue depends JBPM-1156


Comment 2 nwallace 2008-09-25 20:11:14 UTC
Link: Added: This issue is related to SOA-484


Comment 3 nwallace 2008-09-25 20:11:52 UTC
Can we have confirmation that fixes are in place for 4.2CP03.

Comment 4 Tom Baeyens 2008-09-29 07:16:43 UTC
related case JBPM-1156 is closed, so i think this can be closed too.  no ?

this fix will be in the jBPM 3.3.0.GA release of Nov 1st.

Comment 5 Julian Coleman 2008-11-03 14:59:49 UTC
Fixed in revision 2275 of:

  build-tools/dependencies.properties.

Commit message:

> Update Drools and jBPM to:
> 
>   https://svn.jboss.org/repos/labs/labs/jbossrules/soa_tags/4.3.0.GA_IR1/
>   https://svn.jboss.org/repos/jbpm/jbpm3/branches/jpdl-3.2.2-SOA-4.2/
> 
> Fixes:
> 
>   SOA-839 (Drools)
>   SOA-845 (Drools)
>   SOA-863 (jBPM)
>   SOA-864 (jBPM)
>   SOA-894 (Drools and jBPM versions)


Comment 6 Dana Mison 2008-11-25 07:43:45 UTC
Release Note:
The jBPM example: customTaskInstance was failing with a classcast exception.  This has been fixed.

Comment 7 Len DiMaggio 2008-12-11 15:28:32 UTC
Verified fixed in 4.2 CP03 CR5

[ldimaggi@ldimaggi customTaskInstance]$ ant
Buildfile: build.xml

compile:
    [mkdir] Created dir: /opt/42_CP03_CR5/jboss-soa-p-standalone.4.2.0/jbpm-jpdl/examples/customTaskInstance/target/classes
    [javac] Compiling 3 source files to /opt/42_CP03_CR5/jboss-soa-p-standalone.4.2.0/jbpm-jpdl/examples/customTaskInstance/target/classes
     [copy] Copying 1 file to /opt/42_CP03_CR5/jboss-soa-p-standalone.4.2.0/jbpm-jpdl/examples/customTaskInstance/target/classes

compile.test:
    [mkdir] Created dir: /opt/42_CP03_CR5/jboss-soa-p-standalone.4.2.0/jbpm-jpdl/examples/customTaskInstance/target/test.classes
    [javac] Compiling 1 source file to /opt/42_CP03_CR5/jboss-soa-p-standalone.4.2.0/jbpm-jpdl/examples/customTaskInstance/target/test.classes
    [javac] Note: /opt/42_CP03_CR5/jboss-soa-p-standalone.4.2.0/jbpm-jpdl/examples/customTaskInstance/src/test/java/org/jbpm/taskinstance/CustomTaskInstanceTest.java uses unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.

test:
    [mkdir] Created dir: /opt/42_CP03_CR5/jboss-soa-p-standalone.4.2.0/jbpm-jpdl/examples/customTaskInstance/target/test.results/xml
    [junit] Running org.jbpm.taskinstance.CustomTaskInstanceTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 8.437 sec
[junitreport] Processing /opt/42_CP03_CR5/jboss-soa-p-standalone.4.2.0/jbpm-jpdl/examples/customTaskInstance/target/test.results/xml/TESTS-TestSuites.xml to /tmp/null906095512
[junitreport] Loading stylesheet jar:file:/opt/apache-ant-1.7.0/lib/ant-junit.jar!/org/apache/tools/ant/taskdefs/optional/junit/xsl/junit-frames.xsl
[junitreport] Transform time: 1182ms
[junitreport] Deleting: /tmp/null906095512

BUILD SUCCESSFUL
Total time: 16 seconds