Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to create "New detail: Class Diagram" #72

Open
nilsdoehring opened this issue Aug 13, 2014 · 16 comments
Open

Unable to create "New detail: Class Diagram" #72

nilsdoehring opened this issue Aug 13, 2014 · 16 comments

Comments

@nilsdoehring
Copy link

Environment:
DartDesigner MacOS build, OSX 10.9, Java 1.7.0_65

Steps to Reproduce:

  1. Precisely follow the Video on http://dartdesigner.github.io/ until 0:54
  2. As in the video, right click "Dart Package" and select Navigate->New detail: Class Diagram from the context menu.
  3. Context menu closes. Nothing else happens. No user feedback. Nothing added to error log.

Screenshot:
image

@sbegaudeau
Copy link
Member

I tried to reproduce your issue on windows and it worked for me. I'll try to reproduce it on a mac to see if it is a mac-specific issue. After the context menu closes, do you have a new diagram visible in the Model Explorer view under the Class Diagram category? (I think that you don't but just to be sure).

classdiagram

@sbegaudeau
Copy link
Member

Another question (regarding both this bug and bug #71, did you download a Dart Designer bundle or did you install it on an Eclipse? If you did install it on an Eclipse, which version of Eclipse are you using?

Are you using the modeling perspective or did you change the perspective?

Can you create the diagram if you right click on the Package (under the file project.dartspec in the Model Explorer view (in my screenshot the element "Package Dart Package with the blue triangle)? Does anything appear in the Error Log view?

Did you try the creation of this representation before or after encountering the previous bug (#71). Could you try with a freshly started Eclipse while trying not to encountered the other bug.

Thanks a lot!

@nilsdoehring
Copy link
Author

Thanks for looking into it. Regarding your questions:

(1) I've downloaded a Dart Designer bundle from https://github.com/dartdesigner/Dart-Designer/releases/tag/v0.4.0

(2) Both bugs occured within the Modelling Perspective

(3) I don't have a new diagram visible when the context menu closes. But I have to apologize, there are indeed Errors in Error Log View (I was just checking the log at .metadata/.plugins/org.eclipse.ui.workbench/log). I will paste them in the next comments.

(4) When trying to create a Class Diagram by right-clicking on the package in Model Explorer, I get an eternal "Operation in Progress" window (as opposed to seeing nothing at (3)).
image
After Force Quitting and restarting, the Error Log View has the same Errors as described in (3), so see comments below. Seems to boil down to a similar SVG issue as in #72.

(5) I was able to reproduce both issues several times, independently, with freshly started Dart Designer and a new, clean workspace directory.

@nilsdoehring
Copy link
Author

Follow up as stated above. This is the 1st error in Error Log View after right-click New Detail -> Class Diagram:

eclipse.buildId=unknown
java.version=1.7.0_65
java.vendor=Oracle Corporation
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments:  -keyring /Volumes/Daten/nilsdoehring/.eclipse_keyring -showlocation
Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -data /Volumes/Daten/nilsdoehring/Documents/ddes -keyring /Volumes/Daten/nilsdoehring/.eclipse_keyring -showlocation

org.eclipse.sirius.diagram
Error
Fri Aug 15 13:17:01 CEST 2014
Error loading SVG file

java.io.IOException: SAX2 driver class org.apache.xerces.parsers.SAXParser not found
    at org.apache.batik.dom.util.SAXDocumentFactory.createDocument(Unknown Source)
    at org.apache.batik.dom.util.SAXDocumentFactory.createDocument(Unknown Source)
    at org.apache.batik.dom.svg.SAXSVGDocumentFactory.createDocument(Unknown Source)
    at org.eclipse.sirius.diagram.ui.tools.api.figure.SVGFigure.loadDocument(SVGFigure.java:90)
    at org.eclipse.sirius.diagram.ui.tools.api.figure.SVGFigure.setURI(SVGFigure.java:72)
    at org.eclipse.sirius.diagram.ui.tools.api.figure.SVGFigure.setURI(SVGFigure.java:64)
    at org.eclipse.sirius.diagram.ui.tools.api.figure.SVGWorkspaceImageFigure.updateImageURI(SVGWorkspaceImageFigure.java:188)
    at org.eclipse.sirius.diagram.ui.tools.api.figure.SVGWorkspaceImageFigure.flyWeightImage(SVGWorkspaceImageFigure.java:248)
    at org.eclipse.sirius.diagram.ui.business.internal.query.DNodeQuery.getDefaultDimension(DNodeQuery.java:58)
    at org.eclipse.sirius.diagram.ui.internal.view.factories.AbstractDNodeViewFactory.updateLayoutConstraint(AbstractDNodeViewFactory.java:127)
    at org.eclipse.sirius.diagram.ui.internal.view.factories.AbstractDNodeViewFactory.decorateView(AbstractDNodeViewFactory.java:89)
    at org.eclipse.gmf.runtime.diagram.ui.view.factories.BasicNodeViewFactory$2.doExecute(BasicNodeViewFactory.java:162)
    at org.eclipse.emf.workspace.AbstractEMFOperation.execute(AbstractEMFOperation.java:150)
    at org.eclipse.gmf.runtime.diagram.ui.view.factories.BasicNodeViewFactory.createView(BasicNodeViewFactory.java:170)
    at sun.reflect.GeneratedMethodAccessor40.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.eclipse.gmf.runtime.diagram.core.providers.AbstractViewProvider.createNewView(AbstractViewProvider.java:249)
    at org.eclipse.gmf.runtime.diagram.core.providers.AbstractViewProvider.createNode(AbstractViewProvider.java:119)
    at org.eclipse.sirius.diagram.ui.internal.refresh.AbstractCanonicalSynchronizer.createViews(AbstractCanonicalSynchronizer.java:294)
    at org.eclipse.sirius.diagram.ui.internal.refresh.AbstractCanonicalSynchronizer.refreshSemanticChildren(AbstractCanonicalSynchronizer.java:158)
    at org.eclipse.sirius.diagram.ui.internal.refresh.diagram.DDiagramCanonicalSynchronizer.refreshSemantic(DDiagramCanonicalSynchronizer.java:102)
    at org.eclipse.sirius.diagram.ui.internal.refresh.diagram.DDiagramCanonicalSynchronizer.synchronize(DDiagramCanonicalSynchronizer.java:96)
    at org.eclipse.sirius.diagram.ui.business.internal.dialect.DiagramDialectServices.createRepresentation(DiagramDialectServices.java:178)
    at org.eclipse.sirius.business.internal.dialect.DialectManagerImpl.createRepresentation(DialectManagerImpl.java:140)
    at org.eclipse.sirius.business.api.dialect.command.CreateRepresentationCommand.doExecute(CreateRepresentationCommand.java:115)
    at org.eclipse.emf.transaction.RecordingCommand.execute(RecordingCommand.java:135)
    at org.eclipse.sirius.diagram.ui.tools.api.command.GMFCommandWrapper.doExecuteWithResult(GMFCommandWrapper.java:103)
    at org.eclipse.gmf.runtime.emf.commands.core.command.AbstractTransactionalCommand.doExecute(AbstractTransactionalCommand.java:247)
    at org.eclipse.emf.workspace.AbstractEMFOperation.execute(AbstractEMFOperation.java:150)
    at org.eclipse.emf.workspace.CompositeEMFOperation.doExecute(CompositeEMFOperation.java:217)
    at org.eclipse.emf.workspace.AbstractEMFOperation.execute(AbstractEMFOperation.java:150)
    at org.eclipse.sirius.diagram.ui.tools.internal.commands.WrappingCommandIgnoringAffectedFiles.execute(WrappingCommandIgnoringAffectedFiles.java:124)
    at org.eclipse.core.commands.operations.DefaultOperationHistory.execute(DefaultOperationHistory.java:513)
    at org.eclipse.sirius.diagram.ui.tools.internal.editor.DDiagramCommandStack.execute(DDiagramCommandStack.java:75)
    at org.eclipse.sirius.diagram.ui.tools.internal.editor.DDiagramCommandStack.execute(DDiagramCommandStack.java:57)
    at org.eclipse.gmf.runtime.diagram.ui.parts.DiagramCommandStack.execute(DiagramCommandStack.java:156)
    at org.eclipse.sirius.diagram.ui.tools.internal.actions.CreateRepresentationFromRepresentationCreationDescription.executeCreationCommand(CreateRepresentationFromRepresentationCreationDescription.java:75)
    at org.eclipse.sirius.ui.tools.api.actions.AbstractCreateRepresentationFromRepresentationCreationDescription.doCreateRepresentation(AbstractCreateRepresentationFromRepresentationCreationDescription.java:158)
    at org.eclipse.sirius.ui.tools.api.actions.AbstractCreateRepresentationFromRepresentationCreationDescription.run(AbstractCreateRepresentationFromRepresentationCreationDescription.java:137)
    at org.eclipse.jface.action.Action.runWithEvent(Action.java:519)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511)
    at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:420)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4188)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1467)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1490)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1475)
    at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4031)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3658)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
    at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:236)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1465)

@nilsdoehring
Copy link
Author

Follow up as stated above. This is the 2nd error in Error Log View after right-click New Detail -> Class Diagram:

eclipse.buildId=unknown
java.version=1.7.0_65
java.vendor=Oracle Corporation
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments:  -keyring /Volumes/Daten/nilsdoehring/.eclipse_keyring -showlocation
Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -data /Volumes/Daten/nilsdoehring/Documents/ddes -keyring /Volumes/Daten/nilsdoehring/.eclipse_keyring -showlocation

org.eclipse.sirius.diagram
Error
Fri Aug 15 13:17:01 CEST 2014
Error loading SVG file

java.io.IOException: SAX2 driver class org.apache.xerces.parsers.SAXParser not found
    at org.apache.batik.dom.util.SAXDocumentFactory.createDocument(Unknown Source)
    at org.apache.batik.dom.util.SAXDocumentFactory.createDocument(Unknown Source)
    at org.apache.batik.dom.svg.SAXSVGDocumentFactory.createDocument(Unknown Source)
    at org.eclipse.sirius.diagram.ui.tools.api.figure.SVGFigure.loadDocument(SVGFigure.java:90)
    at org.eclipse.sirius.diagram.ui.tools.api.figure.SVGFigure.setURI(SVGFigure.java:72)
    at org.eclipse.sirius.diagram.ui.tools.api.figure.SVGFigure.setURI(SVGFigure.java:64)
    at org.eclipse.sirius.diagram.ui.tools.api.figure.SVGWorkspaceImageFigure.updateImageURI(SVGWorkspaceImageFigure.java:188)
    at org.eclipse.sirius.diagram.ui.tools.api.figure.SVGWorkspaceImageFigure.flyWeightImage(SVGWorkspaceImageFigure.java:248)
    at org.eclipse.sirius.diagram.ui.business.internal.query.DNodeQuery.getDefaultDimension(DNodeQuery.java:58)
    at org.eclipse.sirius.diagram.ui.internal.refresh.AbstractCanonicalSynchronizer.getDefaultSize(AbstractCanonicalSynchronizer.java:692)
    at org.eclipse.sirius.diagram.ui.internal.refresh.AbstractCanonicalSynchronizer.updateDDiagramChildBounds(AbstractCanonicalSynchronizer.java:387)
    at org.eclipse.sirius.diagram.ui.internal.refresh.AbstractCanonicalSynchronizer.updateLocationAndSize(AbstractCanonicalSynchronizer.java:357)
    at org.eclipse.sirius.diagram.ui.internal.refresh.AbstractCanonicalSynchronizer.createViews(AbstractCanonicalSynchronizer.java:298)
    at org.eclipse.sirius.diagram.ui.internal.refresh.AbstractCanonicalSynchronizer.refreshSemanticChildren(AbstractCanonicalSynchronizer.java:158)
    at org.eclipse.sirius.diagram.ui.internal.refresh.diagram.DDiagramCanonicalSynchronizer.refreshSemantic(DDiagramCanonicalSynchronizer.java:102)
    at org.eclipse.sirius.diagram.ui.internal.refresh.diagram.DDiagramCanonicalSynchronizer.synchronize(DDiagramCanonicalSynchronizer.java:96)
    at org.eclipse.sirius.diagram.ui.business.internal.dialect.DiagramDialectServices.createRepresentation(DiagramDialectServices.java:178)
    at org.eclipse.sirius.business.internal.dialect.DialectManagerImpl.createRepresentation(DialectManagerImpl.java:140)
    at org.eclipse.sirius.business.api.dialect.command.CreateRepresentationCommand.doExecute(CreateRepresentationCommand.java:115)
    at org.eclipse.emf.transaction.RecordingCommand.execute(RecordingCommand.java:135)
    at org.eclipse.sirius.diagram.ui.tools.api.command.GMFCommandWrapper.doExecuteWithResult(GMFCommandWrapper.java:103)
    at org.eclipse.gmf.runtime.emf.commands.core.command.AbstractTransactionalCommand.doExecute(AbstractTransactionalCommand.java:247)
    at org.eclipse.emf.workspace.AbstractEMFOperation.execute(AbstractEMFOperation.java:150)
    at org.eclipse.emf.workspace.CompositeEMFOperation.doExecute(CompositeEMFOperation.java:217)
    at org.eclipse.emf.workspace.AbstractEMFOperation.execute(AbstractEMFOperation.java:150)
    at org.eclipse.sirius.diagram.ui.tools.internal.commands.WrappingCommandIgnoringAffectedFiles.execute(WrappingCommandIgnoringAffectedFiles.java:124)
    at org.eclipse.core.commands.operations.DefaultOperationHistory.execute(DefaultOperationHistory.java:513)
    at org.eclipse.sirius.diagram.ui.tools.internal.editor.DDiagramCommandStack.execute(DDiagramCommandStack.java:75)
    at org.eclipse.sirius.diagram.ui.tools.internal.editor.DDiagramCommandStack.execute(DDiagramCommandStack.java:57)
    at org.eclipse.gmf.runtime.diagram.ui.parts.DiagramCommandStack.execute(DiagramCommandStack.java:156)
    at org.eclipse.sirius.diagram.ui.tools.internal.actions.CreateRepresentationFromRepresentationCreationDescription.executeCreationCommand(CreateRepresentationFromRepresentationCreationDescription.java:75)
    at org.eclipse.sirius.ui.tools.api.actions.AbstractCreateRepresentationFromRepresentationCreationDescription.doCreateRepresentation(AbstractCreateRepresentationFromRepresentationCreationDescription.java:158)
    at org.eclipse.sirius.ui.tools.api.actions.AbstractCreateRepresentationFromRepresentationCreationDescription.run(AbstractCreateRepresentationFromRepresentationCreationDescription.java:137)
    at org.eclipse.jface.action.Action.runWithEvent(Action.java:519)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511)
    at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:420)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4188)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1467)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1490)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1475)
    at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4031)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3658)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
    at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:236)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1465)


@nilsdoehring
Copy link
Author

Follow up as stated above. This is the 3rd error in Error Log View after right-click New Detail -> Class Diagram:

eclipse.buildId=unknown
java.version=1.7.0_65
java.vendor=Oracle Corporation
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments:  -keyring /Volumes/Daten/nilsdoehring/.eclipse_keyring -showlocation
Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -data /Volumes/Daten/nilsdoehring/Documents/ddes -keyring /Volumes/Daten/nilsdoehring/.eclipse_keyring -showlocation

org.eclipse.sirius.diagram
Error
Fri Aug 15 13:17:01 CEST 2014
Error loading SVG file

java.io.IOException: SAX2 driver class org.apache.xerces.parsers.SAXParser not found
    at org.apache.batik.dom.util.SAXDocumentFactory.createDocument(Unknown Source)
    at org.apache.batik.dom.util.SAXDocumentFactory.createDocument(Unknown Source)
    at org.apache.batik.dom.svg.SAXSVGDocumentFactory.createDocument(Unknown Source)
    at org.eclipse.sirius.diagram.ui.tools.api.figure.SVGFigure.loadDocument(SVGFigure.java:90)
    at org.eclipse.sirius.diagram.ui.tools.api.figure.SVGFigure.setURI(SVGFigure.java:72)
    at org.eclipse.sirius.diagram.ui.tools.api.figure.SVGFigure.setURI(SVGFigure.java:64)
    at org.eclipse.sirius.diagram.ui.tools.api.figure.SVGWorkspaceImageFigure.updateImageURI(SVGWorkspaceImageFigure.java:188)
    at org.eclipse.sirius.diagram.ui.tools.api.figure.SVGWorkspaceImageFigure.flyWeightImage(SVGWorkspaceImageFigure.java:248)
    at org.eclipse.sirius.diagram.ui.edit.internal.part.AbstractDiagramNodeEditPartRefreshVisualsOperation.refreshWidth(AbstractDiagramNodeEditPartRefreshVisualsOperation.java:183)
    at org.eclipse.sirius.diagram.ui.edit.internal.part.AbstractDiagramNodeEditPartRefreshVisualsOperation.refreshSize(AbstractDiagramNodeEditPartRefreshVisualsOperation.java:98)
    at org.eclipse.sirius.diagram.ui.edit.internal.part.DiagramNodeEditPartOperation.internalRefreshVisuals(DiagramNodeEditPartOperation.java:104)
    at org.eclipse.sirius.diagram.ui.edit.internal.part.DiagramNodeEditPartOperation.refreshVisuals(DiagramNodeEditPartOperation.java:72)
    at org.eclipse.sirius.diagram.ui.edit.api.part.AbstractDiagramNodeEditPart.refreshVisuals(AbstractDiagramNodeEditPart.java:305)
    at org.eclipse.gef.editparts.AbstractEditPart.refresh(AbstractEditPart.java:725)
    at org.eclipse.gef.editparts.AbstractGraphicalEditPart.refresh(AbstractGraphicalEditPart.java:644)
    at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.access$3(GraphicalEditPart.java:1)
    at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart$3.run(GraphicalEditPart.java:861)
    at org.eclipse.emf.transaction.impl.TransactionalEditingDomainImpl.runExclusive(TransactionalEditingDomainImpl.java:328)
    at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.refresh(GraphicalEditPart.java:851)
    at org.eclipse.sirius.diagram.ui.edit.api.part.AbstractDiagramNodeEditPart.refresh(AbstractDiagramNodeEditPart.java:142)
    at org.eclipse.gef.editparts.AbstractEditPart.addNotify(AbstractEditPart.java:253)
    at org.eclipse.gef.editparts.AbstractGraphicalEditPart.addNotify(AbstractGraphicalEditPart.java:223)
    at org.eclipse.gef.editparts.AbstractEditPart.addChild(AbstractEditPart.java:212)
    at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.addChild(GraphicalEditPart.java:1319)
    at org.eclipse.gef.editparts.AbstractEditPart.refreshChildren(AbstractEditPart.java:781)
    at org.eclipse.gef.editparts.AbstractEditPart.refresh(AbstractEditPart.java:726)
    at org.eclipse.gef.editparts.AbstractGraphicalEditPart.refresh(AbstractGraphicalEditPart.java:644)
    at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.access$3(GraphicalEditPart.java:1)
    at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart$3.run(GraphicalEditPart.java:861)
    at org.eclipse.emf.transaction.impl.TransactionalEditingDomainImpl.runExclusive(TransactionalEditingDomainImpl.java:328)
    at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.refresh(GraphicalEditPart.java:851)
    at org.eclipse.sirius.diagram.ui.edit.api.part.AbstractDDiagramEditPart.refresh(AbstractDDiagramEditPart.java:152)
    at org.eclipse.gef.editparts.AbstractEditPart.addNotify(AbstractEditPart.java:253)
    at org.eclipse.gef.editparts.AbstractGraphicalEditPart.addNotify(AbstractGraphicalEditPart.java:223)
    at org.eclipse.gef.editparts.AbstractEditPart.addChild(AbstractEditPart.java:212)
    at org.eclipse.gef.editparts.SimpleRootEditPart.setContents(SimpleRootEditPart.java:105)
    at org.eclipse.gef.ui.parts.AbstractEditPartViewer.setContents(AbstractEditPartViewer.java:617)
    at org.eclipse.gmf.runtime.diagram.ui.parts.DiagramGraphicalViewer.setContents(DiagramGraphicalViewer.java:352)
    at org.eclipse.gef.ui.parts.AbstractEditPartViewer.setContents(AbstractEditPartViewer.java:626)
    at org.eclipse.sirius.diagram.ui.tools.internal.part.OffscreenEditPartFactory.createDiagramEditPart(OffscreenEditPartFactory.java:90)
    at org.eclipse.sirius.diagram.ui.tools.api.part.DiagramEditPartService.createDiagramEditPart(DiagramEditPartService.java:109)
    at org.eclipse.sirius.diagram.ui.tools.api.layout.LayoutUtils.createDiagramEditPart(LayoutUtils.java:447)
    at org.eclipse.sirius.diagram.ui.tools.api.layout.LayoutUtils.initializeDiagramLayout(LayoutUtils.java:253)
    at org.eclipse.sirius.diagram.ui.tools.internal.commands.InitializeLayoutCommand.doExecute(InitializeLayoutCommand.java:61)
    at org.eclipse.emf.transaction.RecordingCommand.execute(RecordingCommand.java:135)
    at org.eclipse.sirius.diagram.ui.tools.api.command.GMFCommandWrapper.doExecuteWithResult(GMFCommandWrapper.java:103)
    at org.eclipse.gmf.runtime.emf.commands.core.command.AbstractTransactionalCommand.doExecute(AbstractTransactionalCommand.java:247)
    at org.eclipse.emf.workspace.AbstractEMFOperation.execute(AbstractEMFOperation.java:150)
    at org.eclipse.emf.workspace.CompositeEMFOperation.doExecute(CompositeEMFOperation.java:217)
    at org.eclipse.emf.workspace.AbstractEMFOperation.execute(AbstractEMFOperation.java:150)
    at org.eclipse.sirius.diagram.ui.tools.internal.commands.WrappingCommandIgnoringAffectedFiles.execute(WrappingCommandIgnoringAffectedFiles.java:124)
    at org.eclipse.core.commands.operations.DefaultOperationHistory.execute(DefaultOperationHistory.java:513)
    at org.eclipse.sirius.diagram.ui.tools.internal.editor.DDiagramCommandStack.execute(DDiagramCommandStack.java:75)
    at org.eclipse.sirius.diagram.ui.tools.internal.editor.DDiagramCommandStack.execute(DDiagramCommandStack.java:57)
    at org.eclipse.gmf.runtime.diagram.ui.parts.DiagramCommandStack.execute(DiagramCommandStack.java:156)
    at org.eclipse.sirius.diagram.ui.tools.internal.actions.CreateRepresentationFromRepresentationCreationDescription.executeCreationCommand(CreateRepresentationFromRepresentationCreationDescription.java:75)
    at org.eclipse.sirius.ui.tools.api.actions.AbstractCreateRepresentationFromRepresentationCreationDescription.doCreateRepresentation(AbstractCreateRepresentationFromRepresentationCreationDescription.java:158)
    at org.eclipse.sirius.ui.tools.api.actions.AbstractCreateRepresentationFromRepresentationCreationDescription.run(AbstractCreateRepresentationFromRepresentationCreationDescription.java:137)
    at org.eclipse.jface.action.Action.runWithEvent(Action.java:519)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511)
    at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:420)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4188)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1467)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1490)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1475)
    at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4031)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3658)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
    at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:236)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1465)

@nilsdoehring
Copy link
Author

Follow up as stated above. This is the 4th error in Error Log View after right-click New Detail -> Class Diagram:

eclipse.buildId=unknown
java.version=1.7.0_65
java.vendor=Oracle Corporation
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments:  -keyring /Volumes/Daten/nilsdoehring/.eclipse_keyring -showlocation
Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -data /Volumes/Daten/nilsdoehring/Documents/ddes -keyring /Volumes/Daten/nilsdoehring/.eclipse_keyring -showlocation

org.eclipse.sirius.diagram
Error
Fri Aug 15 13:17:01 CEST 2014
Error loading SVG file

java.io.IOException: SAX2 driver class org.apache.xerces.parsers.SAXParser not found
    at org.apache.batik.dom.util.SAXDocumentFactory.createDocument(Unknown Source)
    at org.apache.batik.dom.util.SAXDocumentFactory.createDocument(Unknown Source)
    at org.apache.batik.dom.svg.SAXSVGDocumentFactory.createDocument(Unknown Source)
    at org.eclipse.sirius.diagram.ui.tools.api.figure.SVGFigure.loadDocument(SVGFigure.java:90)
    at org.eclipse.sirius.diagram.ui.tools.api.figure.SVGFigure.setURI(SVGFigure.java:72)
    at org.eclipse.sirius.diagram.ui.tools.api.figure.SVGFigure.setURI(SVGFigure.java:64)
    at org.eclipse.sirius.diagram.ui.tools.api.figure.SVGWorkspaceImageFigure.updateImageURI(SVGWorkspaceImageFigure.java:188)
    at org.eclipse.sirius.diagram.ui.tools.api.figure.SVGWorkspaceImageFigure.refreshFigure(SVGWorkspaceImageFigure.java:165)
    at org.eclipse.sirius.diagram.ui.tools.api.figure.SVGWorkspaceImageFigure.createImageFigure(SVGWorkspaceImageFigure.java:60)
    at org.eclipse.sirius.diagram.ui.internal.edit.parts.WorkspaceImageEditPart.createNodeShape(WorkspaceImageEditPart.java:138)
    at org.eclipse.sirius.diagram.ui.internal.edit.parts.WorkspaceImageEditPart.createNodeFigure(WorkspaceImageEditPart.java:188)
    at org.eclipse.gmf.runtime.diagram.ui.editparts.ShapeNodeEditPart.createFigure(ShapeNodeEditPart.java:90)
    at org.eclipse.gef.editparts.AbstractGraphicalEditPart.getFigure(AbstractGraphicalEditPart.java:494)
    at org.eclipse.gmf.runtime.diagram.ui.editparts.AbstractBorderedShapeEditPart.addChildVisual(AbstractBorderedShapeEditPart.java:90)
    at org.eclipse.gef.editparts.AbstractEditPart.addChild(AbstractEditPart.java:211)
    at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.addChild(GraphicalEditPart.java:1319)
    at org.eclipse.gef.editparts.AbstractEditPart.refreshChildren(AbstractEditPart.java:781)
    at org.eclipse.sirius.diagram.ui.edit.api.part.AbstractBorderedDiagramElementEditPart.refreshChildren(AbstractBorderedDiagramElementEditPart.java:256)
    at org.eclipse.gef.editparts.AbstractEditPart.refresh(AbstractEditPart.java:726)
    at org.eclipse.gef.editparts.AbstractGraphicalEditPart.refresh(AbstractGraphicalEditPart.java:644)
    at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.access$3(GraphicalEditPart.java:1)
    at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart$3.run(GraphicalEditPart.java:861)
    at org.eclipse.emf.transaction.impl.TransactionalEditingDomainImpl.runExclusive(TransactionalEditingDomainImpl.java:328)
    at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.refresh(GraphicalEditPart.java:851)
    at org.eclipse.sirius.diagram.ui.edit.api.part.AbstractDiagramNodeEditPart.refresh(AbstractDiagramNodeEditPart.java:142)
    at org.eclipse.gef.editparts.AbstractEditPart.addNotify(AbstractEditPart.java:253)
    at org.eclipse.gef.editparts.AbstractGraphicalEditPart.addNotify(AbstractGraphicalEditPart.java:223)
    at org.eclipse.gef.editparts.AbstractEditPart.addChild(AbstractEditPart.java:212)
    at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.addChild(GraphicalEditPart.java:1319)
    at org.eclipse.gef.editparts.AbstractEditPart.refreshChildren(AbstractEditPart.java:781)
    at org.eclipse.gef.editparts.AbstractEditPart.refresh(AbstractEditPart.java:726)
    at org.eclipse.gef.editparts.AbstractGraphicalEditPart.refresh(AbstractGraphicalEditPart.java:644)
    at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.access$3(GraphicalEditPart.java:1)
    at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart$3.run(GraphicalEditPart.java:861)
    at org.eclipse.emf.transaction.impl.TransactionalEditingDomainImpl.runExclusive(TransactionalEditingDomainImpl.java:328)
    at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.refresh(GraphicalEditPart.java:851)
    at org.eclipse.sirius.diagram.ui.edit.api.part.AbstractDDiagramEditPart.refresh(AbstractDDiagramEditPart.java:152)
    at org.eclipse.gef.editparts.AbstractEditPart.addNotify(AbstractEditPart.java:253)
    at org.eclipse.gef.editparts.AbstractGraphicalEditPart.addNotify(AbstractGraphicalEditPart.java:223)
    at org.eclipse.gef.editparts.AbstractEditPart.addChild(AbstractEditPart.java:212)
    at org.eclipse.gef.editparts.SimpleRootEditPart.setContents(SimpleRootEditPart.java:105)
    at org.eclipse.gef.ui.parts.AbstractEditPartViewer.setContents(AbstractEditPartViewer.java:617)
    at org.eclipse.gmf.runtime.diagram.ui.parts.DiagramGraphicalViewer.setContents(DiagramGraphicalViewer.java:352)
    at org.eclipse.gef.ui.parts.AbstractEditPartViewer.setContents(AbstractEditPartViewer.java:626)
    at org.eclipse.sirius.diagram.ui.tools.internal.part.OffscreenEditPartFactory.createDiagramEditPart(OffscreenEditPartFactory.java:90)
    at org.eclipse.sirius.diagram.ui.tools.api.part.DiagramEditPartService.createDiagramEditPart(DiagramEditPartService.java:109)
    at org.eclipse.sirius.diagram.ui.tools.api.layout.LayoutUtils.createDiagramEditPart(LayoutUtils.java:447)
    at org.eclipse.sirius.diagram.ui.tools.api.layout.LayoutUtils.initializeDiagramLayout(LayoutUtils.java:253)
    at org.eclipse.sirius.diagram.ui.tools.internal.commands.InitializeLayoutCommand.doExecute(InitializeLayoutCommand.java:61)
    at org.eclipse.emf.transaction.RecordingCommand.execute(RecordingCommand.java:135)
    at org.eclipse.sirius.diagram.ui.tools.api.command.GMFCommandWrapper.doExecuteWithResult(GMFCommandWrapper.java:103)
    at org.eclipse.gmf.runtime.emf.commands.core.command.AbstractTransactionalCommand.doExecute(AbstractTransactionalCommand.java:247)
    at org.eclipse.emf.workspace.AbstractEMFOperation.execute(AbstractEMFOperation.java:150)
    at org.eclipse.emf.workspace.CompositeEMFOperation.doExecute(CompositeEMFOperation.java:217)
    at org.eclipse.emf.workspace.AbstractEMFOperation.execute(AbstractEMFOperation.java:150)
    at org.eclipse.sirius.diagram.ui.tools.internal.commands.WrappingCommandIgnoringAffectedFiles.execute(WrappingCommandIgnoringAffectedFiles.java:124)
    at org.eclipse.core.commands.operations.DefaultOperationHistory.execute(DefaultOperationHistory.java:513)
    at org.eclipse.sirius.diagram.ui.tools.internal.editor.DDiagramCommandStack.execute(DDiagramCommandStack.java:75)
    at org.eclipse.sirius.diagram.ui.tools.internal.editor.DDiagramCommandStack.execute(DDiagramCommandStack.java:57)
    at org.eclipse.gmf.runtime.diagram.ui.parts.DiagramCommandStack.execute(DiagramCommandStack.java:156)
    at org.eclipse.sirius.diagram.ui.tools.internal.actions.CreateRepresentationFromRepresentationCreationDescription.executeCreationCommand(CreateRepresentationFromRepresentationCreationDescription.java:75)
    at org.eclipse.sirius.ui.tools.api.actions.AbstractCreateRepresentationFromRepresentationCreationDescription.doCreateRepresentation(AbstractCreateRepresentationFromRepresentationCreationDescription.java:158)
    at org.eclipse.sirius.ui.tools.api.actions.AbstractCreateRepresentationFromRepresentationCreationDescription.run(AbstractCreateRepresentationFromRepresentationCreationDescription.java:137)
    at org.eclipse.jface.action.Action.runWithEvent(Action.java:519)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511)
    at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:420)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4188)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1467)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1490)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1475)
    at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4031)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3658)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
    at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:236)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1465)

@nilsdoehring
Copy link
Author

Follow up as stated above. This is the 5th error in Error Log View after right-click New Detail -> Class Diagram:

eclipse.buildId=unknown
java.version=1.7.0_65
java.vendor=Oracle Corporation
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments:  -keyring /Volumes/Daten/nilsdoehring/.eclipse_keyring -showlocation
Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -data /Volumes/Daten/nilsdoehring/Documents/ddes -keyring /Volumes/Daten/nilsdoehring/.eclipse_keyring -showlocation

org.eclipse.gmf.runtime.diagram.ui
Error
Fri Aug 15 13:17:01 CEST 2014
execute

org.eclipse.core.commands.ExecutionException: While executing the operation, an exception occurred
    at org.eclipse.core.commands.operations.DefaultOperationHistory.execute(DefaultOperationHistory.java:521)
    at org.eclipse.sirius.diagram.ui.tools.internal.editor.DDiagramCommandStack.execute(DDiagramCommandStack.java:75)
    at org.eclipse.sirius.diagram.ui.tools.internal.editor.DDiagramCommandStack.execute(DDiagramCommandStack.java:57)
    at org.eclipse.gmf.runtime.diagram.ui.parts.DiagramCommandStack.execute(DiagramCommandStack.java:156)
    at org.eclipse.sirius.diagram.ui.tools.internal.actions.CreateRepresentationFromRepresentationCreationDescription.executeCreationCommand(CreateRepresentationFromRepresentationCreationDescription.java:75)
    at org.eclipse.sirius.ui.tools.api.actions.AbstractCreateRepresentationFromRepresentationCreationDescription.doCreateRepresentation(AbstractCreateRepresentationFromRepresentationCreationDescription.java:158)
    at org.eclipse.sirius.ui.tools.api.actions.AbstractCreateRepresentationFromRepresentationCreationDescription.run(AbstractCreateRepresentationFromRepresentationCreationDescription.java:137)
    at org.eclipse.jface.action.Action.runWithEvent(Action.java:519)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511)
    at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:420)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4188)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1467)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1490)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1475)
    at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4031)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3658)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
    at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:236)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
Caused by: java.lang.NullPointerException
    at org.eclipse.sirius.diagram.ui.tools.api.figure.SVGWorkspaceImageFigure.refreshFigure(SVGWorkspaceImageFigure.java:168)
    at org.eclipse.sirius.diagram.ui.tools.api.figure.SVGWorkspaceImageFigure.createImageFigure(SVGWorkspaceImageFigure.java:60)
    at org.eclipse.sirius.diagram.ui.internal.edit.parts.WorkspaceImageEditPart.createNodeShape(WorkspaceImageEditPart.java:138)
    at org.eclipse.sirius.diagram.ui.internal.edit.parts.WorkspaceImageEditPart.createNodeFigure(WorkspaceImageEditPart.java:188)
    at org.eclipse.gmf.runtime.diagram.ui.editparts.ShapeNodeEditPart.createFigure(ShapeNodeEditPart.java:90)
    at org.eclipse.gef.editparts.AbstractGraphicalEditPart.getFigure(AbstractGraphicalEditPart.java:494)
    at org.eclipse.gmf.runtime.diagram.ui.editparts.AbstractBorderedShapeEditPart.addChildVisual(AbstractBorderedShapeEditPart.java:90)
    at org.eclipse.gef.editparts.AbstractEditPart.addChild(AbstractEditPart.java:211)
    at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.addChild(GraphicalEditPart.java:1319)
    at org.eclipse.gef.editparts.AbstractEditPart.refreshChildren(AbstractEditPart.java:781)
    at org.eclipse.sirius.diagram.ui.edit.api.part.AbstractBorderedDiagramElementEditPart.refreshChildren(AbstractBorderedDiagramElementEditPart.java:256)
    at org.eclipse.gef.editparts.AbstractEditPart.refresh(AbstractEditPart.java:726)
    at org.eclipse.gef.editparts.AbstractGraphicalEditPart.refresh(AbstractGraphicalEditPart.java:644)
    at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.access$3(GraphicalEditPart.java:1)
    at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart$3.run(GraphicalEditPart.java:861)
    at org.eclipse.emf.transaction.impl.TransactionalEditingDomainImpl.runExclusive(TransactionalEditingDomainImpl.java:328)
    at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.refresh(GraphicalEditPart.java:851)
    at org.eclipse.sirius.diagram.ui.edit.api.part.AbstractDiagramNodeEditPart.refresh(AbstractDiagramNodeEditPart.java:142)
    at org.eclipse.gef.editparts.AbstractEditPart.addNotify(AbstractEditPart.java:253)
    at org.eclipse.gef.editparts.AbstractGraphicalEditPart.addNotify(AbstractGraphicalEditPart.java:223)
    at org.eclipse.gef.editparts.AbstractEditPart.addChild(AbstractEditPart.java:212)
    at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.addChild(GraphicalEditPart.java:1319)
    at org.eclipse.gef.editparts.AbstractEditPart.refreshChildren(AbstractEditPart.java:781)
    at org.eclipse.gef.editparts.AbstractEditPart.refresh(AbstractEditPart.java:726)
    at org.eclipse.gef.editparts.AbstractGraphicalEditPart.refresh(AbstractGraphicalEditPart.java:644)
    at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.access$3(GraphicalEditPart.java:1)
    at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart$3.run(GraphicalEditPart.java:861)
    at org.eclipse.emf.transaction.impl.TransactionalEditingDomainImpl.runExclusive(TransactionalEditingDomainImpl.java:328)
    at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.refresh(GraphicalEditPart.java:851)
    at org.eclipse.sirius.diagram.ui.edit.api.part.AbstractDDiagramEditPart.refresh(AbstractDDiagramEditPart.java:152)
    at org.eclipse.gef.editparts.AbstractEditPart.addNotify(AbstractEditPart.java:253)
    at org.eclipse.gef.editparts.AbstractGraphicalEditPart.addNotify(AbstractGraphicalEditPart.java:223)
    at org.eclipse.gef.editparts.AbstractEditPart.addChild(AbstractEditPart.java:212)
    at org.eclipse.gef.editparts.SimpleRootEditPart.setContents(SimpleRootEditPart.java:105)
    at org.eclipse.gef.ui.parts.AbstractEditPartViewer.setContents(AbstractEditPartViewer.java:617)
    at org.eclipse.gmf.runtime.diagram.ui.parts.DiagramGraphicalViewer.setContents(DiagramGraphicalViewer.java:352)
    at org.eclipse.gef.ui.parts.AbstractEditPartViewer.setContents(AbstractEditPartViewer.java:626)
    at org.eclipse.sirius.diagram.ui.tools.internal.part.OffscreenEditPartFactory.createDiagramEditPart(OffscreenEditPartFactory.java:90)
    at org.eclipse.sirius.diagram.ui.tools.api.part.DiagramEditPartService.createDiagramEditPart(DiagramEditPartService.java:109)
    at org.eclipse.sirius.diagram.ui.tools.api.layout.LayoutUtils.createDiagramEditPart(LayoutUtils.java:447)
    at org.eclipse.sirius.diagram.ui.tools.api.layout.LayoutUtils.initializeDiagramLayout(LayoutUtils.java:253)
    at org.eclipse.sirius.diagram.ui.tools.internal.commands.InitializeLayoutCommand.doExecute(InitializeLayoutCommand.java:61)
    at org.eclipse.emf.transaction.RecordingCommand.execute(RecordingCommand.java:135)
    at org.eclipse.sirius.diagram.ui.tools.api.command.GMFCommandWrapper.doExecuteWithResult(GMFCommandWrapper.java:103)
    at org.eclipse.gmf.runtime.emf.commands.core.command.AbstractTransactionalCommand.doExecute(AbstractTransactionalCommand.java:247)
    at org.eclipse.emf.workspace.AbstractEMFOperation.execute(AbstractEMFOperation.java:150)
    at org.eclipse.emf.workspace.CompositeEMFOperation.doExecute(CompositeEMFOperation.java:217)
    at org.eclipse.emf.workspace.AbstractEMFOperation.execute(AbstractEMFOperation.java:150)
    at org.eclipse.sirius.diagram.ui.tools.internal.commands.WrappingCommandIgnoringAffectedFiles.execute(WrappingCommandIgnoringAffectedFiles.java:124)
    at org.eclipse.core.commands.operations.DefaultOperationHistory.execute(DefaultOperationHistory.java:513)
    ... 39 more

´´´

@nilsdoehring
Copy link
Author

Follow up as stated above. This is the 6th (and last) error in Error Log View after right-click New Detail -> Class Diagram:

eclipse.buildId=unknown
java.version=1.7.0_65
java.vendor=Oracle Corporation
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments:  -keyring /Volumes/Daten/nilsdoehring/.eclipse_keyring -showlocation
Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -data /Volumes/Daten/nilsdoehring/Documents/ddes -keyring /Volumes/Daten/nilsdoehring/.eclipse_keyring -showlocation

org.eclipse.ui
Error
Fri Aug 15 13:17:01 CEST 2014
Unhandled event loop exception

java.lang.NullPointerException
    at org.eclipse.sirius.diagram.ui.business.internal.dialect.DiagramDialectUIServices.openEditor(DiagramDialectUIServices.java:165)
    at org.eclipse.sirius.ui.business.internal.dialect.DialectUIManagerImpl.openEditor(DialectUIManagerImpl.java:102)
    at org.eclipse.sirius.ui.tools.api.actions.AbstractCreateRepresentationFromRepresentationCreationDescription.doCreateRepresentation(AbstractCreateRepresentationFromRepresentationCreationDescription.java:164)
    at org.eclipse.sirius.ui.tools.api.actions.AbstractCreateRepresentationFromRepresentationCreationDescription.run(AbstractCreateRepresentationFromRepresentationCreationDescription.java:137)
    at org.eclipse.jface.action.Action.runWithEvent(Action.java:519)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511)
    at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:420)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4188)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1467)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1490)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1475)
    at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4031)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3658)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
    at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:236)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1465)

@nilsdoehring
Copy link
Author

phew.
:-)

@sbegaudeau
Copy link
Member

Thanks for the additional details!
I have talked with some of the developers of Sirius and it seems to be related to this issue: https://bugs.eclipse.org/bugs/show_bug.cgi?id=439095

To display SVG images, Eclipse uses Apache Batik which uses Apache Xerces. The dependency between Batik and Xerces is supposed to be optional but sometimes it seems to be required. Nobody seems to really know why this issue appear on some specific environment with SVG images. It seems to be a bit complex.

Since I am only using one and only one SVG image in the whole application (compared to dozens of png), I will replace this SVG with a png to get rid of this issue.

The product is already containing one version of Xerces and I could add other versions (there seems to be two) in the product but I am not sure that it would fix the issue without any side effect.

sbegaudeau added a commit that referenced this issue Aug 18, 2014
Bug-Url: #72
Change-Id: I6784bfc75aa0a73077bb4a95382dab6637637c11
@sbegaudeau
Copy link
Member

I have contributed a fix on the master branch, could you try to install it to see if it fixes your issues. For that, go to Help -> Install New Software -> Add. In the location part of the popup, type "http://dartdesigner.github.io/p2/nightly" without the quotes and then OK. Select the Dart Designer in the main part and then click on "Next" -> "Next" (you may have to accept the license) and "Finish". The new version of Dart Designer will be installed, Eclipse will ask you to restart. Restart and you should be able to tell me if the fix is working.

If everything works fine for you after that, I'll publish a version 0.4.1 including this fix.

@nilsdoehring
Copy link
Author

Update not possible due to conflicting dependencies, see below. Seems the only thing I could do is installing the updated plugin into a freshly downloaded Eclipse – I can try that tomorrow.

Cannot complete the install because of a conflicting dependency.
Software being installed: Dart Designer 0.4.0.201408181340 (org.obeonetwork.dsl.dart.feature.feature.group 0.4.0.201408181340)
Software currently installed: Dart Designer 0.4.0.201408112024 (org.obeonetwork.dsl.dart.branding.product 0.4.0.201408112024)
Only one of the following can be installed at once:
Dart Usage Tracker 0.4.0.201408112024 (org.obeonetwork.dsl.dart.usage 0.4.0.201408112024)
Dart Usage Tracker 0.4.0.201408181340 (org.obeonetwork.dsl.dart.usage 0.4.0.201408181340)
Cannot satisfy dependency:
From: Dart Designer 0.4.0.201408112024 (org.obeonetwork.dsl.dart.branding.product 0.4.0.201408112024)
To: org.obeonetwork.dsl.dart.feature.feature.group [0.4.0.201408112024]
Cannot satisfy dependency:
From: org.obeonetwork.dsl.dart.feature.feature.group 0.4.0.201408112024
To: org.obeonetwork.dsl.dart.usage [0.4.0.201408112024]
Cannot satisfy dependency:
From: Dart Designer 0.4.0.201408181340 (org.obeonetwork.dsl.dart.feature.feature.group 0.4.0.201408181340)
To: org.obeonetwork.dsl.dart.usage [0.4.0.201408181340]

@sbegaudeau
Copy link
Member

Hi,

The Sirius team tries to identify the root of the original issue and we tried to reproduce your problem on Windows, Linux and Mac OS without success. Could you try to use an original Dart Designer (downloaded from the release page) and import the project referenced here. To import the project, just right click in the Model Explorer view and select import, then select "General -> Existing project into the workspace", then select the project in your file system.

Once imported, expand the content of the file My.ecore until you see "sampleDiagramWithSVG" then double click on it to open this diagram. It should display only a picture stating that the diagram is empty etc.

Thanks

@nilsdoehring
Copy link
Author

Sorry for taking so long:

I followed the steps described above and it seems it went well.
image
Only entry in the Error Log:
!ENTRY org.eclipse.ui.navigator 2 0 2014-08-29 23:43:55.244
!MESSAGE Can't find Navigator Content Descriptor with id: org.eclipse.jdt.java.ui.javaContent

BUT: Upon creating a second project "test" as Dart Designer Project, the same errors as stated in the original bug report (and comments above) occur.

For the fun of it, I've restarted into an empty workspace, and firstly created a "test" Dart Designer project. No Errors. Then imported "SampleProjectWithSVG" and guess what: same errors as stated in the original bug report (and comments above).

not really helpful, I guess.

@mPorhel
Copy link

mPorhel commented Nov 6, 2014

https://bugs.eclipse.org/bugs/show_bug.cgi?id=439095 (and https://bugs.eclipse.org/bugs/show_bug.cgi?id=441755) have been corrected for Sirius 2.0 (released on 2014-10-24)

The correction has also been reported (https://bugs.eclipse.org/bugs/show_bug.cgi?id=448495) on the Sirius 1.0.x branch, Sirius 1.0.2 has not been released yet, but the correction is available it the nightly builds (http://download.eclipse.org/sirius/updates/nightly/1.0.x/luna, https://wiki.eclipse.org/Sirius/Update_Sites)

Regards,

Maxime

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants