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 270527 - StringIndexOutOfBoundsException: 2
Summary: StringIndexOutOfBoundsException: 2
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: Dev
Hardware: All All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-01 17:10 UTC by javatlacati
Modified: 2017-05-01 17:10 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 223890


Attachments
stacktrace (2.10 KB, text/plain)
2017-05-01 17:10 UTC, javatlacati
Details

Note You need to log in before you can comment on or make changes to this bug.
Description javatlacati 2017-05-01 17:10:30 UTC
This issue was reported manually by javatlacati.
It already has 5 duplicates 


Build: NetBeans IDE Dev (Build 201612251122)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.91-b15, Java(TM) SE Runtime Environment, 1.8.0_91-b15
OS: Windows 10

User Comments:
Mingun: Unknown, maybe when I wrote some Javadoc comment

javatlacati: Moving around Javadoc with arrows

GUEST: typed open curly brace in Java code ({)

javatlacati: writing é on javadoc

javatlacati: Typed open bracket inside Javadoc

javatlacati: é




Stacktrace: 
java.lang.StringIndexOutOfBoundsException: 2
   at com.sun.tools.javac.parser.JavadocTokenizer$JavadocComment.getSourcePos(JavadocTokenizer.java:252)
   at com.sun.tools.javac.api.JavacTrees$1.getEndPosition(JavacTrees.java:278)
   at org.netbeans.modules.java.editor.base.javadoc.JavadocImports$3.scan(JavadocImports.java:281)
   at org.netbeans.modules.java.editor.base.javadoc.JavadocImports$3.scan(JavadocImports.java:277)
   at com.sun.source.util.DocTreeScanner.scan(DocTreeScanner.java:98)
   at com.sun.source.util.DocTreeScanner.visitDocComment(DocTreeScanner.java:183)
Comment 1 javatlacati 2017-05-01 17:10:32 UTC
Created attachment 164213 [details]
stacktrace