Modeler is not cleaning up the XML/BPMN file after some deletions: any hint?

157 views
Skip to first unread message

Thiago Colares

unread,
Jan 23, 2014, 9:26:40 AM1/23/14
to camunda-...@googlegroups.com
Hi!

I'm working on a kinda of complex process (about 14 items, including activities, events, and gateways). After some modeling cycles, I've noticed an error has being thrown every time while opening Camunda Modeler (Eclipse).

Inline image 1

Then I've noticed that even after deleting ALL elements of the process definition, the Modeler was leaving behing some garbage in the .bpmn (xml) file. 

Is there a general approach I should avoid to overcome this? For example, when I delete an Activity, does its bound sequence flows vanishes from the graph, by remains in the XML?

What do you think? Does anyone else has experimented something like that?

Kind regards!

--
Thiago Colares
error-camunda.jpg

Michael Schöttes

unread,
Jan 23, 2014, 9:58:37 AM1/23/14
to camunda-...@googlegroups.com, thi...@apimenti.com.br
Hi Thiago,

this is a more or less known bug in the modeler https://app.camunda.com/jira/browse/CAM-1568. Up to now we don't know exactly why this happens. Fortunately you can use Eclipse local history to reopen a previous version of the damaged diagram. 

Cheers,
Michael

Thiago Colares

unread,
Jan 23, 2014, 10:08:25 AM1/23/14
to camunda-...@googlegroups.com
Hi Michael,

I've seen this ticket by "googling", but I was not sure if the case / error were the same. I'll watch this anyway, thank you for that. My Eclipse local history's not helping me: any past version returns the same error after it ocurrs, even knowning that I had no error state at some point.

I'll try to reproduce it and take note of everything I can to help on understing and solving that thing.

Regards,


--
Thiago Colares


--
You received this message because you are subscribed to the Google Groups "camunda BPM users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to camunda-bpm-us...@googlegroups.com.
To post to this group, send email to camunda-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/camunda-bpm-users/f7bb52da-623f-47e6-9a08-e29d9552d146%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Thiago Colares

unread,
Jan 23, 2014, 2:01:28 PM1/23/14
to camunda-...@googlegroups.com
Hi Michael,

This is what is happening (as I was guessing at the first email): When I delete a Task, its bound sequence flows vanishes from the graph, BUT they parcially remains in the XML!!

Regards!


--
Thiago Colares

Nico Rehwaldt

unread,
Jan 24, 2014, 2:50:22 AM1/24/14
to camunda-...@googlegroups.com, thi...@apimenti.com.br
Hi Thiago, 

we receive this report from time to time but it seems impossible to really track it down.
I followed your attached steps on windows 7 / latest camunda Modeler / Java 7 as well as Ubuntu 12 / latest camunda Modeler / Java 7 but had no luck.

Just to make sure: You do not reopen the diagram but restart eclipse which restores the diagram?

Regards
Nico


Thiago Colares

unread,
Jan 24, 2014, 4:20:35 AM1/24/14
to camunda-...@googlegroups.com
Hi Nico,

"You do not reopen the diagram but restart eclipse which restores the diagram?"
Yes, that's it.

Well, this kind of error is really tricky then! :(

While working on a more complex process definition (more than that one I reported), I noticed that the error was thrown almost unpredictably (always after reopening the Eclipse). So when it happens, I revert it to a non-error version from Eclipse local history or the git commits log, then kept on modeling. In my understanding, the XML was already "dirty" after too many deletions.

So, I created a fresh new workspace path (without git too) and a new project from scratch, and then a new simple process definition. So the error occurred again (that's what I reported). 

* Is there a fingerprint of my env / Eclipse I can build up and send to you?
* Should I also send a chunk of the Eclipse log?
* I can even make a screencast while creating a new process from scratch.

King regards!

P.S.: Yesterday I have to clean up my entire BPMN file manually. It was just a nightmare: 1 error and about 34 warnings!! hahaha It was a mess, with a lot of orphans SequenceFlows and Taks etc.. Now all the warnings and error are gone, and I also deployed it to server :)
 My teammates said: "So! All you have to do now is: DO NOT delete a thing! Be sharp, make correct modeling, no mistakes!" hahahaha!! I'm still saving (and commiting) each step and keeping my eye on the BPMN file myself.





--
Thiago Colares


--
You received this message because you are subscribed to the Google Groups "camunda BPM users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to camunda-bpm-us...@googlegroups.com.
To post to this group, send email to camunda-...@googlegroups.com.

Nico Rehwaldt

unread,
Jan 28, 2014, 3:48:05 AM1/28/14
to camunda-...@googlegroups.com, thi...@apimenti.com.br
Hi Thiago, 

Wow. The bug does never occure on my machine but it seems to be a big deal for you guys.

There are a few hints on how you may debug the problem once you saw it occuring:
  • go to Help > About > Installation Details > Configuration
  • check the error log (View Error Log)  for stack traces
    • If you found anything (NullPointerException, ...) ...
  • read the configuration descriptor for details on your installation environment and installed plugins. Most important are 
    • operating system
    • eclipse version (a specific bundle?)
    • java version (6/7,32/64bit/oracle/openJDK)
  • Screenshot the list of installed software available via Help > About > Installation Details > Installed Software
Send over the information to us. This should give us a chance to reproduce the bug.

Regards
Nico

Joao Paulo Rabelo

unread,
Jan 29, 2014, 7:54:48 AM1/29/14
to camunda-...@googlegroups.com, camunda-...@googlegroups.com, thi...@apimenti.com.br
I had this same kind of error too. When I've done much cosmetic adjustments and/or I've done much deletions on my project, I had to remove the garbage on XML by hand. 

At the end, I was modeling in a paper (or using the bizagi) and putting on camunda only when I was sure about my model. 

It's a quite painful bug. My configs are: eclipse Kepler on OS X 10.9 with Java 7. 

Sent from Mailbox for iPhone


--
You received this message because you are subscribed to the Google Groups "camunda BPM users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to camunda-bpm-us...@googlegroups.com.
To post to this group, send email to camunda-...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages