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: | javax.swing.text.BadLocationException: Invalid offset=-1 < 0; docLen=2185 | ||
---|---|---|---|
Product: | java | Reporter: | aldobrucale <aldobrucale> |
Component: | Hints | Assignee: | Jan Lahoda <jlahoda> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | aldobrucale, alexvsimon, azapeta, esfand, jdlee, jocke, MackSix, markiewb, mmirilovic, pekarna, tnleeuw |
Priority: | P1 | Keywords: | REGRESSION |
Version: | 7.3 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 196269 |
Attachments: |
stacktrace
stacktrace stacktrace stacktrace stacktrace stacktrace stacktrace stacktrace stacktrace |
Description
aldobrucale
2012-12-07 16:44:43 UTC
Created attachment 129059 [details]
stacktrace
Created attachment 129155 [details]
stacktrace
Search and replace in file
Created attachment 129738 [details] stacktrace Created a new class in the default package of a nb module project (with a random name) Substituted the content of the file with the source code from this post http://blogs.oracle.com/geertjan/entry/file_browser Clicked on the line numbers bar, beside the constructor declaration to show the editor hints (a class or method breakpoint was created instead) This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=196269 Created attachment 129819 [details]
stacktrace
added 'abstract' modifier to class after refactor-copying
Created attachment 129912 [details]
stacktrace
Just changed the name of a class on the class statement.
I have changed the name of a class This bug already has 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=196269 Created attachment 130516 [details]
stacktrace
modifying file - permanent exception
Looks related to java/hints Created attachment 131078 [details]
stacktrace
Reproduction: Create a javahint via wizard. As classname in the last tab choose something invalid like 'de.foo' Created attachment 132290 [details]
stacktrace
Trying to make a Generic Class from a non-Geneirc Class in the Java editor. I will try to reproduce it.
Created attachment 132292 [details]
stacktrace
Repeatable in 7.3. This does not happen in 7.2.1. REGRESSION
Just type "< extends" or "< implements" after the keyword "class" and before the class name in a class declaration and it happens.
This bug already has 20 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=196269 Integrated into 'main-golden', will be available in build *201303072300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/6ce329c21b58 User: Jan Lahoda <jlahoda@netbeans.org> Log: #223495: guarding against incorrect error spans/end position, which sometimes occur. verified Integrated into 'releases', will be available in build *201303141828* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/8507e4bbaff3 User: Jan Lahoda <jlahoda@netbeans.org> Log: #223495: guarding against incorrect error spans/end position, which sometimes occur. |