This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 94847 - ClassCastException when terminating process instance
Summary: ClassCastException when terminating process instance
Status: VERIFIED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL Debugger (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Alexander Zgursky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-07 14:25 UTC by Mikhail Kondratyev
Modified: 2007-04-26 12:33 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mikhail Kondratyev 2007-02-07 14:25:45 UTC
Steps to reproduce:
 - start debugging a BPEL process
 - make it stop on a breakpoint
 - open BPEL Process Instances window, select process instance and click
Terminate in context menu
Exception will be thrown:
java.lang.ClassCastException: $Proxy53 cannot be cast to
com.sun.jbi.engine.bpel.core.bpms.bpelImpl.runtime.debug.BPELProcessInstanceRefImpl
	at
com.sun.jbi.engine.bpel.core.bpms.bpelImpl.runtime.debug.VirtualBPELEngineImpl.terminatePI(VirtualBPELEngineImpl.java:92)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at
org.netbeans.modules.bpel.debuggerbdi.rmi.wp.impl.DefaultRMIService$RMIServerImpl$ObjectAdapterImpl$InvokerImpl.run(DefaultRMIService.java:1648)
	at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
[catch] at java.lang.Thread.run(Thread.java:619)
Comment 1 Alexander Zgursky 2007-02-07 15:02:39 UTC
This issue is caused by a bug in BPELSE (see Bugster CR#6522361). We can either
wait until it's fixed in BPELSE or disable a feature on our side.
Comment 2 Sergey Lunegov 2007-02-09 10:29:10 UTC
Can't fix until bug in runtime will be delivered
Comment 3 Alexei Mokeev 2007-03-05 17:27:35 UTC
Removed Beta EP551_WAIVER_APPROVED keyword - we are going forward to FCS.
Comment 4 Alexander Zgursky 2007-04-22 19:03:27 UTC
Fixed in trunk:
Checking in debuggerbdi/external/bdi.jar;
/cvs/enterprise/bpel/debuggerbdi/external/bdi.jar,v  <--  bdi.jar
new revision: 1.3; previous revision: 1.2
done
Checking in
debugger/src/org/netbeans/modules/bpel/debugger/bdiclient/impl/ProcessInstanceImpl.java;
/cvs/enterprise/bpel/debugger/src/org/netbeans/modules/bpel/debugger/bdiclient/impl/ProcessInstanceImpl.java,v
 <--  ProcessInstanceImpl.java
new revision: 1.6; previous revision: 1.5
Comment 5 Oleg Barbashov 2007-04-26 12:33:26 UTC
Build 200704260000. Fix is confirmed.