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 192623 - Can't create makefile based project on Windows
Summary: Can't create makefile based project on Windows
Status: RESOLVED DUPLICATE of bug 192622
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.0
Hardware: PC Windows XP
: P2 normal (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-29 09:22 UTC by soldatov
Modified: 2010-11-29 12:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description soldatov 2010-11-29 09:22:46 UTC
Scenario:
- Call "C/C++ Project with Existing Sources" wizard
- Select folder with Makefile
- Press Finish button
===>
java.lang.NullPointerException
	at org.netbeans.modules.remote.impl.fs.LocalFileSystemProvider.getRootFileSystem(LocalFileSystemProvider.java:98)
	at org.netbeans.modules.remote.impl.fs.LocalFileSystemProvider.isMine(LocalFileSystemProvider.java:144)
	at org.netbeans.modules.remote.spi.FileSystemProvider.normalizeFileObject(FileSystemProvider.java:111)
	at org.netbeans.modules.cnd.api.remote.RemoteFileUtil.normalizeFileObject(RemoteFileUtil.java:167)
	at org.netbeans.modules.cnd.makeproject.api.configurations.Item.<init>(Item.java:91)
	at org.netbeans.modules.cnd.makeproject.api.configurations.MakeConfigurationDescriptor.addFiles(MakeConfigurationDescriptor.java:1385)
	at org.netbeans.modules.cnd.makeproject.api.configurations.MakeConfigurationDescriptor.addFilesFromRoot(MakeConfigurationDescriptor.java:1293)
	at org.netbeans.modules.cnd.makeproject.api.configurations.MakeConfigurationDescriptor.initLogicalFolders(MakeConfigurationDescriptor.java:307)
	at org.netbeans.modules.cnd.makeproject.MakeProjectGenerator$1.run(MakeProjectGenerator.java:291)
	at org.netbeans.modules.cnd.makeproject.MakeProject.onProjectOpened(MakeProject.java:957)
	at org.netbeans.modules.cnd.makeproject.MakeProject.access$1000(MakeProject.java:148)
	at org.netbeans.modules.cnd.makeproject.MakeProject$ProjectOpenedHookImpl.projectOpened(MakeProject.java:1012)
	at org.netbeans.spi.project.ui.ProjectOpenedHook$1.projectOpened(ProjectOpenedHook.java:84)
	at org.netbeans.spi.project.ui.support.UILookupMergerSupport$OpenHookImpl.projectOpened(UILookupMergerSupport.java:196)
	at org.netbeans.spi.project.ui.ProjectOpenedHook$1.projectOpened(ProjectOpenedHook.java:84)
[catch] at org.netbeans.modules.project.ui.OpenProjectList.notifyOpened(OpenProjectList.java:1153)
	at org.netbeans.modules.project.ui.OpenProjectList.doOpenProject(OpenProjectList.java:1236)
	at org.netbeans.modules.project.ui.OpenProjectList.doOpen(OpenProjectList.java:727)
	at org.netbeans.modules.project.ui.OpenProjectList.access$2000(OpenProjectList.java:134)
	at org.netbeans.modules.project.ui.OpenProjectList$4.run(OpenProjectList.java:614)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1424)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1968)
Comment 1 Vladimir Kvashin 2010-11-29 12:39:22 UTC
The root cause is the same as in issue 192622

*** This bug has been marked as a duplicate of bug 192622 ***