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 - IndexOutOfBoundsException: Index: 0, Size: 0
Summary: IndexOutOfBoundsException: Index: 0, Size: 0
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-13 07:26 UTC by bazi
Modified: 2017-02-07 11:06 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 224481


Attachments
stacktrace (2.63 KB, text/plain)
2016-06-13 07:26 UTC, bazi
Details

Note You need to log in before you can comment on or make changes to this bug.
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