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

Bug 453053

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: Project inbox <sirius.core-inbox>
Status: CLOSED DUPLICATE 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.2   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Bug Depends on: 433821    
Bug Blocks: 439103    

Description Pierre-Charles David CLA 2014-11-24 09:50:23 EST
+++ This bug was initially created as a clone of Bug #433821 +++

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-11-24 09:52:44 EST
Clone to backport the fix for bug 433821 for Sirius 1.0.2.
Comment 2 Maxime Porhel CLA 2015-01-15 11:40:28 EST
Already corrected on branch v1.0.x by Bug 439103 (in Sirius 1.0.1)

*** This bug has been marked as a duplicate of bug 439103 ***
Comment 3 Pierre-Charles David CLA 2015-01-29 04:34:33 EST
Available in Sirius 1.0.2.