Bug 107976 - Better error reporting for the Diagram Editor
Summary: Better error reporting for the Diagram Editor
Status: CLOSED FIXED
Alias: None
Product: GMF-Runtime
Classification: Modeling
Component: General (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal
Target Milestone: ---   Edit
Assignee: gmf.runtime-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2005-08-25 07:52 EDT by Maneesh CLA
Modified: 2010-07-19 21:55 EDT (History)
0 users

See Also:


Attachments
This is the patch for c.i.x.diagram.ui.resources.editor plugin (13.76 KB, patch)
2005-08-25 09:51 EDT, Maneesh CLA
no flags Details | Diff
This is the patch for c.i.x.diagram.ui.resources.editor.ide plugin (4.86 KB, patch)
2005-08-25 09:52 EDT, Maneesh CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Maneesh CLA 2005-08-25 07:52:34 EDT
Diagram Editor should provide better error message in case of failure to open
the diagram.

eg:
1. create a blank file (abc.diagram)
2. Associate this file with File diagram editor.
3. Open this file,
4. In the editor window, you will get NPE, Assertion Failed Exception without
knowing the real cause of the problem. 
5. Expected error is Premature end of file.
Comment 1 Maneesh CLA 2005-08-25 09:51:47 EDT
Created attachment 26450 [details]
This is the patch for c.i.x.diagram.ui.resources.editor plugin

This is the patch for c.i.x.diagram.ui.resources.editor plugin
Comment 2 Maneesh CLA 2005-08-25 09:52:31 EDT
Created attachment 26451 [details]
This is the patch for c.i.x.diagram.ui.resources.editor.ide plugin

This is the patch for c.i.x.diagram.ui.resources.editor.ide plugin
Comment 3 Steven R. Shaw CLA 2005-08-26 10:05:46 EDT
Patch has been submitted.
Comment 4 Maneesh CLA 2005-08-26 13:03:13 EDT
Proper errors are reported now.
Comment 5 Eclipse Webmaster CLA 2010-07-19 21:55:12 EDT
[GMF Restructure] Bug 319140 : product GMF and component
Runtime Common was the original product and component for this bug