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: | Unusable paths from Move Project not handled gracefully | ||
---|---|---|---|
Product: | projects | Reporter: | martinhavle <martinhavle> |
Component: | Generic Projects UI | Assignee: | Jesse Glick <jglick> |
Status: | RESOLVED WONTFIX | ||
Severity: | blocker | CC: | pjiricka |
Priority: | P4 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
martinhavle
2009-06-01 17:33:16 UTC
I am not sure I completely understand the steps (please provide easy to understand steps), but I believe this is a general projects issue. Here are my steps to reproduce: 1. Create a new project (Java SE project or C++ project, for example) 2. Select Move in the project's popup menu 3. Enter an invalid value into the project location, e.g.: "/Users/petrjiricka/NetBeansProjects*****" => No warning is shown. There is nothing bad with "/Users/petrjiricka/NetBeansProjects*****", I can move project there without problems on Mac. There is no simple way how to validate a path for any platform that Java runs on. The only sure way is try to create a folder and catch the exception. Lowering priority, there is error message afterwards. Not sure what to do about it. Users should simply avoid specifying unusable file paths to begin with. |