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 7.3 Beta (Build 201210011125) VM: Java HotSpot(TM) 64-Bit Server VM, 23.3-b01, Java(TM) SE Runtime Environment, 1.7.0_07-b10 OS: Linux User Comments: jkovalsky: Was standing on a MemoryView > LineBreakpoints.java @ line 200 breakpoint. Invoked "New Watch" from editor's popup menu, typed "str" and pressed Ctrl+Space to invoke code completion. Stacktrace: java.lang.AssertionError: Invalid lineIdx=204, lineStartOffsets.length=203 at org.netbeans.modules.parsing.api.Source$MySourceAccessor.getLineStartOffset(Source.java:721) at org.netbeans.modules.parsing.impl.DialogBindingEmbeddingProvider.getEmbeddings(DialogBindingEmbeddingProvider.java:88) at org.netbeans.modules.parsing.impl.TaskProcessor.callEmbeddingProvider(TaskProcessor.java:573) at org.netbeans.modules.parsing.impl.SourceCache.getAllEmbeddings(SourceCache.java:306) at org.netbeans.modules.parsing.api.ResultIterator.getEmbeddings(ResultIterator.java:163) at org.netbeans.modules.parsing.api.ResultIterator.getParserResult(ResultIterator.java:149)
Created attachment 125198 [details] stacktrace
The dbg wants to create DialogBinding on non existent line. Jirko cant you describe the "Was standing on a MemoryView > LineBreakpoints.java @ line 200 breakpoint." in more details. Thanks
Yes, sure. I was debugging tests.LineBreakpoints.java file in Memory View project [1]. The debugger just stopped at my breakpoint at line 200 and I wanted to create new watch "string" using Editor's popup menu. Don't hesitate to ask further if something is not clear. [1] http://wiki.netbeans.org/wiki/images/0/03/MemoryView.zip
Created attachment 125317 [details] stacktrace
Fixed by changeset: 237261:926fc6cd31f0 http://hg.netbeans.org/core-main/rev/926fc6cd31f0
Integrated into 'main-golden', will be available in build *201210250921* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/926fc6cd31f0 User: mentlicher@netbeans.org Log: #219317: Set a zero-based line number.