Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 367956 - NPE in eInverse()
Summary: NPE in eInverse()
Status: CLOSED FIXED
Alias: None
Product: Acceleo
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-05 11:12 EST by William Piers CLA
Modified: 2012-01-06 02:55 EST (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 William Piers CLA 2012-01-05 11:12:42 EST
In some cases the eInverse throws NPE : the cross referencer doesn't retrieve the setting associated to a given EObject (which is not a proxy).

The EObjects that cause the NPE do not have any content. EObjects with content do not throw NPE.

This seems to be a regression since it happens with Acceleo 3.3.0M4 but not with 3.3.0M3.
Comment 1 Laurent Goubet CLA 2012-01-06 02:55:40 EST
This was indeed a regression in M4 : we previously explicitely tested against null values, and this test had been removed with recent enhancements. Fixed on master, will be backported to 3.2.