thisProject = getProject(configuration);
thisCProject = CCorePlugin.getDefault().getCoreModel().create(thisProject);
projectLocation = thisCProject.getResource().getLocation().toOSString();
Is this is a remote project you're running? If so I would assume the getresource.getlocation call is not valid. Does anyone know the 'remote-safe' equivalent for this functionality?
In the meantime I can put in some null checks here.
Thanks,
Wyatt
On Fri, May 27, 2011 at 8:50 AM, Dave Wootton
<dwootton@xxxxxxxxxx> wrote:
This only seems to happen the first
time I open the profile configuration dialog. If I open the profile configuration
dialog a second time without changing anything, I don't get the exception.
Dave
|
[ptp-dev] Null pointer
exception in org.eclipse.ptp.etfw.internal.ToolStep.<init> |
Dave Wootton
| to:
| ptp-dev
|
05/27/2011 11:17 AM |
Please respond to Parallel Tools
Platform general developers
|
|
|
I'm getting a null pointer exception with the traceback
java.lang.NullPointerException
at org.eclipse.ptp.etfw.internal.ToolStep.<init>(ToolStep.java:100)
at org.eclipse.ptp.etfw.internal.BuilderTool.<init>(BuilderTool.java:81)
at org.eclipse.ptp.etfw.internal.ToolLaunchManager.launch(ToolLaunchManager.java:142)
at org.eclipse.ptp.etfw.parallel.ParallelToolLaunchConfigurationDelegate.launch(ParallelToolLaunchConfigurationDelegate.java:74)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:854)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:928)
at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1132)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
I have the latest PTP 5.0 source in my workspace. This happens when
I click 'profile' in the profile configuration dialog to run an application
which I have instrumented with HPC Toolkit
Dave_______________________________________________
ptp-dev mailing list
ptp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-dev
_______________________________________________
ptp-dev mailing list
ptp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-dev
_______________________________________________