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 262409

Summary: IndexOutOfBoundsException: Index: 0, Size: 0
Product: java Reporter: bazi
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: normal CC: bazi
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 224481
Attachments: stacktrace

Description bazi 2016-06-13 07:26:34 UTC
This bug was originally marked as duplicate of bug 252914, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.1 (Build 201510222201)
VM: OpenJDK 64-Bit Server VM, 25.91-b14, OpenJDK Runtime Environment, 1.8.0_91-8u91-b14-0ubuntu4~16.04.1-b14
OS: Linux

User Comments:
bazi: Can not use "implement interface" action.




Stacktrace: 
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
   at com.sun.tools.javac.util.List.get(List.java:475)
   at org.netbeans.modules.java.hints.suggestions.CreateSubclass$CreateSubclassFix$1$2.run(CreateSubclass.java:242)
   at org.netbeans.modules.java.hints.suggestions.CreateSubclass$CreateSubclassFix$1$2.run(CreateSubclass.java:220)
   at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:636)
   at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:626)
   at org.netbeans.modules.java.source.parsing.MimeTask.run(MimeTask.java:83)
Comment 1 bazi 2016-06-13 07:26:36 UTC
Created attachment 160035 [details]
stacktrace