Sergio created NETBEANS-4953:
--------------------------------

             Summary: Error. Can't open path like \\wsl$\Ubuntu\home\
                 Key: NETBEANS-4953
                 URL: https://issues.apache.org/jira/browse/NETBEANS-4953
             Project: NetBeans
          Issue Type: Bug
         Environment: Windows 10
            Reporter: Sergio


I got error when try create/open a project that located on  \\wsl$\Ubuntu\home\ 
...

---

java.net.URISyntaxException: Illegal character in hostname at index 10: 
file://wsl$/Ubuntu/home/mmmm/Projects/java.net.URISyntaxException: Illegal 
character in hostname at index 10: file://wsl$/Ubuntu/home/mmmm/Projects/ at 
java.net.URI$Parser.fail(URI.java:2848) at 
java.net.URI$Parser.parseHostname(URI.java:3387) at 
java.net.URI$Parser.parseServer(URI.java:3236) at 
java.net.URI$Parser.parseAuthority(URI.java:3155) at 
java.net.URI$Parser.parseHierarchical(URI.java:3097) at 
java.net.URI$Parser.parse(URI.java:3053) at java.net.URI.<init>(URI.java:673) 
at java.net.URI.<init>(URI.java:774) at 
org.netbeans.modules.masterfs.filebasedfs.FileBasedURLMapper.toURI(FileBasedURLMapper.java:111)Caused:
 java.lang.Error at 
org.netbeans.modules.masterfs.filebasedfs.FileBasedURLMapper.toURI(FileBasedURLMapper.java:113)
 at 
org.netbeans.modules.masterfs.filebasedfs.FileBasedURLMapper.toURI(FileBasedURLMapper.java:105)
 at 
org.netbeans.modules.masterfs.filebasedfs.FileBasedURLMapper.fileToURL(FileBasedURLMapper.java:87)
 at 
org.netbeans.modules.masterfs.filebasedfs.FileBasedURLMapper.getURL(FileBasedURLMapper.java:50)
 at 
org.netbeans.modules.masterfs.MasterURLMapper.getURL(MasterURLMapper.java:44) 
at org.openide.filesystems.URLMapper.findURL(URLMapper.java:115) at 
org.openide.filesystems.FileObject.toURL(FileObject.java:1216) at 
org.openide.filesystems.FileObject.toURI(FileObject.java:1227) at 
org.netbeans.modules.cpplite.project.CPPLiteProject.getRootPreferences(CPPLiteProject.java:57)
 at 
org.netbeans.modules.cpplite.project.CPPLiteProject.access$200(CPPLiteProject.java:44)
 at 
org.netbeans.modules.cpplite.project.CPPLiteProject$FactoryImpl.isProject2(CPPLiteProject.java:138)
 at 
org.netbeans.modules.cpplite.project.CPPLiteProject$FactoryImpl.isProject(CPPLiteProject.java:147)
 at 
org.netbeans.modules.cpplite.project.CPPLiteProject$FactoryImpl.loadProject(CPPLiteProject.java:152)
 at 
org.netbeans.modules.projectapi.nb.NbProjectManager.createProject(NbProjectManager.java:376)
 at 
org.netbeans.modules.projectapi.nb.NbProjectManager.access$300(NbProjectManager.java:69)
 at 
org.netbeans.modules.projectapi.nb.NbProjectManager$2.run(NbProjectManager.java:289)
 at 
org.netbeans.modules.projectapi.nb.NbProjectManager$2.run(NbProjectManager.java:218)
 at 
org.netbeans.modules.openide.util.DefaultMutexImplementation.readAccess(DefaultMutexImplementation.java:188)
 at org.openide.util.Mutex.readAccess(Mutex.java:225) at 
org.netbeans.modules.projectapi.nb.NbProjectManager.findProject(NbProjectManager.java:218)
 at 
org.netbeans.api.project.ProjectManager.findProject(ProjectManager.java:142) at 
org.netbeans.spi.project.support.ant.SourcesHelper.remarkExternalRoots(SourcesHelper.java:847)
 at 
org.netbeans.spi.project.support.ant.SourcesHelper.registerExternalRoots(SourcesHelper.java:818)
 at 
org.netbeans.spi.project.support.ant.SourcesHelper.registerExternalRoots(SourcesHelper.java:759)
 at 
org.netbeans.modules.php.project.PhpSources.initSources(PhpSources.java:119) at 
org.netbeans.modules.php.project.PhpSources.access$100(PhpSources.java:45) at 
org.netbeans.modules.php.project.PhpSources$1.run(PhpSources.java:93) at 
org.netbeans.modules.php.project.PhpSources$1.run(PhpSources.java:82) at 
org.netbeans.modules.openide.util.DefaultMutexImplementation.readAccess(DefaultMutexImplementation.java:188)
 at org.openide.util.Mutex.readAccess(Mutex.java:193) at 
org.netbeans.modules.php.project.PhpSources.getSourceGroups(PhpSources.java:82) 
at 
org.netbeans.modules.versioning.core.ProjectMenuItem.getRootFilesForProjectNodes(ProjectMenuItem.java:193)
 at 
org.netbeans.modules.versioning.core.ProjectMenuItem.createItems(ProjectMenuItem.java:74)
 at 
org.netbeans.modules.versioning.core.ProjectMenuItem.access$200(ProjectMenuItem.java:51)
 at 
org.netbeans.modules.versioning.core.ProjectMenuItem$DynamicDummyItem.getMenuPresenters(ProjectMenuItem.java:177)
 at 
org.netbeans.modules.openide.awt.DefaultAWTBridge.convertComponents(DefaultAWTBridge.java:100)
 at org.openide.util.Utilities.actionsToPopup(Utilities.java:1714) at 
org.openide.util.Utilities.actionsToPopup(Utilities.java:1790) at 
org.openide.explorer.view.TreeView.createPopup(TreeView.java:1017) at 
org.openide.explorer.view.TreeView$PopupAdapter.showPopup(TreeView.java:1514) 
at org.openide.awt.MouseUtils$PopupMouseAdapter.maybePopup(MouseUtils.java:168) 
at 
org.openide.awt.MouseUtils$PopupMouseAdapter.mouseReleased(MouseUtils.java:163) 
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:290) at 
java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289) at 
java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289) at 
java.awt.Component.processMouseEvent(Component.java:6539) at 
javax.swing.JComponent.processMouseEvent(JComponent.java:3324) at 
java.awt.Component.processEvent(Component.java:6304) at 
java.awt.Container.processEvent(Container.java:2239) at 
java.awt.Component.dispatchEventImpl(Component.java:4889) at 
java.awt.Container.dispatchEventImpl(Container.java:2297) at 
java.awt.Component.dispatchEvent(Component.java:4711) at 
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904) at 
java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535) at 
java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476) at 
java.awt.Container.dispatchEventImpl(Container.java:2283) at 
java.awt.Window.dispatchEventImpl(Window.java:2746) at 
java.awt.Component.dispatchEvent(Component.java:4711) at 
java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760) at 
java.awt.EventQueue.access$500(EventQueue.java:97) at 
java.awt.EventQueue$3.run(EventQueue.java:709) at 
java.awt.EventQueue$3.run(EventQueue.java:703) at 
java.security.AccessController.doPrivileged(Native Method) at 
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
 at 
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84)
 at java.awt.EventQueue$4.run(EventQueue.java:733) at 
java.awt.EventQueue$4.run(EventQueue.java:731) at 
java.security.AccessController.doPrivileged(Native Method) at 
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
 at java.awt.EventQueue.dispatchEvent(EventQueue.java:730) at 
org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)[catch]
 at 
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
 at 
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) 
at 
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at 
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at 
java.awt.EventDispatchThread.run(EventDispatchThread.java:82)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to