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.
Build: NetBeans IDE Dev (Build 201509090002) VM: Java HotSpot(TM) 64-Bit Server VM, 25.45-b02, Java(TM) SE Runtime Environment, 1.8.0_45-b14 OS: Linux User Comments: apepin: Steps to reproduce: - Add a new remote host but do not set it as default - call Team->Remote Mercurial->Clone Other Result: NPE occurs. Stacktrace: java.lang.NullPointerException at org.netbeans.modules.remotefs.versioning.impl.RemoteVcsSupportImpl.getHome(RemoteVcsSupportImpl.java:266) at org.netbeans.modules.remotefs.versioning.api.RemoteVcsSupport.getHome(RemoteVcsSupport.java:128) at org.netbeans.modules.remotefs.versioning.api.VCSFileProxySupport.getHome(VCSFileProxySupport.java:548) at org.netbeans.modules.mercurial.remote.ui.wizards.CloneDestinationDirectoryPanel.defaultWorkingDirectory(CloneDestinationDirectoryPanel.java:278) at org.netbeans.modules.mercurial.remote.ui.wizards.CloneDestinationDirectoryPanel.<init>(CloneDestinationDirectoryPanel.java:67) at org.netbeans.modules.mercurial.remote.ui.wizards.CloneDestinationDirectoryWizardPanel.getComponent(CloneDestinationDirectoryWizardPanel.java:81)
Created attachment 156281 [details] stacktrace
Setting the remote host as default does not help anyhow.
fixing in enum, change set: b215f3a05e64 Note. Change set has wrong bug number in comment.
fixed in enum, change set: 33a251112d07 and increment spec versions: 0fc67155edbd
inc spec version in enum, change set: 93b1a80a164d
Integrated into 'main-silver', will be available in build *201510290002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/0d435ad6c52e User: Alexander Simon <alexvsimon@netbeans.org> Log: fixing Bug #255405 Remote Mercurial Clone Other causes NullPointerException (transplanted from 33a251112d074f262db14bff2536254391c7c3dd)
Verified in build 20151119.