Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 367956

Summary: NPE in eInverse()
Product: [Modeling] Acceleo Reporter: William Piers <william.piers>
Component: CoreAssignee: Project Inbox <acceleo-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: laurent.goubet
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

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.