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 231207 - javax.swing.text.BadLocationException: Invalid offset=27091 > (docLen+1)=26999
Summary: javax.swing.text.BadLocationException: Invalid offset=27091 > (docLen+1)=26999
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Javadoc (show other bugs)
Version: 7.4
Hardware: All All
: P2 normal (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-13 12:19 UTC by aquaglia
Modified: 2013-06-18 14:48 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 201385


Attachments
stacktrace (5.20 KB, text/plain)
2013-06-13 12:19 UTC, aquaglia
Details

Note You need to log in before you can comment on or make changes to this bug.
Description aquaglia 2013-06-13 12:19:50 UTC
This bug was originally marked as duplicate of bug 229570, 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 201306122301)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.21-b01, Java(TM) SE Runtime Environment, 1.7.0_21-b11
OS: Windows 7

User Comments:
aquaglia: Editing java code (JAX RS)




Stacktrace: 
javax.swing.text.BadLocationException: Invalid offset=27091 > (docLen+1)=26999
   at org.netbeans.modules.editor.lib2.document.EditorDocumentContent.checkOffsetInContent(EditorDocumentContent.java:286)
   at org.netbeans.modules.editor.lib2.document.EditorDocumentContent.createPosition(EditorDocumentContent.java:198)
   at javax.swing.text.AbstractDocument.createPosition(AbstractDocument.java:831)
   at org.netbeans.modules.javadoc.hints.Analyzer.visitReturn(Analyzer.java:563)
   at org.netbeans.modules.javadoc.hints.Analyzer.visitReturn(Analyzer.java:141)
   at com.sun.tools.javac.tree.DCTree$DCReturn.accept(DCTree.java:551)
Comment 1 aquaglia 2013-06-13 12:19:52 UTC
Created attachment 135749 [details]
stacktrace
Comment 2 Ralph Ruijs 2013-06-16 15:10:09 UTC
changeset   : e51a2e34e726
author      : Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
date        : Sun Jun 16 17:04:35 CEST 2013
summary     : #231207 - javax.swing.text.BadLocationException: Invalid offset=27091 > (docLen+1)=26999
Comment 3 Quality Engineering 2013-06-18 14:48:07 UTC
Integrated into 'main-golden', will be available in build *201306181109* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/e51a2e34e726
User: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
Log: #231207 - javax.swing.text.BadLocationException: Invalid offset=27091 > (docLen+1)=26999