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
URL:
Keywords:
Depends on:
Blocks:
 
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


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

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 > LineBreakpoints.java @ 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.




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

Entering a new watch during debug session.