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 158673 - BLE: Invalid offset=448 not within <0, 0> in JSAnalyzer
Summary: BLE: Invalid offset=448 not within <0, 0> in JSAnalyzer
Status: VERIFIED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: Sun All
: P3 blocker (vote)
Assignee: Marek Fukala
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-17 14:00 UTC by Jindrich Sedek
Modified: 2009-05-09 11:06 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 146431


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jindrich Sedek 2009-02-17 14:00:21 UTC
many duplicates issue - mainly from 6.5

Build: NetBeans IDE 6.1 (Build 200804211638)
VM: Java HotSpot(TM) Client VM, 1.6.0_01-b06, Java(TM) SE Runtime Environment, 1.6.0_01-b06
OS: Windows 2000, 5.0, x86
User comments: che bisogna farfe? passare ad eclipse? (cazzoni)
I did a double report by accident. Sorry.
STACKTRACE: (first 10 lines)
javax.swing.text.BadLocationException: Invalid offset=448 not within <0, 0>
        at org.netbeans.editor.Utilities.checkOffsetValid(Utilities.java:1331)
        at org.netbeans.editor.Utilities.checkOffsetValid(Utilities.java:1326)
        at org.netbeans.editor.Utilities.getRowEnd(Utilities.java:268)
        at org.netbeans.modules.javascript.editing.JsAnalyzer.folds(JsAnalyzer.java:207)
        at org.netbeans.modules.gsfret.editor.fold.GsfFoldManager$JavaElementFoldTask.addTree(GsfFoldManager.java:403)
        at org.netbeans.modules.gsfret.editor.fold.GsfFoldManager$JavaElementFoldTask.scan(GsfFoldManager.java:396)
        at org.netbeans.modules.gsfret.editor.fold.GsfFoldManager$JavaElementFoldTask.gsfFoldScan(GsfFoldManager.java:320)
        at org.netbeans.modules.gsfret.editor.fold.GsfFoldManager$JavaElementFoldTask.run(GsfFoldManager.java:287)
        at org.netbeans.modules.gsfret.editor.fold.GsfFoldManager$JavaElementFoldTask.run(GsfFoldManager.java:246)
        at org.netbeans.napi.gsfret.source.Source$CompilationJob.run(Source.java:1242)
Comment 1 Marek Fukala 2009-03-13 15:17:13 UTC
fixed in revision f1ee09d46b9c.
Comment 2 Jindrich Sedek 2009-03-16 14:40:17 UTC
v.
Comment 3 Quality Engineering 2009-03-17 08:36:23 UTC
Integrated into 'main-golden', will be available in build *200903170201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/f1ee09d46b9c
User: Marek Fukala <mfukala@netbeans.org>
Log: #158673 - BLE: Invalid offset=448 not within <0, 0> in JSAnalyzer