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 reproduced in following conditions: - the folder is root of widows FS - the name is absolute path - driver of name is not equal system driver and driver of user dir and driver of NB home. - there are no access to driver of name in IDE before. The simplest steps: - Windows have two drives (for example C: and D:) - System drive is C: - Netbeans started from C:/... - User dir in C:/... Invoking of FileUtil.createFolder(windowsFileSystemRoot, "D:/tmp") produces: org.openide.filesystems.FileStateInvalidException at org.netbeans.modules.masterfs.filebasedfs.fileobjects.RootObjWindows.createFolder(RootObjWindows.java:194) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.RootObj.createFolder(RootObj.java:258) at org.openide.filesystems.FileUtil.createFolder(FileUtil.java:864) See also Bug #203507
I suppose the same issue is with FileUtil.createData(FileObject folder, String name), right?
Integrated into 'releases' Changeset: http://hg.netbeans.org/releases/rev/6c695bde1d46 User: Alexander Simon <alexvsimon@netbeans.org> Log: fixing Bug #203507 Can't create project in Samba Remote mode (WindowsXP->Solaris) - work around of Bug #203636 (transplanted from 22967fdc62415c91cf63823194a3f11bd679986f)
Why the report talks about Samba? Is this issue reproducible just with regular Windows drives or not?
(In reply to comment #3) > Why the report talks about Samba? Is this issue reproducible just with regular > Windows drives or not? Yes, reproducible
OK, reproduced.
ergonomics#178ae9aa4821
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/178ae9aa4821 User: Jaroslav Tulach <jtulach@netbeans.org> Log: #203636: Make sure factory is created for each root
verified. Product Version: NetBeans IDE 7.1 RC1 (Build 201111232200) Java: 1.7.0; Java HotSpot(TM) Client VM 21.0-b17 System: Windows 7 version 6.1 running on x86; Cp1252; en_US (nb) User directory: C:\Users\tester\.netbeans\7.1rc1 Cache directory: C:\Users\tester\.netbeans\7.1rc1\var\cache