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 145574 - IllegalArgumentException: ||||\\';;lalsaSK871962@#$%^*&()+_!@#$$$$
Summary: IllegalArgumentException: ||||\\';;lalsaSK871962@#$%^*&()+_!@#$$$$
Status: RESOLVED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: rmichalsky
URL: http://statistics.netbeans.org/except...
Keywords: REGRESSION
: 129682 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-08-29 13:41 UTC by Lukas Hasik
Modified: 2008-09-16 16:30 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 101585


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Hasik 2008-08-29 13:41:10 UTC
Build: NetBeans IDE Dev (Build 200808281401)
VM: Java HotSpot(TM) 64-Bit Server VM, 1.5.0_15-b04, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_15-b04
OS: Linux, 2.6.24-19-generic, amd64
User comments: IAE when forbidden characters used as project name for new module suite
STACKTRACE: (first 10 lines)
java.lang.IllegalArgumentException: ||||\\';;lalsaSK871962@#$%^*&()+_!@#$$$$
        at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.createFolderImpl(FolderObj.java:141)
        at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj$2.call(FolderObj.java:212)
        at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj$2.call(FolderObj.java:211)
        at org.netbeans.modules.masterfs.filebasedfs.FileBasedFileSystem.runAsInconsistent(FileBasedFileSystem.java:112)
        at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.createFolder(FolderObj.java:215)
        at org.openide.filesystems.FileUtil.createFolder(FileUtil.java:501)
        at org.openide.filesystems.FileUtil.createFolder(FileUtil.java:265)
        at org.netbeans.modules.apisupport.project.suite.SuiteProjectGenerator$1.run(SuiteProjectGenerator.java:85)
        at org.netbeans.modules.apisupport.project.suite.SuiteProjectGenerator$1.run(SuiteProjectGenerator.java:84)
        at org.openide.util.Mutex.writeAccess(Mutex.java:433)
Comment 1 Lukas Hasik 2008-08-29 13:46:09 UTC
the same for new module
Comment 2 rmichalsky 2008-09-02 13:51:03 UTC
fixed locally, changeset #be1708e1d2f2
Comment 3 rmichalsky 2008-09-02 15:53:02 UTC
Sorry, changeset #4b46d5803a3a
Comment 4 Quality Engineering 2008-09-04 06:02:58 UTC
Integrated into 'main-golden', will be available in build *200809040201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/4b46d5803a3a
User: Richard Michalsky <rmichalsky@netbeans.org>
Log: #145574: don't permit forbidden chars in module and suite project names
Comment 5 rmichalsky 2008-09-16 16:30:14 UTC
*** Issue 129682 has been marked as a duplicate of this issue. ***