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 219024 - IndexOutOfBoundsException: Illegal OffsetKind[offset=-536804414] in org.netbeans.modules.csl.core.GsfDocument@632cabf, mimeType='text/javascript', kitClass=null, length=47847, version=309, file=org.ne
Summary: IndexOutOfBoundsException: Illegal OffsetKind[offset=-536804414] in org.netbe...
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Text (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-25 22:11 UTC by sunbiz
Modified: 2015-06-12 11:16 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 192764


Attachments
stacktrace (2.68 KB, text/plain)
2012-09-25 22:11 UTC, sunbiz
Details
stacktrace (1.81 KB, text/plain)
2013-11-28 20:14 UTC, rodrigorsantos
Details
stacktrace (2.77 KB, text/plain)
2014-09-26 09:02 UTC, manish582
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sunbiz 2012-09-25 22:11:48 UTC
Build: NetBeans IDE 7.3 Beta (Build 201209232010)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.10-b01, Java(TM) SE Runtime Environment, 1.6.0_35-b10
OS: Windows NT (unknown)

User Comments:
sunbiz: Scrolled to an error reported in the JS editor and got this exception




Stacktrace: 
java.lang.IndexOutOfBoundsException: Illegal OffsetKind[offset=-536804414] in org.netbeans.modules.csl.core.GsfDocument@632cabf, mimeType='text/javascript', kitClass=null, length=47847, version=309, file=org.netbeans.modules.csl.core.GsfDataObject@3809a8a1[C:\Users\Saptarshi\Documents\NetBeansProjects\AsyncRequest\web\javascripts\prototype.js@bc8703d9:3e355235] used by org.netbeans.modules.csl.core.GsfDataObject$GenericEditorSupport@6c398df4.
   at org.openide.text.PositionRef$Manager$OffsetKind.<init>(PositionRef.java:662)
   at org.openide.text.PositionRef.<init>(PositionRef.java:87)
   at org.openide.text.EditorSupportLineSet.createLine(EditorSupportLineSet.java:83)
   at org.openide.text.DocumentLine$Set.getCurrent(DocumentLine.java:1061)
   at org.netbeans.modules.editor.NbToolTip.buildTip(NbToolTip.java:256)
   at org.netbeans.modules.editor.NbToolTip.buildToolTip(NbToolTip.java:121)
Comment 1 sunbiz 2012-09-25 22:11:53 UTC
Created attachment 124910 [details]
stacktrace
Comment 2 Exceptions Reporter 2013-07-01 20:21:23 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=192764
Comment 3 rodrigorsantos 2013-11-28 20:14:25 UTC
Created attachment 142699 [details]
stacktrace

<Please provide a description of the problem or the steps to reproduce>
Comment 4 manish582 2014-09-26 09:02:00 UTC
Created attachment 149534 [details]
stacktrace

code formating got miss placed.