Bug 243596 - [Properties] NPE in properties section
Summary: [Properties] NPE in properties section
Status: RESOLVED FIXED
Alias: None
Product: GMF-Runtime
Classification: Modeling
Component: General (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows XP
: P3 normal
Target Milestone: 2.1.1   Edit
Assignee: Alex Boyko CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-08 11:16 EDT by Alex Boyko CLA
Modified: 2010-07-19 12:29 EDT (History)
1 user (show)

See Also:


Attachments
patch committed (1.63 KB, patch)
2008-08-08 17:24 EDT, Alex Boyko CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Boyko CLA 2008-08-08 11:16:22 EDT
Selecting the Properties View and preforming CTRL+Z seems to trigger a 'text changed' event...the properties page then tries to save itself and ends up causing NPEs because it called WorkspaceSynchronizer.getFile(res)  on a null resource (the deleted diagram).  
We need to add a safety check for null resource
Comment 1 Alex Boyko CLA 2008-08-08 17:24:07 EDT
Created attachment 109569 [details]
patch committed
Comment 2 Alex Boyko CLA 2008-08-08 17:32:16 EDT
Committed the patch for 2.1.1 and 2.2
Comment 3 Eclipse Webmaster CLA 2010-07-19 12:29:23 EDT
[GMF Restructure] Bug 319140 : product GMF and component
Runtime Diagram was the original product and component for this bug