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 235737

Summary: IndexOutOfBoundsException: Index: 1, Size: 1
Product: java Reporter: tomzi <tomzi>
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: P3    
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 203727
Attachments: stacktrace

Description tomzi 2013-09-10 07:42:35 UTC
This bug was originally marked as duplicate of bug 129376, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.4 Beta (Build 201307092200)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.25-b01, Java(TM) SE Runtime Environment, 1.7.0_25-b15
OS: Linux

User Comments:
tomzi: .




Stacktrace: 
java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
   at com.sun.tools.javac.util.List.get(List.java:462)
   at org.netbeans.modules.refactoring.java.plugins.ChangeParamsTransformer.getNewArguments(ChangeParamsTransformer.java:415)
   at org.netbeans.modules.refactoring.java.plugins.ChangeParamsTransformer.visitMethodInvocation(ChangeParamsTransformer.java:441)
   at org.netbeans.modules.refactoring.java.plugins.ChangeParamsTransformer.visitMethodInvocation(ChangeParamsTransformer.java:94)
   at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1475)
   at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:68)
Comment 1 tomzi 2013-09-10 07:42:36 UTC
Created attachment 139874 [details]
stacktrace
Comment 2 Martin Balin 2015-09-17 11:28:12 UTC
Report from old NetBeans version. Due to code changes since it was reported likely not reproducible now. Feel free to reopen if happens in 8.0.2 or 8.1.