Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 324681 - NullPointerException creating new Remote Project
Summary: NullPointerException creating new Remote Project
Status: CLOSED INVALID
Alias: None
Product: PTP
Classification: Tools
Component: Service Model (show other bugs)
Version: 4.0.3   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-07 14:05 EDT by Beth Tibbitts CLA
Modified: 2010-09-16 10:37 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Beth Tibbitts CLA 2010-09-07 14:05:47 EDT
on 4.0.3 build
  Parallel Tools Platform (PTP) End-User Runtime	4.0.3.201009071220	org.eclipse.ptp.feature.group

eclipse cpp 3.6.0
  Eclipse IDE for C/C++ Developers	1.3.0.20100617-0520	epp.package.cpp


Created two local projects OK, then...

(The "Configure Services" page of the "New Remote Project" wizard is empty, if I don't hit "Finish"

new remote c/c++ project, on abe.ncsa.uiuc.edu
NullPointerException

I did *not* login via ssh to the remote host

Popup error dialog:  Error Creating Project
Project cannot be created
Reason: Internal Error
Details >>  just says "java.lang.NullPointerEception"



Stack trace from .log:

!ENTRY org.eclipse.ui 4 0 2010-09-07 13:55:43.763
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NullPointerException
	at org.eclipse.ptp.services.core.ServiceModelManager.getServiceProvider(ServiceModelManager.java:417)
	at org.eclipse.ptp.rdt.ui.wizards.ServiceModelWizardPage.getNewConfiguration(ServiceModelWizardPage.java:220)
	at org.eclipse.ptp.rdt.ui.wizards.ServiceModelWizardPage.createControl(ServiceModelWizardPage.java:147)
	at org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:1226)
	at org.eclipse.jface.wizard.WizardDialog.access$4(WizardDialog.java:1218)
	at org.eclipse.jface.wizard.WizardDialog$6.run(WizardDialog.java:1207)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
        ....
Comment 1 Beth Tibbitts CLA 2010-09-07 14:06:36 EDT
Here is what I installed:
started with eclipse-cpp as noted aboe
from ptp-master I installed PTP end-user runtime, RDT, and UPC feature only
Comment 2 Greg Watson CLA 2010-09-07 14:24:40 EDT
Are you using remote tools?

Did you install the Remote Tools Adapter?

Did you install the RDT Remote Tools Support?

You need to know what you're doing if you're going to pick and choose from an archive site.
Comment 3 Beth Tibbitts CLA 2010-09-07 14:37:01 EDT
Yes I'm using Remote Tools
I installed the PTP End-user Runtime - that includes all I should need, right?

The PTP End-user runtime from the archive site is ... different from the PTP End-user runtime from the Helios update site? I'm confused.




On the previous try, For remote location i entered a directory that didn't
exist, assuming it would create it.
If I enter a directory that I created beforehand, the "Configure Services"
wizard page is not blank.
But I still get the NullPointerException.
This try was with the 201009022249 build.
Comment 4 Greg Watson CLA 2010-09-07 14:52:31 EDT
No, the RDT Remote Tools Support is not part of the End User Runtime. Please list all the ptp features you have installed.
Comment 5 Greg Watson CLA 2010-09-07 14:57:05 EDT
Also, from the NPE, I'd say you're using an old workspace that was created with a different set of PTP plugins installed. In order to test effectively you need to start with a clean workspace.
Comment 6 Greg Watson CLA 2010-09-16 09:29:56 EDT
Is this still a problem? Please close if not.
Comment 7 Beth Tibbitts CLA 2010-09-16 10:30:55 EDT
No longer a problem