Error opening the editor: BpmnDiagramImpl cannot be cast to Association [message #374589] |
Thu, 28 February 2008 11:23 |
Eclipse User |
|
|
|
Originally posted by: jose.david.morenojuarez.nom.es
Hi all,
Yesterday I installed the BPMN plugin and made a BPMN diagram on which I
worked all day without any problem.
However, when I tried to open it today I got this message:
-----------------------------------------
Error opening the editor.
java.lang.ClassCastException: org.eclipse.stp.bpmn.impl.BpmnDiagramImpl
cannot be cast to org.eclipse.stp.bpmn.Association
at
org.eclipse.stp.bpmn.diagram.edit.parts.AssociationEditPart$ ConnectionAssociationFigure.createSourceDecoration(Associati onEditPart.java:155)
at
org.eclipse.stp.bpmn.diagram.edit.parts.AssociationEditPart$ ConnectionAssociationFigure. <init>(AssociationEditPart.java:136)
at
org.eclipse.stp.bpmn.diagram.edit.parts.AssociationEditPart. createConnectionFigure(AssociationEditPart.java:75)
at
org.eclipse.gmf.runtime.diagram.ui.editparts.ConnectionEditP art.createFigure(ConnectionEditPart.java:1099)
[...]
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
-----------------------------------------
I have deleted the whole eclipse directory and installed the plugins on an
eclipse fresh install: same problem.
Any idea?
Thanks.
|
|
|
Re: Error opening the editor: BpmnDiagramImpl cannot be cast to Association [message #374590 is a reply to message #374589] |
Thu, 28 February 2008 13:43 |
Eclipse User |
|
|
|
Originally posted by: atoulme.intalio.com
Hi David,
which version of BPMN are you using ? it sounds like the latest version
avoids the exception. The bad news is that the diagram is most probably
corrupted, and the association edit part resolves the diagram as its
semantic element.
Please try to grab the 0.8 version of the BPMN modeler on the update
site, open the diagram and delete the faulty association if you see it.
Thanks.
Antoine
David Moreno wrote:
> Hi all,
> Yesterday I installed the BPMN plugin and made a BPMN diagram on which I
> worked all day without any problem.
> However, when I tried to open it today I got this message:
> -----------------------------------------
> Error opening the editor.
> java.lang.ClassCastException: org.eclipse.stp.bpmn.impl.BpmnDiagramImpl
> cannot be cast to org.eclipse.stp.bpmn.Association
> at
> org.eclipse.stp.bpmn.diagram.edit.parts.AssociationEditPart$ ConnectionAssociationFigure.createSourceDecoration(Associati onEditPart.java:155)
>
> at
> org.eclipse.stp.bpmn.diagram.edit.parts.AssociationEditPart$ ConnectionAssociationFigure. <init>(AssociationEditPart.java:136)
>
> at
> org.eclipse.stp.bpmn.diagram.edit.parts.AssociationEditPart. createConnectionFigure(AssociationEditPart.java:75)
>
> at
> org.eclipse.gmf.runtime.diagram.ui.editparts.ConnectionEditP art.createFigure(ConnectionEditPart.java:1099)
>
> [...]
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 508)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
> -----------------------------------------
>
> I have deleted the whole eclipse directory and installed the plugins on
> an eclipse fresh install: same problem.
>
> Any idea?
>
> Thanks.
>
>
>
>
--
Intalio, the Open Source BPMS Company
<a href="http://www.intalio.com">http://www.intalio.com</a>
<a href="http://bpms.intalio.com">Community website</a>
|
|
|
Re: Error opening the editor: BpmnDiagramImpl cannot be cast to Association [message #374591 is a reply to message #374590] |
Thu, 28 February 2008 16:23 |
Eclipse User |
|
|
|
Originally posted by: jose.david.morenojuarez.nom.es
Hi Antoine,
I was using the 0.7.0.200710161054 version, so I followed your advice and
installed the 0.8 version. The diagram was opened without any issues.
However, as you guessed, some diagram elements exhibited some bad
behaviour (inability to change some properties or to delete them).
Luckily, I managed to delete them by manually editing the xml code, and
then I recreated them in the graphical editor.
Thanks for your help.
|
|
|
Re: Error opening the editor: BpmnDiagramImpl cannot be cast to Association [message #613259 is a reply to message #374589] |
Thu, 28 February 2008 13:43 |
Eclipse User |
|
|
|
Originally posted by: atoulme.intalio.com
Hi David,
which version of BPMN are you using ? it sounds like the latest version
avoids the exception. The bad news is that the diagram is most probably
corrupted, and the association edit part resolves the diagram as its
semantic element.
Please try to grab the 0.8 version of the BPMN modeler on the update
site, open the diagram and delete the faulty association if you see it.
Thanks.
Antoine
David Moreno wrote:
> Hi all,
> Yesterday I installed the BPMN plugin and made a BPMN diagram on which I
> worked all day without any problem.
> However, when I tried to open it today I got this message:
> -----------------------------------------
> Error opening the editor.
> java.lang.ClassCastException: org.eclipse.stp.bpmn.impl.BpmnDiagramImpl
> cannot be cast to org.eclipse.stp.bpmn.Association
> at
> org.eclipse.stp.bpmn.diagram.edit.parts.AssociationEditPart$ ConnectionAssociationFigure.createSourceDecoration(Associati onEditPart.java:155)
>
> at
> org.eclipse.stp.bpmn.diagram.edit.parts.AssociationEditPart$ ConnectionAssociationFigure. <init>(AssociationEditPart.java:136)
>
> at
> org.eclipse.stp.bpmn.diagram.edit.parts.AssociationEditPart. createConnectionFigure(AssociationEditPart.java:75)
>
> at
> org.eclipse.gmf.runtime.diagram.ui.editparts.ConnectionEditP art.createFigure(ConnectionEditPart.java:1099)
>
> [...]
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 508)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
> -----------------------------------------
>
> I have deleted the whole eclipse directory and installed the plugins on
> an eclipse fresh install: same problem.
>
> Any idea?
>
> Thanks.
>
>
>
>
--
Intalio, the Open Source BPMS Company
<a href="http://www.intalio.com">http://www.intalio.com</a>
<a href="http://bpms.intalio.com">Community website</a>
|
|
|
Re: Error opening the editor: BpmnDiagramImpl cannot be cast to Association [message #613262 is a reply to message #374590] |
Thu, 28 February 2008 16:23 |
Eclipse User |
|
|
|
Originally posted by: jose.david.morenojuarez.nom.es
Hi Antoine,
I was using the 0.7.0.200710161054 version, so I followed your advice and
installed the 0.8 version. The diagram was opened without any issues.
However, as you guessed, some diagram elements exhibited some bad
behaviour (inability to change some properties or to delete them).
Luckily, I managed to delete them by manually editing the xml code, and
then I recreated them in the graphical editor.
Thanks for your help.
|
|
|
Powered by
FUDForum. Page generated in 0.03661 seconds