This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | IndexOutOfBoundsException: end < start (208 < 212) | ||
---|---|---|---|
Product: | editor | Reporter: | Jiri Prox <jiriprox> |
Component: | Hints & Annotations | Assignee: | Jan Lahoda <jlahoda> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 7.3 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 196438 |
Attachments: | stacktrace |
Description
Jiri Prox
2012-12-12 08:59:41 UTC
Created attachment 129243 [details]
stacktrace
Steps to reproduce: 1) have project with Lombok and following class: /* * To change this template, choose Tools | Templates * and open the template in the editor. */ package foo; import lombok.Data; import lombok.Getter; @Data public class AbstractClass { String x = ""; @Getter private final int i; public void neco(int x) { int aa = x; x = 34; String aaa = "a"; } } 2) select whole body of method 'neco' 3) delete it (here occurs issue 223701) 4) undo the changes and press enter -> exception is thrown Still does not seem to work after partial reparse. Integrated into 'main-golden', will be available in build *201212170919* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/5ca0ccb53f41 User: Jan Lahoda <jlahoda@netbeans.org> Log: #223700: ignoring synthetic members when doing organize members to support lombok-generated methods/fields. |