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 245949 - IndexOutOfBoundsException: start < 0 (-15 < 0)
Summary: IndexOutOfBoundsException: start < 0 (-15 < 0)
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-24 10:16 UTC by Jiri Prox
Modified: 2014-08-09 05:02 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 210878


Attachments
stacktrace (2.19 KB, text/plain)
2014-07-24 10:17 UTC, Jiri Prox
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Prox 2014-07-24 10:16:58 UTC
This bug was originally marked as duplicate of bug 233526, 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 20140721-396696a6b68a)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.11-b03, Java(TM) SE Runtime Environment, 1.8.0_11-b12
OS: Windows 7

User Comments:
jiriprox: Creating custom hint:
$mods$ $1 $var :: $1 instanceof javaapplication24.ServiceLocator
=> 
transient $1 $var;
;;

MackSix: 1. Opened Inpect & Transform custom script in editor.
2. Tried editing it in editor.

This exception is thrown in editor too.




Stacktrace: 
java.lang.IndexOutOfBoundsException: start < 0 (-15 < 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:493)
   at org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:598)
   at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:155)
Comment 1 Jiri Prox 2014-07-24 10:17:00 UTC
Created attachment 148270 [details]
stacktrace
Comment 2 Svata Dedic 2014-08-06 09:23:12 UTC
Fixed in jet-main#76e3a1bd4547
Comment 3 Quality Engineering 2014-08-09 05:02:44 UTC
Integrated into 'main-silver', will be available in build *201408090001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/76e3a1bd4547
User: Svata Dedic <sdedic@netbeans.org>
Log: #245949: unresolvable errs for placeholders hacked out. Errors with invalid positioning skipped