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 89748 - IllegalArgumentException while folder renaming.
Summary: IllegalArgumentException while folder renaming.
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-21 13:19 UTC by Peter Pis
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IllegalArgumentException (1.73 KB, text/plain)
2006-11-21 13:20 UTC, Peter Pis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Pis 2006-11-21 13:19:30 UTC
NetBeans IDE Dev (Build 061121)
1.6.0-rc; Java HotSpot(TM) Client VM 1.6.0-rc-b104
Linux version 2.6.9-1.667 running on i386
en_US (nb); UTF-8

Steps:
1. Create new j2se project.
2. Switch to "Files" view, create new folder in it (e.g. "new folder")
3. Select this folder and rename by editing the folder node in "Files" view
explorer.

IllegalArgumentException is thrown.

java.lang.IllegalArgumentException
        at java.net.URI.create(URI.java:842)
        at
org.netbeans.modules.java.source.usages.RepositoryUpdater$CompileWorker.delete(RepositoryUpdater.java:1006)
        at
org.netbeans.modules.java.source.usages.RepositoryUpdater$CompileWorker.access$1700(RepositoryUpdater.java:569)
        at
org.netbeans.modules.java.source.usages.RepositoryUpdater$CompileWorker$1.run(RepositoryUpdater.java:709)
        at
org.netbeans.modules.java.source.usages.RepositoryUpdater$CompileWorker$1.run(RepositoryUpdater.java:591)
        at
org.netbeans.modules.java.source.usages.ClassIndexManager.writeLock(ClassIndexManager.java:49)
        at
org.netbeans.modules.java.source.usages.RepositoryUpdater$CompileWorker.run(RepositoryUpdater.java:590)
        at
org.netbeans.modules.java.source.usages.RepositoryUpdater$CompileWorker.run(RepositoryUpdater.java:569)
Comment 1 Peter Pis 2006-11-21 13:20:25 UTC
Created attachment 36166 [details]
IllegalArgumentException
Comment 2 Tomas Zezula 2006-11-23 09:31:35 UTC
Checking in src/org/netbeans/modules/java/source/usages/RepositoryUpdater.java;
/cvs/java/source/src/org/netbeans/modules/java/source/usages/RepositoryUpdater.java,v
 <--  RepositoryUpdater.java
new revision: 1.13; previous revision: 1.12
done
Comment 3 Peter Pis 2006-11-24 16:15:34 UTC
Verified.