| Summary: | NPE when editing .mtl | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Modeling] Acceleo | Reporter: | William Piers <william.piers> | ||||
| Component: | Core | Assignee: | Project Inbox <acceleo-inbox> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | cedric.brun | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
William Piers
Created attachment 216576 [details]
Example reproducing the bug
I get the same behaviour on Acceleo 3.2.1.v20120511-0335.
I have attached a little workspace where the NPE shows frequently.
Step to repoduce:
1. Open the T2.mtl file in acceleo.testcase.addon/src/acceleo.testcase.addon.mm2.m2t.
2. Edit the type of the aC3 argument at l. 26 from "C3" to "C"
3. Ctrl + Space to active auto-completion
4. A popup displays a NPE exception
I am using Eclipse 3.6.2.M20110210-1200
Thanks for the detailled procedure, I could reproduce the issue. Fixed with commit 957bc2488b68c8092ef4d0e96e4cfc52b54d86f6 ( http://git.eclipse.org/c/m2t/org.eclipse.acceleo.git/commit/?id=957bc2488b68c8092ef4d0e96e4cfc52b54d86f6 ) Thanks for your feedback. An update site containing the fix is available here https://hudson.eclipse.org/hudson/job/m2t-acceleo-master/357/artifact/releng/org.eclipse.acceleo-updatesite/target/org.eclipse.acceleo-updatesite.zip Closing resolved bugs |