Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 359634 - [Wizards] IllegalArgumentException when typing a "." as folder name in new folder wizard
Summary: [Wizards] IllegalArgumentException when typing a "." as folder name in new fo...
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: IDE (show other bugs)
Version: 3.7.1   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 4.3 M6   Edit
Assignee: Dani Megert CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 353765 400886 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-10-01 09:01 EDT by Nicolas Bros CLA
Modified: 2013-03-12 08:25 EDT (History)
5 users (show)

See Also:


Attachments
stacktrace (4.31 KB, text/plain)
2011-10-01 09:01 EDT, Nicolas Bros CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Bros CLA 2011-10-01 09:01:05 EDT
Created attachment 204419 [details]
stacktrace

- Right click on a project, and select "New > Folder".
- Start typing a folder name that starts with "." in the "Folder name" field

You get the attached exception.


Eclipse SDK
Version: 3.7.1
Build id: M20110909-1335
Comment 1 Eric Moffatt CLA 2011-10-11 15:20:50 EDT
Good pickup, note that at least it doesn't cause an error dialog...

I'll triage this one to Wizards since I think the main issue seems to be that

WizardNewFolderMainPage.createFolderHandle(WizardNewFolderMainPage.java:358)

isn't trapping the exception from core resources..

Oleg, could you please take a look at this one to see if it's an easy fix ?
Comment 2 Dani Megert CLA 2013-02-15 05:40:51 EST
*** Bug 353765 has been marked as a duplicate of this bug. ***
Comment 3 Dani Megert CLA 2013-02-15 05:40:58 EST
*** Bug 400886 has been marked as a duplicate of this bug. ***
Comment 4 Dani Megert CLA 2013-02-15 06:00:53 EST
Filed bug 400910 against Platform Resource that they have to specify the IAE.

Fixed with http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=3b760d9782558cb55be0604d8c4dfb762a516ecd
Comment 5 Daniel Rolka CLA 2013-03-12 08:25:22 EDT
Verified in the build: I20130311-2000-win32-x86_64