I have my “B:” drive mapped to a shared network location. Any time I try to open a file on it I get the exception below.
Interestingly, I am able to open files on other mapped drives, and I’m even able to open files on this drive if I give it the full path name, like \\server\share\...
It’s almost as if it doesn’t like the “B:\” mapping for some reason, and there’s something special about “B”
java.lang.NullPointerException
at org.openide.filesystems.FileUtil.toFile(FileUtil.java:613)
at com.aquafold.editor.standalone.StandaloneDataLoadersBridge.registerFile(StandaloneDataLoadersBridge.java:376)
at com.aquafold.editor.standalone.StandaloneDataLoadersBridge.registerFile(StandaloneDataLoadersBridge.java:386)
at com.aquafold.editor.standalone.api.versioning.VersioningCache.setBase(VersioningCache.java:90)
Windows 7 (6.1, x86) / Cp1252 / en / US / Sun Microsystems Inc. 1.6.0_24-b07
|
9 KB
Long ago NetBeans expressly didn't support floppy drives (A:\ and B:\ on Windows) since they were probably very slow for the filesystem API they had built on top of the normal java.io.Files. This seems to be fixed now, but it's not part of Vincaed 2 since the fix is from early 2009 while the Vincaed 2 codebase stops in December 2008. I'll try to backport the fix.
The relevant NetBeans bugs: http://netbeans.org/bugzilla/show_bug.cgi?id=158936 and http://netbeans.org/bugzilla/show_bug.cgi?id=133768 , that have been fixed in http://hg.netbeans.org/core-main/rev/86eb39cbb867 .
It also seems to depend on the JDK bug http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6804027 which is still open (javax.swing.filechooser.FileSystemView.getFileSystemView().isFloppyDrive is indeed broken).
Issue #6028 |
Closed |
Fixed |
Resolved |
Completion |
No due date |
Fixed Build 10.0-rc-13 |
No time estimate |
Long ago NetBeans expressly didn't support floppy drives (A:\ and B:\ on Windows) since they were probably very slow for the filesystem API they had built on top of the normal java.io.Files. This seems to be fixed now, but it's not part of Vincaed 2 since the fix is from early 2009 while the Vincaed 2 codebase stops in December 2008. I'll try to backport the fix.
The relevant NetBeans bugs: http://netbeans.org/bugzilla/show_bug.cgi?id=158936 and http://netbeans.org/bugzilla/show_bug.cgi?id=133768 , that have been fixed in http://hg.netbeans.org/core-main/rev/86eb39cbb867 .
It also seems to depend on the JDK bug http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6804027 which is still open (javax.swing.filechooser.FileSystemView.getFileSystemView().isFloppyDrive is indeed broken).