Bug 177127 - NPE in EMFUtils.getReferencingObjects
Summary: NPE in EMFUtils.getReferencingObjects
Status: RESOLVED FIXED
Alias: None
Product: GMF-Tooling (ARCHIVED)
Classification: Modeling
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Anna Karjakina CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2007-03-13 08:20 EDT by Anna Karjakina CLA
Modified: 2010-07-19 22:19 EDT (History)
1 user (show)

See Also:


Attachments
Null test for map collection value is added before traversing it. (1.02 KB, patch)
2007-03-13 08:23 EDT, Anna Karjakina CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Anna Karjakina CLA 2007-03-13 08:20:39 EDT
If there are no cross references for an object, no NPE should be avoided in line 28 of org.eclipse.gmf.codegen.util.EmfUtils while trying to get some.
Comment 1 Anna Karjakina CLA 2007-03-13 08:23:29 EDT
Created attachment 60656 [details]
Null test for map collection value is added before traversing it.
Comment 2 Artem Tikhomirov CLA 2007-03-13 10:11:01 EDT
reviewed and committed
Comment 3 Eclipse Webmaster CLA 2010-07-19 22:19:13 EDT
[GMF Restructure] Bug 319140 : product GMF and component
Generation was the original product and component for this bug