Bug 136194 - Copy paste of LED to geoshapes diagram does not work
Summary: Copy paste of LED to geoshapes diagram does not work
Status: RESOLVED INVALID
Alias: None
Product: GMF-Runtime
Classification: Modeling
Component: General (show other bugs)
Version: 1.0   Edit
Hardware: PC Windows 2000
: P3 normal
Target Milestone: ---   Edit
Assignee: Steven R. Shaw CLA
QA Contact:
URL:
Whiteboard:
Keywords: test
: 130163 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-04-11 16:51 EDT by Cherie Revells CLA
Modified: 2010-07-19 12:29 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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