Picture of process not displayed in camunda cockpit

755 views
Skip to first unread message

Stefan Schulz

unread,
Jan 4, 2014, 4:44:55 PM1/4/14
to camunda-...@googlegroups.com
Hello.

I very often have the problem that a picture of a process which i deploy to camunda tomcat is not displayed in camunda cockpit while everything else about the process works fine (starting instances, ...). I do not have this problems when i use other modeling tools like Cubetto for IPad. Is there anything i have to pay special attention to which i might not have thought about?

Thank you,
Stefan

Stefan Schulz

unread,
Jan 5, 2014, 6:23:12 AM1/5/14
to camunda-...@googlegroups.com
Hello again...

to make it more precise...working on the process in camunda modeler and then deploying it to camunda cockpit works fine up to a certain point, after which the picture of the process will no longer be displayed in the cockpit. This behaviour is reproducible for me (i changed between the two versions more than one time in my git repo). You can also see this behaviour in camunda share:

This is the version which still works:


This is the broken one (i cant see the picture of the process if i follow the link):


A hint would be very nice. It would also be cool if anyone can NOT reproduce the error (means: someone CAN see a picture in the second link), then i know there is something strange about my enviroment.

My system settings:

Mac OS 10.8.2
Chrome Browser (31.0.1650.63)
Eclipse Kepler + Camunda Modeler Plugin
Java 1.7.0_09
Maven 3.0.3

Greetings,
Stefan

Stefan Schulz

unread,
Jan 5, 2014, 11:54:45 AM1/5/14
to camunda-...@googlegroups.com
And once more...

I have the same problem under

Windows 7
Eclipse Juno + suitable camunda modeler plugin
java 1.6.0_25
maven 2.0.11

Here is the process i designed which the above tools/settings:


Again, no picture to see in camunda share/camunda cockpit with the following browsers:

- Chrome 31.0.1650.63
- Opera 12.11
- IE 11.0.9600.16428

Any idea anyone?

Bernd Rücker (camunda)

unread,
Jan 5, 2014, 12:39:07 PM1/5/14
to camunda-...@googlegroups.com

Hi Stefan.

 

Which version of camunda BPM are you using? Did you try with the latest alpha or maybe even a snapshot from HEAD? I remember there were some bugs fixed in the renderer…

 

Cheers

Bernd

Consultant & Evangelist (www.camunda.org/community/team.html)

We are hiring: http://www.camunda.org/community/jobs.html

--
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/68604cb2-29a5-407c-93d0-0696aa98f0d3%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

webcyberrob

unread,
Jan 5, 2014, 3:26:12 PM1/5/14
to camunda-...@googlegroups.com
Hi Stefan,

I may have had a similar problem...I have found that modeller can be a little buggy (still trying to ind definitive test case) and Ive had situations where some artefacts in the BPMN model are not rendered, stray links etc. Hence when you open you project in Eclipse do you get any warnings when loading your BPMN files? Alternately on deployment do you get any BPMN parsing exceptions in the engine console?

regards

Rob

webcyberrob

unread,
Jan 5, 2014, 3:40:02 PM1/5/14
to camunda-...@googlegroups.com
Stefan,

I had a look at the process which is corrupt. I noticed it renders fine in eclipse, however no PNG file is built and it does not render in share. I found a potential problem, you have two pools with the same name. When I changed the name of the pools such that they were different, then all is well. Perhaps you could raise a bug report in Jira if you can confirm this behaviour.

regards

Rob

Michael Schöttes

unread,
Jan 7, 2014, 9:04:55 AM1/7/14
to camunda-...@googlegroups.com
Hi Stefan,

can you please tell us which version of the camunda BPM platform you are using. I can reproduce the bug with camunda share but not with cockpit. With the latest version of our js-renderer the process will be displayed correctly. At first glance the bug is caused by the js-renderer. 
The renderer uses only the *.bpmn file and not *.png file created by eclipse.

Cheers
Michael 


Stefan Schulz

unread,
Jan 7, 2014, 4:00:28 PM1/7/14
to camunda-...@googlegroups.com
Hello, Michael.

I just tried with both camunda tomcat 7.0.0.Final and 7.1.0.Alpha1, and i discovered problems with both versions. Rob suggested that the problem is because i had two pools with the same name, fixing that helped at first. But that is not the whole problem. My situation is, that i have a process with i designed with the cubetto bpmn ipad app, and there is no problem displaying it in camunda cockpit. As soon as i add 2 or 3 tasks and one gateway using the camunda modeler, the cockpit stops displaying the process picture after redploying it. Im not able to determine the exact reason for that. I can only provide a before and after version in camunda share, as i already did before. Im using Mac OS here, i will try again tomorrow on work, where i have Win 7. I dont know if that could make a difference. Rob suggested to report this to jira, but at the moment, i do not have informations about the error which are exact enough to do that, i think. I will write again if i know more.

Greetings,
Stefan

Michael Schöttes

unread,
Jan 8, 2014, 1:40:30 AM1/8/14
to camunda-...@googlegroups.com
Hi Stefan,
   
   to clarify your workstep: 
   Both models where original created by cubetto bpmn ipad app. The working version was not imported into camunda Modeler and the broken version was imported and changed by camunda Modeler. Is this correct? 
   
   Did you rename the pools with camunda Modeler or directly in the bpmn file? Normally the naming of participants like pools, tasks, etc. is no cause of trouble. Maybe there is an interchange issue between cubetto and camunda Modeler. 
   Can you please send me the original cubetto file? 

   Cheers,
   Michael  

Stefan Schulz

unread,
Jan 8, 2014, 3:28:42 AM1/8/14
to camunda-...@googlegroups.com
Hello, Michael.

No. I created a (medium complex, i would say) model with cubetto on ipad and imported it into camunda modeler. Everything worked fine (in camunda modeler, camunda cockpit etc, so im not talking about any problems concerning cubetto), i only had to add candidate groups to my user tasks, as cubetto does not know about that. Then i added some elements like tasks and gateways using the camunda modeler and the picture of the process was not displayed any longer (while the process could be executed and there we no errors on deployment). I checked that at home on my mac using both camunda platform 7.0.0.Final and 7.1.0.Alpha, i had the error in both cases (picture not displayed). As i said yesterday, i just tried it on my pc at work where i have win 7. I did not expect a change, but right now, everything is working fine. The picture of the process is there in camunda cockpit. Here are the two versions, first one is the original cubetto file, second is the version edited by camunda modeler, which does not work at home (mac) but just now works on work (win7). I can also give my exact system settings (java, maven, ...) if yout want.

Original Cubetto:
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Opening that one in camunda modeler displays two errors concerning 2 elements not being assigned to a lane, so i now did the following things using camunda modeler (cubetto is no longer involved from here):

- removing the subprocess
- recreating it, wiring it up again (error and message boundary event, incoming and outgoing message flow)
- adding some elements to the sub process
- NO lanes, pool etc. were renamed

The result is this one:

Changed by Camunda modeler:
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

I right now can NOT see it in camunda share (using google chrome), and at home (on my mac), as i said, my camunda cockpit (also chrome), was NOT able to display the process. Nevertheless (as i also said), i do not have any problems at the moment using my work pc (win7) to display the process in camunda cockpit (also using google chrome).

Im sorry, this must be very confusing. I hope i could clarify it a bit more with this mail. I can give all further details about my working enviroment and other things if that helps.

Greetings,
Stefan

Michael Schöttes

unread,
Jan 8, 2014, 7:17:04 AM1/8/14
to camunda-...@googlegroups.com
Hi Stefan,

we recommend to use Eclipse Indigo for Mac OS, because of a known bug in the SWT Framework (https://bugs.eclipse.org/bugs/show_bug.cgi?id=383750). 
Maybe the issue is related to this bug. So please repeat the changes with this version of eclipse and try to deploy again.

Cheers,
Michael 

che...@gmail.com

unread,
Jan 17, 2014, 5:03:55 AM1/17/14
to camunda-...@googlegroups.com
Hi,

I use 7.0.0.Final camunda BPM with tomcat, and I have very same problem as Stefan does. Here is a sample BPMN model:
http://camunda.org/share/#/process/3fcf4ad3-f862-4fba-b679-327d1cc20600

After I added one user task and conditional sequence flow, I cannot see it in cockpit:
http://camunda.org/share/#/process/3eeabef5-faea-47a7-97c9-051849a6ae01

I can start process instance though, in cockpit it shows running instance, but click "Called Process Definition" it keeps loading. Version dropdown doesnot have value.

It took me a while to narrow down to conditional sequence flow.. (add it - not working, remove it - working) don't know what could be wrong here. Also tried eclipse indigo, but no luck.

If Stefan managed to resolve the problem could you share your solution?

Stefan Schulz

unread,
Jan 17, 2014, 6:19:54 AM1/17/14
to camunda-...@googlegroups.com, che...@gmail.com
Hello, Chenxee.

First of all, using Eclipse Indigo (as Michael recommended) helped me quite good if i want to deploy my processes to camunda cockpit. But in the meantime, im working
on a java swing client-server application, which does fairly the same for me as camunda cockpit if i want to test my processes i have designed with camunda modeler.
As this is working very good for me (and it is quite handy, because i dont have the redeploy the process if i run into an error - in fact, i dont even have to run a maven build
after i change a process with eclipse auto-build turned on), i have not worked with camunda cockpit for quite a while now. So i can not give you a real good advice concerning the
problem with both have. I thought about writing a post about my bpmn client here in the forum, but im not sure if there are people who want to use ist. However, i still have
some work to do before i do so. At the moment, it looks something like this (sorry, german gui only at them moment - and i stole the pizza collaboration process from bernds book):




Of course, im not planning to write something equal in quality and scope to camunda cockpit, but for the start, it helps my quite good to get a good feeling for modelling my processes
(and i did it because im very familar witht java swing - much more than with web applications). The main problem ist that i would have to write a documentation if i share the project,
and i dont know if i will find the time for that.

Cheers,
Stefan

Christian Lipphardt

unread,
Jan 17, 2014, 11:18:42 AM1/17/14
to camunda-...@googlegroups.com, che...@gmail.com
Hi Chenxee,

in 7.0.0.Final was a bug concerning the rendering of a default flow, which crashed camunda cockpit.
It has since been resolved ( https://app.camunda.com/jira/browse/CAM-1219 ) and works in 7.1.0-alpha1 now.

Cheers
Christian
Reply all
Reply to author
Forward
0 new messages