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.
Think I've seen this before but don't know if it's reported. I copy a method body from another class into my currently edited class, and get this (build 060714). Looks like something is just caching stale data about the document size and trying to use it. Probably just doing whatever it's doing under the document lock would fix it. java.lang.IndexOutOfBoundsException: Invalid line index=65 >= lineCount=55 at org.netbeans.editor.LineRootElement.getElement(LineRootElement.java:92) at org.openide.text.NbDocument$DocumentRenderer.run(NbDocument.java:679) at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1187) at org.openide.text.NbDocument$DocumentRenderer.renderToInt(NbDocument.java:655) at org.openide.text.NbDocument.findLineOffset(NbDocument.java:159) at org.openide.text.DocumentLine$Set.getOriginal(DocumentLine.java:965) at org.netbeans.modules.editor.hints.i18n.I18NChecker.getLinePart(I18NChecker.java:181) at org.netbeans.modules.editor.hints.i18n.I18NChecker.parseForErrors(I18NChecker.java:164) at org.netbeans.modules.editor.hints.i18n.I18NChecker.run(I18NChecker.java:81) at org.netbeans.modules.editor.hints.i18n.I18NChecker.run(I18NChecker.java:62) at org.netbeans.api.java.source.JavaSource$CompilationJob.run(JavaSource.java:779) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:429) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:287) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:668) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:693) [catch] at java.lang.Thread.run(Thread.java:626)
Can't reproduce any more.