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 256085

Summary: IndexOutOfBoundsException: start < 0 (-3 < 0)
Product: java Reporter: misterm <misterm>
Component: HintsAssignee: Svata Dedic <sdedic>
Status: RESOLVED INCOMPLETE    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 220686
Attachments: stacktrace

Description misterm 2015-10-21 18:12:42 UTC
This bug was originally marked as duplicate of bug 245949, 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 20151002-3d4c315fd13b)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.40-b25, Java(TM) SE Runtime Environment, 1.8.0_40-b26
OS: Windows 8

User Comments:
misterm: Typing in a hint file

misterm: Opening a file

misterm: .

misterm: .

misterm: Typing




Stacktrace: 
java.lang.IndexOutOfBoundsException: start < 0 (-3 < 0)
   at org.netbeans.spi.editor.hints.ErrorDescriptionFactory.createErrorDescription(ErrorDescriptionFactory.java:216)
   at org.netbeans.modules.java.hints.declarative.idebinding.HintsTask$1.run(HintsTask.java:134)
   at org.netbeans.modules.java.hints.declarative.idebinding.HintsTask$1.run(HintsTask.java:123)
   at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:486)
   at org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:609)
   at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:153)
Comment 1 misterm 2015-10-21 18:12:43 UTC
Created attachment 156889 [details]
stacktrace
Comment 2 Svata Dedic 2016-06-22 12:39:01 UTC
Need more data. Ideally the source file and the user-defined custom declarative hints.