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.
NetBeans IDE Dev (Build 200703251800) 1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105 Linux version 2.6.5-1.358 running on i386 en_US (nb); UTF-8 ISE it thrown when using 'Add import' hint in class which has no empty space or/and comments at the beginning of the file (e.g. class in default package, the declaration begins at the first line) Steps to reproduce: 1) create new class in default package 2) delete any leading comments (the kw 'class' must be at first line) 3) inside class body write 'IOException ioe;' 4) fix imports -> java.lang.IllegalStateException: No token fetched by moveNext() from token sequence yet: index=0 at org.netbeans.api.lexer.TokenSequence.checkTokenNotNull(TokenSequence.java:724) at org.netbeans.api.lexer.TokenSequence.offset(TokenSequence.java:233)
Created attachment 39961 [details] full stacktrace
Reassigning to java module for evaluation.
*** This issue has been marked as a duplicate of 100162 ***
verified duplicate