Topic
2 replies Latest Post - ‏2013-01-10T19:44:24Z by SystemAdmin
safdasf
safdasf
1 Post
ACCEPTED ANSWER

Pinned topic Problem displaying component diagram with sketch artifacts

‏2012-10-13T20:33:25Z |
I get the following error under Rational Software Architect 8.0.4.1 related to sketches mixed into a component model. I simply cannot get my diagram back. I have to create the diagram again elsewhere which is very time consuming. I hope someone has seen this error before and can advise how to recover the component diagram.

Unable to create editor ID ModelerDiagramEditor: com.ibm.xtools.uml.ui.diagram.internal.editparts.UMLDiagramEditPart incompatible with com.ibm.ccl.soa.sketcher.ui.internal.editparts.SketcherLineEditPart

eclipse.buildId=unknown
java.fullversion=JRE 1.6.0 IBM J9 2.4 Windows 7 x86-32 jvmwi3260sr10fp1-20120202_101568 (JIT enabled, AOT enabled)
J9VM - 20120202_101568
JIT - r9_20111107_21307ifx1
GC - 20120202_AA
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -product com.ibm.rational.rsa4ws.product.v80.ide
Command-line arguments: -os win32 -ws win32 -arch x86 -product com.ibm.rational.rsa4ws.product.v80.ide
Error
Sat Oct 13 16:31:08 EDT 2012
Unable to create editor ID ModelerDiagramEditor: com.ibm.xtools.uml.ui.diagram.internal.editparts.UMLDiagramEditPart incompatible with com.ibm.ccl.soa.sketcher.ui.internal.editparts.SketcherLineEditPart

java.lang.ClassCastException: com.ibm.xtools.uml.ui.diagram.internal.editparts.UMLDiagramEditPart incompatible with com.ibm.ccl.soa.sketcher.ui.internal.editparts.SketcherLineEditPart
at com.ibm.ccl.soa.sketcher.ui.internal.editparts.SketcherLabelEditPart.refreshBounds(Unknown Source)
at org.eclipse.gmf.runtime.diagram.ui.editparts.ShapeEditPart.refreshVisuals(Unknown Source)
at com.ibm.ccl.soa.sketcher.ui.internal.editparts.SketcherEditPart.refreshVisuals(Unknown Source)
at org.eclipse.gef.editparts.AbstractEditPart.refresh(Unknown Source)
at org.eclipse.gef.editparts.AbstractGraphicalEditPart.refresh(Unknown Source)
at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.access$3(Unknown Source)
at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart$3.run(Unknown Source)
at org.eclipse.gmf.runtime.emf.core.internal.domain.MSLTransactionalEditingDomain.runExclusive(Unknown Source)
at org.eclipse.gmf.runtime.emf.core.internal.domain.MSLEditingDomain.runExclusive(Unknown Source)
at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.refresh(Unknown Source)
at org.eclipse.gef.editparts.AbstractEditPart.addNotify(Unknown Source)
at org.eclipse.gef.editparts.AbstractGraphicalEditPart.addNotify(Unknown Source)
at org.eclipse.gef.editparts.AbstractEditPart.addChild(Unknown Source)
at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.addChild(Unknown Source)
at org.eclipse.gef.editparts.AbstractEditPart.refreshChildren(Unknown Source)
at org.eclipse.gef.editparts.AbstractEditPart.refresh(Unknown Source)
at org.eclipse.gef.editparts.AbstractGraphicalEditPart.refresh(Unknown Source)
at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.access$3(Unknown Source)
at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart$3.run(Unknown Source)
at org.eclipse.gmf.runtime.emf.core.internal.domain.MSLTransactionalEditingDomain.runExclusive(Unknown Source)
at org.eclipse.gmf.runtime.emf.core.internal.domain.MSLEditingDomain.runExclusive(Unknown Source)
at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.refresh(Unknown Source)
at org.eclipse.gef.editparts.AbstractEditPart.addNotify(Unknown Source)
at org.eclipse.gef.editparts.AbstractGraphicalEditPart.addNotify(Unknown Source)
at org.eclipse.gef.editparts.AbstractEditPart.addChild(Unknown Source)
at org.eclipse.gef.editparts.SimpleRootEditPart.setContents(Unknown Source)
at org.eclipse.gef.ui.parts.AbstractEditPartViewer.setContents(Unknown Source)
at org.eclipse.gmf.runtime.diagram.ui.parts.DiagramGraphicalViewer.setContents(Unknown Source)
at org.eclipse.gef.ui.parts.AbstractEditPartViewer.setContents(Unknown Source)
at org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditor.initializeGraphicalViewerContents(Unknown Source)
at org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditor.initializeGraphicalViewer(Unknown Source)
at org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditorWithFlyOutPalette.initializeGraphicalViewer(Unknown Source)
at com.ibm.xtools.rmp.ui.diagram.parts.DiagramEditorWithFeedback.initializeGraphicalViewer(Unknown Source)
at com.ibm.xtools.modeler.ui.editors.internal.ModelerDiagramEditor.initializeGraphicalViewer(Unknown Source)
at org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditor.createGraphicalViewer(Unknown Source)
at org.eclipse.gef.ui.parts.GraphicalEditor.createPartControl(Unknown Source)
at org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditor.createPartControl(Unknown Source)
at org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditorWithFlyOutPalette.createPartControl(Unknown Source)
at org.eclipse.ui.internal.EditorReference.createPartHelper(Unknown Source)
at org.eclipse.ui.internal.EditorReference.createPart(Unknown Source)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(Unknown Source)
at org.eclipse.ui.internal.EditorReference.getEditor(Unknown Source)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(Unknown Source)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(Unknown Source)
at org.eclipse.ui.internal.WorkbenchPage.access$11(Unknown Source)
at org.eclipse.ui.internal.WorkbenchPage$10.run(Unknown Source)
at org.eclipse.swt.custom.BusyIndicator.showWhile(Unknown Source)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(Unknown Source)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(Unknown Source)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(Unknown Source)
at org.eclipse.gmf.runtime.common.ui.services.editor.AbstractEditorProvider.openEditor(Unknown Source)
at org.eclipse.gmf.runtime.common.ui.services.editor.OpenEditorOperation.execute(Unknown Source)
at org.eclipse.gmf.runtime.common.core.service.ExecutionStrategy$1.execute(Unknown Source)
at org.eclipse.gmf.runtime.common.core.service.Service.execute(Unknown Source)
at org.eclipse.gmf.runtime.common.ui.services.editor.EditorService.execute(Unknown Source)
at org.eclipse.gmf.runtime.common.ui.services.editor.EditorService.openEditor(Unknown Source)
at com.ibm.xtools.uml.ui.diagram.internal.commands.OpenDiagramCommand$2.run(Unknown Source)
at org.eclipse.gmf.runtime.emf.core.internal.domain.MSLEditingDomain$3.run(Unknown Source)
at org.eclipse.gmf.runtime.emf.core.internal.domain.MSLTransactionalEditingDomain.runExclusive(Unknown Source)
at org.eclipse.gmf.runtime.emf.core.internal.domain.MSLEditingDomain.runExclusive(Unknown Source)
at org.eclipse.gmf.runtime.emf.core.internal.domain.MSLEditingDomain.runAsRead(Unknown Source)
at com.ibm.xtools.uml.ui.diagram.internal.commands.OpenDiagramCommand.doExecuteWithResult(Unknown Source)
at org.eclipse.gmf.runtime.common.core.command.AbstractCommand.execute(Unknown Source)
at org.eclipse.core.commands.operations.DefaultOperationHistory.execute(Unknown Source)
at org.eclipse.gmf.runtime.common.ui.action.global.GlobalAction.doRun(Unknown Source)
at org.eclipse.gmf.runtime.common.ui.action.AbstractActionHandler.run(Unknown Source)
at org.eclipse.gmf.runtime.common.ui.action.ActionManager$1.run(Unknown Source)
at org.eclipse.swt.custom.BusyIndicator.showWhile(Unknown Source)
at org.eclipse.gmf.runtime.common.ui.action.ActionManager.run(Unknown Source)
at org.eclipse.gmf.runtime.common.ui.action.AbstractActionHandler.run(Unknown Source)
at org.eclipse.gmf.runtime.common.ui.action.internal.actions.global.GlobalOpenAction.run(Unknown Source)
at org.eclipse.ui.actions.RetargetAction.run(Unknown Source)
at org.eclipse.ui.navigator.CommonNavigatorManager$3.open(Unknown Source)
at org.eclipse.ui.OpenAndLinkWithEditorHelper$InternalListener.open(Unknown Source)
at org.eclipse.jface.viewers.StructuredViewer$2.run(Unknown Source)
at org.eclipse.core.runtime.SafeRunner.run(Unknown Source)
at org.eclipse.ui.internal.JFaceUtil$1.run(Unknown Source)
at org.eclipse.jface.util.SafeRunnable.run(Unknown Source)
at org.eclipse.jface.viewers.StructuredViewer.fireOpen(Unknown Source)
at org.eclipse.jface.viewers.StructuredViewer.handleOpen(Unknown Source)
at org.eclipse.ui.navigator.CommonViewer.handleOpen(Unknown Source)
at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(Unknown Source)
at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(Unknown Source)
at org.eclipse.jface.util.OpenStrategy.access$2(Unknown Source)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(Unknown Source)
at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at org.eclipse.ui.internal.Workbench.runEventLoop(Unknown Source)
at org.eclipse.ui.internal.Workbench.runUI(Unknown Source)
at org.eclipse.ui.internal.Workbench.access$4(Unknown Source)
at org.eclipse.ui.internal.Workbench$7.run(Unknown Source)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Unknown Source)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Unknown Source)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(Unknown Source)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(Unknown Source)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Unknown Source)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Unknown Source)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Unknown Source)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Unknown Source)
at org.eclipse.equinox.launcher.Main.basicRun(Unknown Source)
at org.eclipse.equinox.launcher.Main.run(Unknown Source)
at org.eclipse.equinox.launcher.Main.main(Unknown Source)
Updated on 2013-01-10T19:44:24Z at 2013-01-10T19:44:24Z by SystemAdmin
  • scottglen
    scottglen
    4 Posts
    ACCEPTED ANSWER

    Re: Problem displaying component diagram with sketch artifacts

    ‏2013-01-04T14:18:19Z  in response to safdasf
    I get the same in RSA 8.0.4.1 - Sketcher seems incredibly flaky. Is there anyway for me to get the diagrams back, or are they truly corrupted?
    • SystemAdmin
      SystemAdmin
      14225 Posts
      ACCEPTED ANSWER

      Re: Problem displaying component diagram with sketch artifacts

      ‏2013-01-10T19:44:24Z  in response to scottglen
      Sorry--this was a problem which was fixed in RSA 8.5. If you are unable to update, you can manually fix your emx or other files by opening them as a text file and removing these lines where the type is "skline":

      <edges xmi:type="notation:Connector" type="skline" ...>
      ....
      </edges>