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 202336 - [71cat] ArrayIndexOutOfBoundsException: -1
Summary: [71cat] ArrayIndexOutOfBoundsException: -1
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 7.1
Hardware: All All
: P2 normal (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-20 00:17 UTC by sunbiz
Modified: 2011-09-21 08:00 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 181216


Attachments
stacktrace (4.47 KB, text/plain)
2011-09-20 00:17 UTC, sunbiz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sunbiz 2011-09-20 00:17:38 UTC
Build: NetBeans IDE Dev (Build 201109180600)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.2-b06, Java(TM) SE Runtime Environment, 1.6.0_27-b07
OS: Windows 7

User Comments:
sunbiz: Change method parameter, removed all method parameter and pressed Preview. Got this exception




Stacktrace: 
java.lang.ArrayIndexOutOfBoundsException: -1
   at org.netbeans.modules.refactoring.java.plugins.ChangeParamsTransformer.renameDeclIfMatch(ChangeParamsTransformer.java:475)
   at org.netbeans.modules.refactoring.java.plugins.ChangeParamsTransformer.visitMethod(ChangeParamsTransformer.java:379)
   at org.netbeans.modules.refactoring.java.plugins.ChangeParamsTransformer.visitMethod(ChangeParamsTransformer.java:95)
   at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:695)
   at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:67)
   at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:80)
Comment 1 sunbiz 2011-09-20 00:17:42 UTC
Created attachment 110890 [details]
stacktrace
Comment 2 Ralph Ruijs 2011-09-20 06:47:48 UTC
Changeset: f04fcc0bebf6
Author:    Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
Date:      2011-09-20 08:44
Message:   
Issue #202336 - [71cat] ArrayIndexOutOfBoundsException: -1
Comment 3 Quality Engineering 2011-09-21 08:00:21 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/f04fcc0bebf6
User: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
Log: Issue #202336 - [71cat] ArrayIndexOutOfBoundsException: -1