Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!
Bug 199738 - IllegalArgumentException: Index out of bounds, index=0, length=0
IllegalArgumentException: Index out of bounds, index=0, length=0
Status: RESOLVED FIXED
Product: java
Classification: Unclassified
Component: Refactoring
7.0
All All
: P3 (vote)
: TBD
Assigned To: Ralph Ruijs
issues@java
EXCEPTIONS_REPORT
:
Depends on:
Blocks: 65780
  Show dependency treegraph
 
Reported: 2011-06-27 15:13 UTC by charlweed
Modified: 2011-07-05 13:58 UTC (History)
0 users

See Also:
Issue Type: DEFECT
:


Attachments
stacktrace (4.68 KB, text/plain)
2011-06-27 15:13 UTC, charlweed
Details

Note You need to log in before you can comment on or make changes to this bug.
Description charlweed 2011-06-27 15:13:50 UTC
Build: NetBeans IDE Dev (Build 20110624-107e5da376ad)
VM: Java HotSpot(TM) 64-Bit Server VM, 19.1-b02, Java(TM) SE Runtime Environment, 1.6.0_24-b07
OS: Windows 7

User Comments:
charlweed: Refactoring an abstract generic method to have an additional parameter




Stacktrace: 
java.lang.IllegalArgumentException: Index out of bounds, index=0, length=0
   at org.netbeans.api.java.source.TreeMaker.removeComment(TreeMaker.java:2811)
   at org.netbeans.modules.refactoring.java.plugins.ChangeParamsTransformer.renameDeclIfMatch(ChangeParamsTransformer.java:360)
   at org.netbeans.modules.refactoring.java.plugins.ChangeParamsTransformer.visitMethod(ChangeParamsTransformer.java:256)
   at org.netbeans.modules.refactoring.java.plugins.ChangeParamsTransformer.visitMethod(ChangeParamsTransformer.java:88)
   at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:695)
   at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:67)
Comment 1 charlweed 2011-06-27 15:13:54 UTC
Created attachment 109133 [details]
stacktrace
Comment 2 Ralph Ruijs 2011-07-04 07:32:04 UTC
Changeset: a2e1de74412c
Author:    Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
Date:      2011-06-30 11:29
Message:   
Issue #199738 - IllegalArgumentException: Index out of bounds, index=0, length=0
Comment 3 Quality Engineering 2011-07-05 13:58:17 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/a2e1de74412c
User: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
Log: Issue #199738 - IllegalArgumentException: Index out of bounds, index=0, length=0


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo