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

Summary: StringIndexOutOfBoundsException: 2
Product: java Reporter: javatlacati <javatlacati>
Component: EditorAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: normal CC: Mingun
Priority: P3    
Version: Dev   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 223890
Attachments: stacktrace

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 &eacute; on javadoc

javatlacati: Typed open bracket inside Javadoc

javatlacati: &eacute;




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