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 247952

Summary: ArrayIndexOutOfBoundsException: -1
Product: java Reporter: adithyank
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: normal CC: frostalf, has2an1
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 209019
Attachments: stacktrace
stacktrace

Description adithyank 2014-10-15 13:34:30 UTC
Build: NetBeans IDE Dev (Build 201409140001)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.20-b23, Java(TM) SE Runtime Environment, 1.8.0_20-b26
OS: Linux

User Comments:
GUEST: I don't know how it was arised. Glad, if Netbeans collects enough data by itself.

GUEST: I was adding a new interface!!

adithyank: while copying the code from left to right in file diff window

GUEST: After adding abstract method into interface
I got this message

has2an1: I was trying to rename one package when I get this exception




Stacktrace: 
java.lang.ArrayIndexOutOfBoundsException: -1
   at com.sun.tools.javac.jvm.Code$State.peek(Code.java:1743)
   at com.sun.tools.javac.jvm.Code.emitInvokespecial(Code.java:459)
   at com.sun.tools.javac.jvm.Items$MemberItem.invoke(Items.java:529)
   at com.sun.tools.javac.jvm.Gen.visitApply(Gen.java:1912)
   at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1471)
   at com.sun.tools.javac.jvm.Gen.genExpr(Gen.java:950)
Comment 1 adithyank 2014-10-15 13:34:31 UTC
Created attachment 149918 [details]
stacktrace
Comment 2 frostalf 2015-02-14 04:51:29 UTC
Created attachment 151997 [details]
stacktrace

Re-Installed NetBeans 8.0.2 and just opened it.