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

Bug 406080

Summary: Eclipse freezes when I open any bpmn process
Product: [SOA] BPMN2Modeler Reporter: Ivo Bek <ibek>
Component: CoreAssignee: Robert Brodt <bbrodt>
Status: VERIFIED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: jomarko
Version: unspecified   
Target Milestone: future   
Hardware: PC   
OS: Linux   
Whiteboard:
Bug Depends on: 153936    
Bug Blocks:    
Attachments:
Description Flags
sample bpmn process none

Description Ivo Bek CLA 2013-04-19 08:18:01 EDT
I use JBDS 6.0.1.GA installation with following plugins:

EMF Validation Framework SDK
BPMN2 modeler
Drools and JBPM plugin

I use Archlinux x64, I even tried different java development kits - jdk1.6.0_43, jdk1.7.0, openjdk 1.7 but nothing helped. At work I use Fedora, where the bpmn2 modeler worked, so I guess the bug depends on OS - Archlinux.

I only open a bpmn process from jbpm example project and the eclipse instance freezes.
Comment 1 Ivo Bek CLA 2013-04-19 08:37:00 EDT
Created attachment 229907 [details]
sample bpmn process

After I open a bpmn process and restart jbds, Error log contains following warnings:

Constraint "org.eclipse.bpmn2.modeler.core.validation.warning" could not find target EMF type "BPMNDiagram."

Constraint "org.eclipse.bpmn2.modeler.core.validation.error" could not find target EMF type "BPMNDiagram."
Comment 2 Robert Brodt CLA 2013-05-06 13:09:15 EDT
Unable to reproduce this error with the attached sample process. Can you please retest with latest version?
Comment 3 Ivo Bek CLA 2013-05-08 09:28:11 EDT
Hi Robert,

I updated bpmn2 modeler but nothing changed. Still freezes when I open any bpmn2 process. Maybe it's just a problem of some system library because I didn't update system some time. So if it works well for you on Archlinux that's fine and I will try to update everything I can.
Comment 4 Robert Brodt CLA 2013-05-08 09:52:58 EDT
Thanks Ivo. I have not tested with Archlinux yet. I'll have to create a new VM and install the OS. This will probably take some time because I am currently working on graphiti 0.10.0 migration for kepler.

If you have some time, it would help if you could provide some more details about where eclipse seems to be getting stuck.
Comment 5 Robert Brodt CLA 2013-07-16 15:38:52 EDT
I have tested with ArchLinux 2013.07.01 in a VMWare(R) VM and verified that this is indeed a problem. After debugging, it looks like eclipse is blocking in a native library method named OS.gtk_enumerate_printers. After some research, this appears to be related to https://bugs.eclipse.org/bugs/show_bug.cgi?id=153936. A similar problem was reported for Open Office on ArchLinux here https://bbs.archlinux.org/viewtopic.php?id=50439 so, I'm not sure if this is specific to eclipse or ArchLinux in general.

I also tried simply printing a text file in eclipse and this produced the same type of behavior. I'm not sure how to proceed, but this is not a BPMN2 Modeler specific problem...
Comment 6 Ivo Bek CLA 2014-04-27 10:24:41 EDT
To workaround the problem it is enough to add "-Dorg.eclipse.swt.internal.gtk.disablePrinting" into studio/jbdevstudio.ini as it is mentioned here https://bugs.eclipse.org/bugs/show_bug.cgi?id=153936
Comment 7 Jozef Marko CLA 2016-09-16 04:45:30 EDT
Not more reproducible.
Comment 8 Jozef Marko CLA 2016-09-16 04:45:42 EDT
Verified on   BPMN2 Modeler - 1.2.5.Final-v20160831-1132-B114