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.
Build: NetBeans IDE Dev (Build 201212070001) VM: Java HotSpot(TM) 64-Bit Server VM, 23.5-b02, Java(TM) SE Runtime Environment, 1.7.0_09-b05 OS: Linux User Comments: aldobrucale: Add static import for a @Messages generated string Stacktrace: javax.swing.text.BadLocationException: Invalid offset=-1 < 0; docLen=2185 at org.netbeans.modules.editor.lib2.document.EditorDocumentContent.checkOffsetNonNegative(EditorDocumentContent.java:264) at org.netbeans.modules.editor.lib2.document.EditorDocumentContent.checkOffsetInContent(EditorDocumentContent.java:278) at org.netbeans.modules.editor.lib2.document.EditorDocumentContent.createBackwardBiasPosition(EditorDocumentContent.java:199) at org.netbeans.editor.BaseDocument.createPosition(BaseDocument.java:1306) at org.openide.text.NbDocument.createPosition(NbDocument.java:225) at org.netbeans.modules.java.hints.infrastructure.ErrorHintsProvider$1.run(ErrorHintsProvider.java:533)
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
Fixed: http://hg.netbeans.org/jet-main/rev/6ce329c21b58
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
release73: http://hg.netbeans.org/releases/rev/8507e4bbaff3
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.