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 199738 - IllegalArgumentException: Index out of bounds, index=0, length=0
Summary: IllegalArgumentException: Index out of bounds, index=0, length=0
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
Depends on:
Blocks: 65780
  Show dependency tree
 
Reported: 2011-06-27 15:13 UTC by charlweed
Modified: 2011-07-05 13:58 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 179591


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