| Summary: | org.eclipse.text.edits.MalformedTreeException: Overlapping text edits | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [WebTools] WTP Source Editing | Reporter: | Missing name <a.in.the.k> | ||||||
| Component: | jst.jsp | Assignee: | Rakesh <rakes123> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | Nitin Dahyabhai <thatnitind> | ||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | a.in.the.k, ccc, nsand.dev, rakes123, sarika.sinha | ||||||
| Version: | 3.2 | Flags: | nsand.dev:
review+
|
||||||
| Target Milestone: | 3.3 M4 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows XP | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Missing name
Created attachment 176029 [details]
Problematic sample
<jsp:scriptlet>
pageContext.setAttribute("jspVersion",JspFactory.getDefaultFactory().getEngineInfo().getSpecificationVersion());
</jsp:scriptlet>
causes the trouble, when removed everything works fine
Created attachment 180860 [details]
patch
This exception was coming as result of replacing EL region with translated java code combined with Unwanted TextEdit(length of both replacing and tobeReplaced text = 0). We should not replace EL region with corresponding java functions.I am leaving EL region as it is .
Code released. Thanks, Rakesh. |