| Summary: | [xtend] NullPointerException in RichString | ||
|---|---|---|---|
| Product: | [Modeling] TMF | Reporter: | Benjamin Schwertfeger <benjamin.schwertfeger> |
| Component: | Xtext | Assignee: | Project Inbox <tmf.xtext-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | sebastian.zarnekow |
| Version: | 2.1.0 | Flags: | sebastian.zarnekow:
indigo+
|
| Target Milestone: | SR2 | ||
| Hardware: | PC | ||
| OS: | Mac OS X - Carbon (unsup.) | ||
| Whiteboard: | |||
Pushed to master. Thanks for the reproducable example. Closing all bugs that were set to RESOLVED before Neon.0 Closing all bugs that were set to RESOLVED before Neon.0 |
If this is the last RichString in the File, the RichString contains one Literal with a null value wich leads to NullPointerException in TextLine: def test(){ ''' «"» } } Interface of TextLine should define, if completeText == null is defined. One workaround is to check in RichStringProcessor$Implementation at caseLiteral, if the value is null.