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.
Start Import Wizard for WTK or CDC TK project. Choose correct project, press Next button. In the panel where project name for new project should be entered you can type illegal project name: It is possible to enter "<>"" in the project name. P.S. Issue found during Java ME SDK 3.0 testing.
I have found an issue with IllegalArgumentException . It is thrown because project location file was not normalized . This fix concern to this issue with exception. With this fix now "<>" ( and "<", etc. ) is wrong string . But error message in this case is about already existed project folder. This is result of strange JDK behavior ( in my case at least ). This code : <code> File file = new File("<>"); file.getCanonicalPath(); </code> doesn't throw exception and result is current working directory. For me this is like JDK bug. If you consider this behavior as incorrect please file a bug against JDK. Our source code relies on JDK getCanonicalPath() method .
changeset: 128242:318733c0e3fc user: Denis Anisimov <ads@netbeans.org> date: Thu Apr 23 18:11:42 2009 +0400 summary: Fix for IZ#163463 - Import Wizard: weak check for Project name
Integrated into 'main-golden', will be available in build *200904240201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/318733c0e3fc User: Denis Anisimov <ads@netbeans.org> Log: Fix for IZ#163463 - Import Wizard: weak check for Project name
Verified with NetBeans IDE Dev (Build 200907270201)