Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 324115 - BPEL Editor does not start if extensionActivity is not defined
Summary: BPEL Editor does not start if extensionActivity is not defined
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BPEL (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: BPEL Model Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-31 13:44 EDT by Robert Brodt CLA
Modified: 2022-10-03 11:11 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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