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 226168 - IndexOutOfBoundsException: pos: 7, token.length: 7, token text: * *
Summary: IndexOutOfBoundsException: pos: 7, token.length: 7, token text: * *
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.3
Hardware: All All
: P2 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
: 226880 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-02-15 10:59 UTC by Martin Janicek
Modified: 2013-07-21 02:16 UTC (History)
7 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 197786


Attachments
stacktrace (3.77 KB, text/plain)
2013-02-15 10:59 UTC, Martin Janicek
Details
stacktrace (5.78 KB, text/plain)
2013-03-01 08:35 UTC, Martin Janicek
Details
stacktrace (6.48 KB, text/plain)
2013-06-07 11:52 UTC, javydreamercsw
Details
stacktrace (6.49 KB, text/plain)
2013-06-07 12:01 UTC, javydreamercsw
Details
stacktrace (6.49 KB, text/plain)
2013-06-07 12:04 UTC, javydreamercsw
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Janicek 2013-02-15 10:59:27 UTC
Build: NetBeans IDE Dev (Build 201302132300)
VM: Java HotSpot(TM) Client VM, 14.3-b01, Java(TM) SE Runtime Environment, 1.6.0_17-b04
OS: Windows XP

User Comments:
tamermarzouk: I just opened a java class file

tamermarzouk: trying to write into a java class file




Stacktrace: 
java.lang.IndexOutOfBoundsException: pos: 7, token.length: 7, token text: 
 *
 * 
   at org.netbeans.modules.java.editor.javadoc.JavadocCompletionUtils.isLineBreak(JavadocCompletionUtils.java:326)
   at org.netbeans.modules.java.editor.javadoc.JavadocCompletionUtils.isLineBreak(JavadocCompletionUtils.java:306)
   at org.netbeans.modules.java.editor.javadoc.DocPositions.resolve(DocPositions.java:177)
   at org.netbeans.modules.java.editor.javadoc.DocPositions.getTags(DocPositions.java:138)
   at org.netbeans.modules.java.editor.javadoc.JavadocImports.computeReferencedElements(JavadocImports.java:123)
   at org.netbeans.modules.java.editor.imports.UnusedImports$DetectorVisitor.handleJavadoc(UnusedImports.java:138)
Comment 1 Martin Janicek 2013-02-15 10:59:28 UTC
Created attachment 131427 [details]
stacktrace
Comment 2 Martin Janicek 2013-03-01 08:35:33 UTC
Created attachment 132047 [details]
stacktrace
Comment 3 Dusan Balek 2013-04-09 11:20:30 UTC
*** Bug 226880 has been marked as a duplicate of this bug. ***
Comment 4 javydreamercsw 2013-06-07 11:52:29 UTC
Created attachment 135500 [details]
stacktrace

Editing code
Comment 5 javydreamercsw 2013-06-07 12:01:29 UTC
Created attachment 135502 [details]
stacktrace

Saving a file.
Comment 6 javydreamercsw 2013-06-07 12:04:29 UTC
Created attachment 135503 [details]
stacktrace

select a different tab in editor.
Comment 7 Marian Mirilovic 2013-07-10 07:25:47 UTC
141 duplicates .. at least P2
Comment 8 Dusan Balek 2013-07-19 15:49:53 UTC
Fixed in jet-main.

http://hg.netbeans.org/jet-main/rev/74c707534a10
Comment 9 Quality Engineering 2013-07-21 02:16:52 UTC
Integrated into 'main-silver', will be available in build *201307202300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/74c707534a10
User: Dusan Balek <dbalek@netbeans.org>
Log: Issue #226168 - IndexOutOfBoundsException: pos: 7, token.length: 7, token text: * * - fixed.