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 114828 - javax.swing.text.BadLocationException: Invalid offset=3584, docLength=3458
Summary: javax.swing.text.BadLocationException: Invalid offset=3584, docLength=3458
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Marek Fukala
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-06 01:24 UTC by lamboap
Modified: 2009-10-06 10:31 UTC (History)
9 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 2750


Attachments
stacktrace (1.22 KB, text/plain)
2007-09-06 01:24 UTC, lamboap
Details
stacktrace (1.22 KB, text/plain)
2007-09-06 20:21 UTC, kenpozeiro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lamboap 2007-09-06 01:24:02 UTC
Build: NetBeans IDE Dev (Build 200709051200)
VM: Java HotSpot(TM) Client VM, 1.6.0_02-b05
OS: Windows XP, 5.1, x86

User Comments:
Comment 1 lamboap 2007-09-06 01:24:09 UTC
Created attachment 48209 [details]
stacktrace
Comment 2 kenpozeiro 2007-09-06 20:21:08 UTC
Build: NetBeans IDE Dev (Build 200709040000)
VM: Java HotSpot(TM) Client VM, 1.6.0_02-b05
OS: Linux, 2.6.21-2-686, i386

User Comments: 
Comment 3 kenpozeiro 2007-09-06 20:21:17 UTC
Created attachment 48323 [details]
stacktrace
Comment 4 Jan Lahoda 2007-09-12 11:18:41 UTC
Should not happen anymore:
Checking in OccurrencesMarkProvider.java;
/cvs/java/editor/src/org/netbeans/modules/java/editor/semantic/OccurrencesMarkProvider.java,v  <-- 
OccurrencesMarkProvider.java
new revision: 1.6; previous revision: 1.5
done
Comment 5 Exceptions Reporter 2008-10-20 14:13:08 UTC
Reopening - reproduced in NetBeans IDE Dev (Build 200810151401)
http://statistics.netbeans.org/exceptions/detail.do?id=130913
Comment 6 Jan Becicka 2008-11-13 14:57:18 UTC
Last exception comes from css editor.
Comment 7 Marek Fukala 2008-11-18 14:17:34 UTC
should be already fixed
Comment 8 stefan79 2009-10-06 09:29:37 UTC
The problem occured at the current build.
Report: http://statistics.netbeans.org/analytics/exception.do?id=273391

----
Product Version: NetBeans IDE Dev (Build 200910010513)
Java: 1.6.0_16; Java HotSpot(TM) Client VM 14.2-b01
System: Windows XP version 5.1 running on x86; Cp1252; de_AT (nb)
----
Comment 9 stefan79 2009-10-06 09:35:40 UTC
To reproduce:
-) Make a file readonly
-) In an other file reference to the readonly-file and click at the hint to create a new method (in the readonly-File)

Then the exception occures.
Comment 10 Marek Fukala 2009-10-06 10:31:35 UTC
The last report is about java editor. Please file a new issue against java, this issue about html editor has been
already fixed.

...
at org.netbeans.modules.java.hints.errors.Utilities.commitAndComputeChangeInfo(Utilities.java:333)
at org.netbeans.modules.java.hints.errors.CreateMethodFix.implement(CreateMethodFix.java:220)
...