| Summary: | Patch for NPE when using aspect templates with backend generator | ||
|---|---|---|---|
| Product: | [Modeling] M2T | Reporter: | Axel Guckelsberger <info> |
| Component: | Xpand | Assignee: | Project Inbox <m2t.xpand-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | andre.arnold |
| Version: | unspecified | ||
| Target Milestone: | SR2 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
Matching did not work with function that have qualified names. Now the pattern is matched to the full qualified name. Bug resolved before Xpand 1.2 release date => Closing |
Build Identifier: 20100617-1415 I had problems with running a workflow with backend classes as soon as I enabled an advice with aspect templates. After some debugging time here is what I found out: in the org.eclipse.xtend.backend.aop.ExecutionPointcut class the method matchesName(QualifiedName functionName) failed because the _namePattern was null. Thus the call of its matcher method could not work. Patch: add the following lines before the last return statement. if (_namePattern == null) { return false; } This works for me, don't know whether it is the best solution though. Kindly regards, Axel Reproducible: Always