cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to open designer 0.7.0

mpradny
Champ in-the-making
Champ in-the-making
Hi,

I'm setting up fresh eclipse for Activiti and I'm not able to Activity Designer to work.

Windows2003, Eclipse Helios SR 1 Classic.

When I install Activity designer from update site and try to open a process a I get

org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1DiagnosticWrappedException: org.eclipse.emf.ecore.xmi.PackageNotFoundException: Package with uri 'http://www.omg.org/spec/BPMN/20100524/MODEL' not found. (platform:/resource/activiti-engine-examples/src/main/process/org/activiti/examples/adhoc/Expense_process.bpmn20.xml, 5, 95)
   at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.handleDemandLoadException(ResourceSetImpl.java:315)
   at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:274)
   at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:397)
   at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getEObject(ResourceSetImpl.java:216)
   at org.eclipse.graphiti.ui.editor.DiagramEditorInput.getEObject(DiagramEditorInput.java:676)
   at org.eclipse.graphiti.ui.editor.DiagramEditorInput.setEditorEditingDomain(DiagramEditorInput.java:571)
   at org.eclipse.graphiti.ui.editor.DiagramEditorInput.<init>(DiagramEditorInput.java:268)
   at org.eclipse.graphiti.ui.editor.DiagramEditorFactory.createEditorInput(DiagramEditorFactory.java:76)
   at org.activiti.designer.eclipse.editor.ActivitiMultiPageEditor.init(ActivitiMultiPageEditor.java:150)
   at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:798)
….

I've checked uri registration and it seems ok:
Entry element:      URI
Location:         xsd\BPMN20.xsd in jar file D:\temp\eclipse\plugins\org.activiti.designer.eclipse_0.7.0.jar
URI:               jar:file:/D:/temp/eclipse/plugins/org.activiti.designer.eclipse_0.7.0.jar!/xsd/BPMN20.xsd
Key type:         Namespace name
Key:            http://www.omg.org/spec/BPMN/20100524/MODEL

What can be wrong?

Martin
9 REPLIES 9

qiozas
Champ in-the-making
Champ in-the-making
Hi Martin,

I have exactly the same problem  :?

Have you solved this problem?

I use:
- SUN JVM 1.6.0_18
- Eclipse Helios 3.6.1 (clean installation)
- Debian Lenny

UPDATE:
This problem exists only when I try to open BPMN files of default examples. If I create a new Activiti project and create a new BPMN file, then the designer works fine Smiley Happy
I will try to correct the examples and give feedback.

Thanks in advance.

mpradny
Champ in-the-making
Champ in-the-making
You are right. If I start with clean project and diagram it works. Originally I was just trying to open examples or diagrams exported from Modeler.

There has to be some problem with xml headers, but I haven't checked it yet. Just from first glimse they are different

Martin

sascha1
Champ in-the-making
Champ in-the-making
The problem also occurs if I import a maven-project exported form Modeler.

Is there any workaround?

Sascha

sgeorges
Champ in-the-making
Champ in-the-making
Hi,

I have the exact same issue. How did you manage to fix?

Thank you

trademak
Star Contributor
Star Contributor
Do you use version 5.7.0?
Because there was a fix implemented for this in that version.

Best regards,

mpradny
Champ in-the-making
Champ in-the-making
It seems to work fine now.

mhw
Champ in-the-making
Champ in-the-making
Hi,

I have exactly the same issue with the 5.7.0 How can I fix it?

Michael

trademak
Star Contributor
Star Contributor
Hi,

Which BPMN XML file are you importing?

Best regards,

code_expert
Champ in-the-making
Champ in-the-making
Its mentioned on activiti.org that

Required software

JDK 5+
Ant 1.8.1+
Eclipse 3.6.2

and Go to Help -> Install New Software. In the following panel, click on Add button and fill in the following fields:
Name: Activiti BPMN 2.0 designer
Location: http://activiti.org/designer/update/


But I was not able to Integrate Activiti Designer with Eclipse. The Activiti link was not coming up under 'Windows—> Preferances' tab.


Solution:

The solution is that you need to have Java 1.6 + to do this….When we integrate using 'Install New Software', Eclipse downloads some pluggins. These pluggin jars are created using Java 1.6.0_24+ . Please change your JAVA_HOME and path variable in system variable to Java 1.6+……….

IT will work……..