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: | Create new External WSDL using remote file system throws NPE | ||
---|---|---|---|
Product: | platform | Reporter: | Sreenivasan Genipudi <sreenigv> |
Component: | Filesystems | Assignee: | rmatous <rmatous> |
Status: | RESOLVED DUPLICATE | ||
Severity: | blocker | CC: | girixkumar |
Priority: | P2 | ||
Version: | 5.x | ||
Hardware: | All | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Sreenivasan Genipudi
2006-08-04 02:18:58 UTC
Importing files from a network drive is not a very strong use case. Downgrading to P3. The root cause of the problem is the FileObject API in Netbeans. I am trying to do the following: FileObject source = FileUtil.toFileObject(FileUtil.normalizeFile(srcFile)); this gives me a null source if srcFile is of the format "\\remotemachine\mydirectory\wsdl" on windows. java.io.File API is able to handle file with this path but not the FileObject. This problem is seen many ways in the Netbeans IDE. Here are some examples: 1. Try to add "\\remotemachine\mydirectory\wsdl" type folder in the "Favorites" tab and nothing will be mounted. 2. Try to open a Java Project from a "\\remotemachine\mydirectory\wsdl" path. You will notice that the contents are seen in the FileDialog, but the NB project folder is not recognized. I changed the retriever wizard to print error messages in the output window instead of ugly NPE. Once Netbeans FileObject (FileUtil) bug is fixed, this bug will be fixed completely. *** This issue has been marked as a duplicate of 46813 *** |