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 (16 < 31) | ||
---|---|---|---|
Product: | editor | Reporter: | MackSix |
Component: | Hints & Annotations | Assignee: | Jan Lahoda <jlahoda> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | MackSix |
Priority: | P3 | ||
Version: | 7.4 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 202582 |
Attachments: |
stacktrace
stacktrace |
Description
MackSix
2013-07-27 08:25:09 UTC
Created attachment 137885 [details]
stacktrace
1. Created custom Inspection per http://wiki.netbeans.org/TS_73_InspectAndRefactor Custom Inspection that works: <!description="My Inspection"> { $1 $2; $2 = $3; }=> { $1 $2 = $3; };; 2. Tried to edit and typed a "$4" in location shown below: <!description="My Inspection"> { $1 $2; $2 = $3; $4 }=> { $1 $2 = $3; };; This causes exception. Created attachment 137887 [details]
stacktrace
1. Opened Inpect & Transform custom script in editor.
2. Tried editing it in editor.
This exception is thrown in editor too.
Integrated into 'main-silver', will be available in build *201307292300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/2fe25ab44dc7 User: Jan Lahoda <jlahoda@netbeans.org> Log: #233526: some diagnostics need end pos table to get the end position - using the computed SourcePositions for that. |