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.

Bug 255523 - AssertionError: Invalid lineIdx=5, lineStartOffsets.length=4
Summary: AssertionError: Invalid lineIdx=5, lineStartOffsets.length=4
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Parsing & Indexing (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Zezula
Depends on:
Reported: 2015-09-23 18:06 UTC by tbrunhoff
Modified: 2016-05-04 03:03 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 220143

stacktrace (2.46 KB, text/plain)
2015-09-23 18:06 UTC, tbrunhoff
stacktrace (2.33 KB, text/plain)
2015-11-19 19:50 UTC, tbrunhoff

Note You need to log in before you can comment on or make changes to this bug.
Description tbrunhoff 2015-09-23 18:06:54 UTC
This bug was originally marked as duplicate of bug 219317, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 201508230002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.45-b02, Java(TM) SE Runtime Environment, 1.8.0_45-b14
OS: Linux

User Comments:
jkovalsky: Was standing on a MemoryView > @ line 200 breakpoint. Invoked "New Watch" from editor's popup menu, typed "str" and pressed Ctrl+Space to invoke code completion.

tbrunhoff: typing in a watch variable during debug session.

java.lang.AssertionError: Invalid lineIdx=5, lineStartOffsets.length=4
   at org.netbeans.modules.parsing.api.Source$MySourceAccessor.getLineStartOffset(
   at org.netbeans.modules.parsing.impl.DialogBindingEmbeddingProvider.getEmbeddings(
   at org.netbeans.modules.parsing.impl.TaskProcessor.callEmbeddingProvider(
   at org.netbeans.modules.parsing.impl.SourceCache.getAllEmbeddings(
   at org.netbeans.modules.parsing.api.ResultIterator.getEmbeddings(
   at org.netbeans.modules.parsing.api.ResultIterator.getParserResult(
Comment 1 tbrunhoff 2015-09-23 18:06:56 UTC
Created attachment 156392 [details]
Comment 2 tbrunhoff 2015-11-19 19:50:53 UTC
Created attachment 157419 [details]

Entering a new watch during debug session.