facebook

Make use of Actor Defined in separate Package

  1. MyEclipse Archived
  2.  > 
  3. UML Development
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #315573 Reply

    Dave Hanson
    Member

    I am using MyEclipse 8.6.1 and am having a consistent problem with trying to use an Actor define in a separate Package.

    I have a structure where I have a High Level Package called Scenarios. The High Level Use case called Maintain Comm Channel Configuration has a Package called Actors. It contains a Use Case with common Actors defined – one is called System Administrator.

    I attempt to drag and drop the existing Actor defined in the Actor Package into the Use Case and continually get the following two errors in the Error Log:

    eclipse.buildId=unknown
    java.version=1.6.0_13
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    Command-line arguments: -os win32 -ws win32 -arch x86

    This is a continuation of log file C:\Users\DHanson\Workspaces\Notifi 2.0\.metadata\.bak_0.log
    Created Time: 2011-03-21 18:18:46.127

    Error
    Mon Mar 28 13:55:31 MST 2011
    Problems occurred when invoking code from plug-in: “org.eclipse.jface”.

    java.lang.NullPointerException
    at com.genuitec.eclipse.modeling.core.layout.uml2.YFilesUMLLayoutManager.doFirstTimeRouting(YFilesUMLLayoutManager.java:190)
    at com.genuitec.eclipse.modeling.core.layout.uml2.YFilesUMLLayoutManager.layout(YFilesUMLLayoutManager.java:84)
    at org.eclipse.draw2d.Figure.layout(Figure.java:1029)
    at org.eclipse.draw2d.Figure.validate(Figure.java:1739)
    at org.eclipse.draw2d.Figure.validate(Figure.java:1741)
    at org.topcased.modeler.tools.Importer.refreshContainer(Importer.java:453)
    at org.topcased.modeler.tools.Importer.autolayoutObjects(Importer.java:389)
    at org.topcased.modeler.tools.DNDFromOutlineImporter.createDroppedObject(DNDFromOutlineImporter.java:121)
    at org.topcased.modeler.tools.DNDFromOutlineImporter.createParentHierarchy(DNDFromOutlineImporter.java:77)
    at org.topcased.modeler.tools.DNDFromOutlineImporter.run(DNDFromOutlineImporter.java:54)
    at org.topcased.modeler.editor.OutlineDropListener.handleDrop(OutlineDropListener.java:97)
    at org.eclipse.gef.dnd.AbstractTransferDropTargetListener.drop(AbstractTransferDropTargetListener.java:171)
    at org.eclipse.jface.util.DelegatingDropAdapter$3.run(DelegatingDropAdapter.java:211)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.core.runtime.Platform.run(Platform.java:888)
    at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
    at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
    at org.eclipse.jface.util.DelegatingDropAdapter.drop(DelegatingDropAdapter.java:209)
    at org.eclipse.swt.dnd.DNDListener.handleEvent(DNDListener.java:90)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
    at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:770)
    at org.eclipse.swt.dnd.DropTarget.Drop(DropTarget.java:456)
    at org.eclipse.swt.dnd.DropTarget$3.method6(DropTarget.java:258)
    at org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java:119)
    at org.eclipse.swt.internal.ole.win32.COM.DoDragDrop(Native Method)
    at org.eclipse.swt.dnd.DragSource.drag(DragSource.java:363)
    at org.eclipse.swt.dnd.DragSource.access$0(DragSource.java:289)
    at org.eclipse.swt.dnd.DragSource$1.handleEvent(DragSource.java:172)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3910)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
    —–
    eclipse.buildId=unknown
    java.version=1.6.0_13
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    Command-line arguments: -os win32 -ws win32 -arch x86

    This is a continuation of log file C:\Users\DHanson\Workspaces\Notifi 2.0\.metadata\.bak_0.log
    Created Time: 2011-03-21 18:18:46.127

    Error
    Mon Mar 28 13:55:31 MST 2011
    Problems occurred when invoking code from plug-in: “org.eclipse.jface”.

    java.lang.NullPointerException
    at com.genuitec.eclipse.modeling.core.layout.uml2.YFilesUMLLayoutManager.doFirstTimeRouting(YFilesUMLLayoutManager.java:190)
    at com.genuitec.eclipse.modeling.core.layout.uml2.YFilesUMLLayoutManager.layout(YFilesUMLLayoutManager.java:84)
    at org.eclipse.draw2d.Figure.layout(Figure.java:1029)
    at org.eclipse.draw2d.Figure.validate(Figure.java:1739)
    at org.eclipse.draw2d.Figure.validate(Figure.java:1741)
    at org.topcased.modeler.tools.Importer.refreshContainer(Importer.java:453)
    at org.topcased.modeler.tools.Importer.autolayoutObjects(Importer.java:389)
    at org.topcased.modeler.tools.DNDFromOutlineImporter.createDroppedObject(DNDFromOutlineImporter.java:121)
    at org.topcased.modeler.tools.DNDFromOutlineImporter.createParentHierarchy(DNDFromOutlineImporter.java:77)
    at org.topcased.modeler.tools.DNDFromOutlineImporter.run(DNDFromOutlineImporter.java:54)
    at org.topcased.modeler.editor.OutlineDropListener.handleDrop(OutlineDropListener.java:97)
    at org.eclipse.gef.dnd.AbstractTransferDropTargetListener.drop(AbstractTransferDropTargetListener.java:171)
    at org.eclipse.jface.util.DelegatingDropAdapter$3.run(DelegatingDropAdapter.java:211)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.core.runtime.Platform.run(Platform.java:888)
    at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
    at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
    at org.eclipse.jface.util.DelegatingDropAdapter.drop(DelegatingDropAdapter.java:209)
    at org.eclipse.swt.dnd.DNDListener.handleEvent(DNDListener.java:90)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
    at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:770)
    at org.eclipse.swt.dnd.DropTarget.Drop(DropTarget.java:456)
    at org.eclipse.swt.dnd.DropTarget$3.method6(DropTarget.java:258)
    at org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java:119)
    at org.eclipse.swt.internal.ole.win32.COM.DoDragDrop(Native Method)
    at org.eclipse.swt.dnd.DragSource.drag(DragSource.java:363)
    at org.eclipse.swt.dnd.DragSource.access$0(DragSource.java:289)
    at org.eclipse.swt.dnd.DragSource$1.handleEvent(DragSource.java:172)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3910)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1311)

    —–

    #315644 Reply

    support-swapna
    Moderator

    ifdhanson,

    We have tested this issue at our end and were able to reproduce it. A Bug has been filed for it and you can expect to see a fix for the same soon.

    Sorry for the inconvenience caused.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Make use of Actor Defined in separate Package

You must be logged in to post in the forum log in