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 233858 - Massive full remote test failures due to NPE in New Project with existing source wizard
Summary: Massive full remote test failures due to NPE in New Project with existing sou...
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Remote (show other bugs)
Version: 7.4
Hardware: All All
: P2 normal (vote)
Assignee: Vladimir Kvashin
URL:
Keywords: TEST
Depends on:
Blocks:
 
Reported: 2013-08-02 15:14 UTC by Alexander Pepin
Modified: 2013-08-08 02:29 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
possible fix (2.13 KB, patch)
2013-08-05 10:46 UTC, Vladimir Kvashin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Pepin 2013-08-02 15:14:51 UTC
A lot of full remote tests fail due to NPE occurring while project creation in "New Project with Existing Sources" wizard at step 7.

    [junit] java.lang.NullPointerException
    [junit] 	at org.netbeans.modules.remote.impl.fs.RemoteFileSystem.findResource(RemoteFileSystem.java:276)
    [junit] 	at org.netbeans.modules.remote.impl.fs.RemoteFileSystem.findResource(RemoteFileSystem.java:272)
    [junit] 	at org.netbeans.modules.remote.impl.fs.RemoteFileSystem.findResource(RemoteFileSystem.java:94)
    [junit] 	at org.netbeans.modules.remote.spi.FileSystemProvider.getFileObject(FileSystemProvider.java:187)
    [junit] 	at org.netbeans.modules.cnd.remote.projectui.wizard.cnd.ImportRemoteProject.<init>(ImportRemoteProject.java:214)
    [junit] 	at org.netbeans.modules.cnd.remote.projectui.wizard.cnd.NewMakeProjectWizardIterator.instantiate(NewMakeProjectWizardIterator.java:372)
    [junit] 	at org.netbeans.modules.cnd.remote.projectui.wizard.cnd.NewMakeProjectWizardIterator.instantiate(NewMakeProjectWizardIterator.java:346)
    [junit] 	at org.openide.loaders.TemplateWizard$InstantiatingIteratorBridge.instantiate(TemplateWizard.java:1044)
    [junit] 	at org.openide.loaders.TemplateWizard.handleInstantiate(TemplateWizard.java:605)
    [junit] 	at org.openide.loaders.TemplateWizard.instantiateNewObjects(TemplateWizard.java:439)
    [junit] 	at org.openide.loaders.TemplateWizardIterImpl.instantiate(TemplateWizardIterImpl.java:253)
    [junit] 	at org.openide.loaders.TemplateWizardIteratorWrapper$ProgressInstantiatingIterator.instantiate(TemplateWizardIteratorWrapper.java:180)
    [junit] 	at org.openide.WizardDescriptor.callInstantiateOpen(WizardDescriptor.java:1626)
    [junit] 	at org.openide.WizardDescriptor.callInstantiate(WizardDescriptor.java:1570)
    [junit] 	at org.openide.WizardDescriptor.access$2300(WizardDescriptor.java:92)
    [junit] [catch] at org.openide.WizardDescriptor$Listener$2$1.run(WizardDescriptor.java:2257)
    [junit] 	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1432)
    [junit] 	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2042)
Comment 1 Vladimir Kvashin 2013-08-05 10:46:05 UTC
Created attachment 138282 [details]
possible fix
Comment 3 Quality Engineering 2013-08-08 02:29:40 UTC
Integrated into 'main-silver', will be available in build *201308072300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/6fb002a6f7bd
User: Vladimir Kvashin <vkvashin@netbeans.org>
Log: a very minor refactoring (fixing #233858 - Massive full remote test failures due to NPE in New Project)