Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Service Oriented Architecture Tools Platform (STP) » Problem with SequenceEdge display
Problem with SequenceEdge display [message #607602] Wed, 26 December 2007 15:01
Eclipse UserFriend
Originally posted by:

I want to generate bpmn_diagram file from an xml file. I based my plugin
on BPEL2BPMN example provided on STP BPMN repository. Everything works
fine until i want to take in account sequenceEdge.
In this case, I have an "Unhandled event loop exception" message caused by
a StackOverFlowException.

public List<View> parseAndGenerateFromFile() {

// creation des polls relatifs aux différents roles definis dans le
// processus
for (Role role : this.epfParser.getDescriptionRoles()) {

this.pools.put("main", this.addPool(process.getPresentationName()));

HashMap<String, Activity> bpmnReferencesMap = new HashMap<String,
Activity bpmnActivity = null;
// parcours des elements de premier niveau
for (BreakdownElement bde : process.getBreakdownElement()) {
if (bde instanceof org.eclipse.epf.uma._1._0.Activity) {
org.eclipse.epf.uma._1._0.Activity epfActivity =
(org.eclipse.epf.uma._1._0.Activity) bde;
bpmnActivity = this.addActivity(this.pools.get("main"),
bde.getPresentationName(), ActivityType.SUB_PROCESS);
// sauvegarde de la reference a l'activite bpmn creee
bpmnReferencesMap.put(epfActivity.getId(), bpmnActivity);
// parcours des predecesseus
------------------------------------------------------------ -------------------
if (epfActivity.getPredecessor().size() > 0) {
for (WorkOrder workOrder : epfActivity.getPredecessor()) {
.get(workOrder.getValue()), bpmnActivity, "");
------------------------------------------------------------ -------------------


List<View> res = new ArrayList<View>();
Map<EObject, View> sem2views = this.getSemantic2notationMap();
// pools renderer
for (Object pool : this.pools.values()) {
return res;

It's when i remove comments from code between -------- that exception
Parameters of addSequenceEdge are not null and have good values.
Does anyone have an idea on my problem ?
Previous Topic:BPMN parsing problem : feature not found
Next Topic:How do I install B2J?
Goto Forum:

Current Time: Sun Jan 17 17:02:46 GMT 2021

Powered by FUDForum. Page generated in 0.02061 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top