Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 248777 - [discovery] NPE when trying to finish discovery new connection wizard without going to 2nd page
Summary: [discovery] NPE when trying to finish discovery new connection wizard without...
Status: RESOLVED WONTFIX
Alias: None
Product: Target Management
Classification: Tools
Component: RSE (show other bugs)
Version: 3.0.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: dsdp.tm.rse-inbox CLA
QA Contact: Martin Oberhuber CLA
URL:
Whiteboard:
Keywords:
Depends on: 330337
Blocks:
  Show dependency tree
 
Reported: 2008-09-26 15:54 EDT by David McKnight CLA
Modified: 2010-12-14 06:01 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David McKnight CLA 2008-09-26 15:54:47 EDT
In the new discovery connection wizard, if you click finish before going to the 2nd page you hit a null pointer exception:

This occurs in ServiceDiscoverWizard here:

public boolean performFinish() {

                IExtensionPoint ep =
Platform.getExtensionRegistry().getExtensionPoint("org.eclipse.rse.core","subsystemConfigurations");
//$NON-NLS-1$ //$NON-NLS-2$
                IConfigurationElement[] ce = ep.getConfigurationElements();

                SystemRefreshAllAction systemRefreshAllAction = new
SystemRefreshAllAction(null);
                ISystemRegistry registry =
RSECorePlugin.getTheSystemRegistry();

                String[] addresses = serviceDiscoveryPage.getAddresses();
                ....
}


The serviceDiscoveryPage is null.
Comment 1 Martin Oberhuber CLA 2010-12-14 06:01:04 EST
Won't fix this since discovery is being archived.