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 62213 - IllegalArgExc thrown when renaming package
Summary: IllegalArgExc thrown when renaming package
Status: VERIFIED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Jan Becicka
URL:
Keywords: REGRESSION
: 62057 62193 62357 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-08-12 12:01 UTC by Milan Kubec
Modified: 2007-04-03 18:02 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
exc stack trace (75.19 KB, text/plain)
2005-08-12 12:02 UTC, Milan Kubec
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Milan Kubec 2005-08-12 12:01:54 UTC
[dev-200508111800, JDK 1.5.0_04]

IllegalArgumentException is thrown when doing refactoring of package.

Steps to reproduce:
1) Have J2SEProject with packages and classes in those packages
2) Invoke Refactor|Rename on the package node
3) Type different name of the package, click Next
Large number of IllegalArgumentExceptions is thrown, then refactoring preview is
shown.

java.lang.IllegalArgumentException: Cannot process more work than scheduled.
        at
org.netbeans.progress.module.InternalHandle.progress(InternalHandle.java:200)
        at
org.netbeans.api.progress.ProgressHandle.progress(ProgressHandle.java:125)
        at
org.netbeans.api.progress.ProgressHandle.progress(ProgressHandle.java:108)
        at
org.netbeans.modules.refactoring.spi.ui.ParametersPanel$15.run(ParametersPanel.java:608)
...
Comment 1 Milan Kubec 2005-08-12 12:02:16 UTC
Created attachment 23754 [details]
exc stack trace
Comment 2 Tomas Danek 2005-08-12 12:08:56 UTC
hmm, must be broken latly, in 20050807 JDK 1.5.0_02, sol/sparc , I'm unable to
reproduce!
Comment 3 Tomas Danek 2005-08-12 12:30:26 UTC
i tried this on 200508111800 (the same as Milan) JDK 1.5.0_02 and still not able
to reproduce:
my steps
1) Create new J2SE project
2) Launch from popup on JavaApplication1, Refactor|rename
3) type name, click next
4) confirm refactoring
5) everything is OK
Comment 4 Milos Kleint 2005-08-14 17:22:21 UTC
badly used APIs, reassigning to refactoring.
Comment 5 Jan Becicka 2005-08-15 10:51:18 UTC
Checking in MoveClassRefactoringPlugin.java;
/cvs/refactoring/src/org/netbeans/modules/refactoring/plugins/MoveClassRefactoringPlugin.java,v
 <--  MoveClassRefactoringPlugin.java
new revision: 1.31; previous revision: 1.30
done
Comment 6 Jan Becicka 2005-08-16 13:28:59 UTC
*** Issue 62193 has been marked as a duplicate of this issue. ***
Comment 7 Jan Becicka 2005-08-16 13:29:10 UTC
*** Issue 62357 has been marked as a duplicate of this issue. ***
Comment 8 Milan Kubec 2005-08-18 08:59:31 UTC
Cannot reproduce in dev-200508171800. Verified.
Comment 9 Jan Becicka 2005-08-19 13:08:17 UTC
*** Issue 62057 has been marked as a duplicate of this issue. ***