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

Bug 439103

Summary: Completion on Acceleo expressions is not available in VSM if an empty service class is registered
Product: [Modeling] Sirius Reporter: Pierre-Charles David <pierre-charles.david>
Component: CoreAssignee: Pierre-Charles David <pierre-charles.david>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: esteban.dugueperoux, maxime.porhel, pierre-charles.david, stephane.thibaudeau
Version: 1.0.0M5Keywords: triaged
Target Milestone: 1.0.1   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Bug Depends on: 433821, 453053    
Bug Blocks:    

Description Pierre-Charles David CLA 2014-07-08 03:57:39 EDT
+++ This bug was initially created as a clone of Bug #433821 +++

This is a report of the fix for bug #433821 from master (for Sirius 2.0) to the v1.0.x maintenance branch for Sirius 1.0.1.

Symptom :
Autocompletion on Acceleo 3 expressions is not available anymore when editing an odesign file. The autocompletion on interpreters prefix ('[/]', 'var:' , 'feature:', ...) still works, it works too for the 'var:' interpreter (probably for the others too but I havent tested).

Cause :
In the odesign file, a java extension was pointing to an empty class (no service method in it). The code compiling an acceleo 3 template from this class throws a NullPointerException.
Comment 1 Pierre-Charles David CLA 2014-07-10 08:29:27 EDT
Fixed by d69d8c4056a4e8f3eba4d1ed85392a6de721aef7 (cherry-pick of a56c2016821dbf41b0ffd8a8831c88598a17d764 which fixed the issue on master).
Comment 2 Maxime Porhel CLA 2015-01-15 11:40:28 EST
*** Bug 453053 has been marked as a duplicate of this bug. ***
Comment 3 Pierre-Charles David CLA 2015-05-20 07:55:44 EDT
Available in Sirius 1.0.1.