Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 324115

Summary: BPEL Editor does not start if extensionActivity is not defined
Product: z_Archived Reporter: Robert Brodt <bbrodt>
Component: BPELAssignee: BPEL Model Inbox <bpel.model-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: igor.novakovic
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Robert Brodt CLA 2010-08-31 13:44:38 EDT
I tried importing a BPEL source file that has extension activities defined, but the editor plugin did not contain serializer/deserializer classes or definitions for the extension activities. This caused an NPE during construction of the grapical EditParts.

This is unacceptable behavior - the editor should be able to display the parts of the process that are valid and create error markers for the missing extensions.

Also, the examples illustrate a "structured extension activity" which behaves like a <sequence>, i.e. a container for 1 or more activities. This requires a model change because the ExtensionActivity model object does not have an "activities" container.
Comment 1 Robert Brodt CLA 2010-08-31 13:44:59 EDT
This has already been reported in https://jira.jboss.org/browse/JBIDE-6917
Comment 2 Robert Brodt CLA 2010-08-31 17:25:55 EDT
OK, I was mistaken about a required model change. I did not notice that the extension model in the org.eclipse.bpel.extensionsample.model plugin included an "activity" structural feature for the SampleStructuredActivity EObject.

However, this did require a change in org.eclipse.bpel.model.ReconciliationHelper.getActivity() which has to search the extension activity model object for an "activity" feature. It is assumed that this contains the enclosed Activity object for container activities.
Comment 3 Igor Novakovic CLA 2010-09-17 04:55:35 EDT
I can confirm that this works now.
Comment 4 Robert Brodt CLA 2010-09-17 09:07:24 EDT
Verified and closed