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.
Summary: | IndexOutOfBoundsException: Index: -1, Size: 0 | ||
---|---|---|---|
Product: | java | Reporter: | rcasha <rcasha> |
Component: | Refactoring | Assignee: | Ralph Ruijs <ralphbenjamin> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | akrasny, bht, epdv, FiruzzZ, ggghhhjjj, locked, markiewb, peterhull90, vv159170, xehpuk |
Priority: | P2 | ||
Version: | 8.1 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 219793 |
Attachments: |
stacktrace
stacktrace stacktrace stacktrace stacktrace stacktrace stacktrace |
Description
rcasha
2015-11-20 13:42:12 UTC
Created attachment 157429 [details]
stacktrace
Created attachment 157445 [details]
stacktrace
On refactoring - change method parameters
Created attachment 157610 [details]
stacktrace
trying to Change method signature
from this:
private void calcularCoberturaPostBajaOS()
to:
calcularCoberturaPostBajaOS(TipoBaja tb, Date fechaBaja)
Created attachment 157643 [details]
stacktrace
trying to change method signature (using hint) from one parameter to 2 params
Created attachment 157920 [details]
stacktrace
An attempt to change method's parameters.
(Accepted a proposed refactoring hint).
This bug already has 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=219793 Created attachment 158344 [details]
stacktrace
Update method via hint
Created attachment 158403 [details]
stacktrace
Change method parameter
This bug already has 20 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=219793 changeset: 587d78c734ce user: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org> date: Thu Mar 03 13:23:58 2016 +0100 summary: #256710 - New parameters can be added by clients Integrated into 'main-silver', will be available in build *201603040002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/587d78c734ce User: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org> Log: #256710 - New parameters can be added by clients Can somebody from reporters of this bug please verify the fix in the latest development build [1]? Thanks! [1] http://bits.netbeans.org/dev/nightly/latest/ (In reply to Jiri Kovalsky from comment #12) > Can somebody from reporters of this bug please verify the fix in the latest > development build [1]? Thanks! > > [1] http://bits.netbeans.org/dev/nightly/latest/ Using the steps: rcasha: Created a new class "X" without a constructor Created a static main method In the main method, call "new X(args);" From the hints, selected "change constructor" option This error was generated. Producible using Product Version: NetBeans IDE 8.1 (Build 201510222201) Not producible anymore using Product Version: NetBeans IDE Dev (Build 201603200001) |