Bug 136194

Summary: Copy paste of LED to geoshapes diagram does not work
Product: [Modeling] GMF-Runtime Reporter: Cherie Revells <crevells>
Component: GeneralAssignee: Steven R. Shaw <steveshaw>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: P3 CC: mmostafa
Version: 1.0Keywords: test
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Cherie Revells CLA 2006-04-11 16:51:00 EDT
To reproduce:
1. Create a logic LED on the logic diagram.
2. Create 2 more logic LED on the diagram.
3. Connect 2 of the LED's with a wire.
4, Select all LED's and copy.
5. Navigate to the geometric shapes diagram and paste the LED's.

Following errors appear and the paste does not work:
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.IllegalArgumentException: Argument cannot be null)
	at org.eclipse.swt.SWT.error(SWT.java:3374)
	at org.eclipse.swt.SWT.error(SWT.java(Inlined Compiled Code))
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java(Compiled Code))
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java(Inlined Compiled Code))

NOTE:  This does not occur when copy / pasting from a geoshape diagram to a logic diagram not does it occur with a similar scenario in another client's application.
Comment 1 Steven R. Shaw CLA 2006-04-11 16:59:21 EDT
*** Bug 130163 has been marked as a duplicate of this bug. ***
Comment 2 Steven R. Shaw CLA 2006-04-12 12:06:20 EDT
I think the logic and geoshapes editors have to share the same editing domain in order for this to work...
Comment 3 Steven R. Shaw CLA 2006-04-28 16:36:29 EDT
Not a valid use case.  Geometric shapes and Logic editor would have to share the same editing domain for this to be valid.

Note: this does work when copy/pasting geometrics shapes between the editors.
Comment 4 Eclipse Webmaster CLA 2010-07-19 12:29:19 EDT
[GMF Restructure] Bug 319140 : product GMF and component
Runtime Diagram was the original product and component for this bug