[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [ptp-dev] Null pointer exception in ToolLaunchManager.launch with PTP 5.0.4 version
|
My latest commit should correct this. Please let me know.
=Wyatt
On Wed, Jan 18, 2012 at 12:33 PM, Dave Wootton
<dwootton@xxxxxxxxxx> wrote:
Wyatt
This is a makefile based project
Dave
From:
Wyatt Spear <wspear@xxxxxxxxxxxxxx>
To:
Parallel Tools Platform
general developers <ptp-dev@xxxxxxxxxxx>
Cc:
ptp-dev-bounces@xxxxxxxxxxx
Date:
01/18/2012 03:28 PM
Subject:
Re: [ptp-dev]
Null pointer exception in ToolLaunchManager.launch with PTP 5.0.4 version
Sent by:
ptp-dev-bounces@xxxxxxxxxxx
Is this a makefile based project or a managed project?
=Wyatt
On Wed, Jan 18, 2012 at 8:58 AM, Dave Wootton <dwootton@xxxxxxxxxx>
wrote:
Wyatt
This is a synchronized C project where the application is running Red Hat
6 Power Linux and I am using the original PE resource manager (org.eclipse.ptp.rm.ibm.pe.proxy)
Dave
From: Wyatt
Spear <wspear@xxxxxxxxxxxxxx>
To: Parallel
Tools Platform general developers <ptp-dev@xxxxxxxxxxx>
Cc:
ptp-dev-bounces@xxxxxxxxxxx
Date: 01/18/2012
11:18 AM
Subject: Re:
[ptp-dev] Null pointer exception in ToolLaunchManager.launch with PTP 5.0.4
version
Sent by: ptp-dev-bounces@xxxxxxxxxxx
Right, another question: what is the nature of the project? Eclipse is
running on Win7 but the what is the remote environment, resource manager
and project type?
=Wyatt
On Tue, Jan 17, 2012 at 8:17 PM, Dave Wootton <dwootton@xxxxxxxxxx>
wrote:
Wyatt
I updated my workspace and did see your two commits pulled in. Now I don't
get either original null pointer exception, but after I click Profile and
Eclipse runs for a bit I get another null pointer exception where 'tail'
is null in Path.append().
Since the XML file is part of the plugin users get and is useless otherwise
I don't have a problem appending it here.
Let me know if you need anything else.
<?xml
version="1.0"
encoding="UTF-8"?>
<toolset.01>
<tool
name="HPC
Toolkit" explicitexecution="true">
<analyze>
<utility
command="HPCTMarkJob"
group="internal"/>
</analyze>
<execute>
<global
name="HPC
Toolkit">
<optionpane
title="HPM">
<togoption
label="Output
file name:"
optname="HPM_OUTPUT_NAME"
envvar="true"
required="true"
tooltip="Specify
output file name">
<optvalue
type="text"
fieldrequired="true"/>
</togoption>
<togoption
label="Maximum
instrumentation points:"
optname="HPM_NUM_INST_PTS"
envvar="true"
required="true"
tooltip="Specify
maximum number of instrumentation points">
<optvalue
type="text"
fieldrequired="true"/>
</togoption>
<togoption
label="Hardware
counter group:"
optname="HPM_EVENT_SET"
envvar="true"
required="true"
tooltip="Specify
hardware counter group">
<optvalue
type="text"
fieldrequired="true"/>
</togoption>
<togoption
label="Aggregation
plugin name:"
optname="HPM_AGGREGATE"
envvar="true"
required="true"
tooltip="Specify
data aggregation plugin filename">
<optvalue
type="text"
fieldrequired="true"/>
</togoption>
<togoption
label="Distributed
counter groups:"
optname="HPM_EVENT_DISTR"
envvar="true"
required="true"
tooltip="Specify
counter groups distributed across MPI tasks">
<optvalue
type="text"
fieldrequired="true"/>
</togoption>
<togoption
label="Time
slice duration:"
optname="HPM_SLICE_DURATION"
envvar="true"
required="true"
tooltip="Specify
hardware counter group">
<optvalue
type="text"
fieldrequired="true"/>
</togoption>
<togoption
label="MPI
task to display results:"
optname="HPM_PRINT_TASK"
envvar="true"
required="true"
tooltip="Specify
MPI task number that has results displayed">
<optvalue
type="text"
fieldrequired="true"/>
</togoption>
<togoption
label="FLOPS
weighting factor:"
optname="HPM_DIV_WEIGHT"
envvar="true"
required="true"
tooltip="Weighting
factor for computing weighted FLOPS">
<optvalue
type="text"
fieldrequired="true"/>
</togoption>
<togoption
label="Generate
ASCII data file:"
optname="HPM_ASC_OUTPUT"
envvar="true"
tooltip="Generate
ASCII data file (.hpm format)">
<optvalue
type="toggle"
seton="yes"
/>
</togoption>
<togoption
label="Generate
visualization files:"
optname="HPM_VIZ_OUTPUT"
envvar="true"
tooltip="Generate
visualization data (.viz) files">
<optvalue
type="toggle"
seton="yes"
/>
</togoption>
<togoption
label="Write
to stdout:"
optname="HPM_STDOUT"
envvar="true"
tooltip="Write
output data to stdout">
<optvalue
type="toggle"
seton="yes"
/>
</togoption>
<togoption
label="Generate
unique filenames:"
optname="HPM_UNIQUE_FILE_NAME"
envvar="true"
tooltip="Generate
unique filenames for each MPI task's output">
<optvalue
type="toggle"
seton="yes"
/>
</togoption>
<togoption
label="Exclusive
values:"
optname="HPM_EXCLUSIVE_VALUES"
envvar="true"
tooltip="Compute
exclusive values in nested counter regions">
<optvalue
type="toggle"
seton="yes"
/>
</togoption>
<togoption
label="Print
formulas:"
optname="HPM_PRINT_FORMULA"
envvar="true"
tooltip="Print
formulas for derived metrics">
<optvalue
type="toggle"
seton="yes"
/>
</togoption>
</optionpane>
<optionpane
title="MPI">
<togoption
label="Maximum
trace events:"
optname="MAX_TRACE_EVENTS"
envvar="true"
required="true"
tooltip="Specify
maximum number of trace events">
<optvalue
type="text"
fieldrequired="true"/>
</togoption>
<togoption
label="Maximum
trace rank:"
optname="MAX_TRACE_RANK"
envvar="true"
required="true"
tooltip="Specify
maximum task rank to trace">
<optvalue
type="text"
fieldrequired="true"/>
</togoption>
<togoption
label="Traceback
level:"
optname="TRACEBACK_LEVEL"
envvar="true"
required="true"
tooltip="Specify
number of levels to walk in call stack">
<optvalue
type="text"
fieldrequired="true"/>
</togoption>
<togoption
label="Output
trace for all tasks:"
optname="OUTPUT_ALL_RANKS"
envvar="true"
tooltip="Generate
MPI trace for all tasks">
<optvalue
type="toggle"
seton="yes"
/>
</togoption>
<togoption
label="Trace
all MPI calls:"
optname="TRACE_ALL_EVENTS"
envvar="true"
tooltip="Trace
all MPI function calls">
<optvalue
type="toggle"
seton="yes"
/>
</togoption>
<togoption
label="Limit
trace rank:"
optname="TRACE_ALL_TASKS"
envvar="true"
tooltip="Limit
trace to tasks 0 thru 255">
<optvalue
type="toggle"
seton="no"
setoff="yes"/>
</togoption>
</optionpane>
<optionpane
title="MIO">
<togoption
label="Output
file name:"
optname="MIO_STATS"
envvar="true"
required="true"
tooltip="Specify
MIO_STATS output filename">
<optvalue
type="text"
fieldrequired="true"/>
</togoption>
<togoption
label="Default
profiling options:"
optname="MIO_DEFAULTS"
envvar="true"
required="true"
tooltip="Specify
default options for I/O profiling">
<optvalue
type="text"
fieldrequired="true"/>
</togoption>
<togoption
label="I/O
profiling options:"
optname="MIO_FILES"
envvar="true"
required="true"
tooltip="Specify
file-specific profiling options">
<optvalue
type="text"
fieldrequired="true"/>
</togoption>
</optionpane>
</global>
</execute>
<analyze>
<utility
command="HPCTJobMonitor"
group="internal"/>
</analyze>
</tool>
</toolset.01>
java.lang.NullPointerException
at org.eclipse.core.runtime.Path.append(Path.java:261)
at org.eclipse.ptp.remote.remotetools.core.RemoteToolsFileStore.getChild(RemoteToolsFileStore.java:187)
at org.eclipse.ptp.etfw.internal.LauncherTool.performLaunch(LauncherTool.java:123)
at org.eclipse.ptp.etfw.internal.LauncherTool.run(LauncherTool.java:79)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Dave
|
Re: [ptp-dev] Null pointer
exception in ToolLaunchManager.launch with PTP 5.0.4 version |
Wyatt Spear
| to:
| Parallel Tools Platform general
developers
|
01/17/2012 06:02 PM |
Please respond to Parallel Tools Platform general developers
| |
|
I believe my fix was successfully pushed but just noticed as far as I can
tell I'm not on the ptp-git email list so I can't be sure if it showed
up as expected. Please let me know if this has fixed the problem
for you. I have no real way to test this on Windows 7 but if I could
look at a dummy tool-definiton xml file that is similar to what HPCToolkit
is using I can debug further on WindowsXP.
=Wyatt
On Tue, Jan 17, 2012 at 10:10 AM, Wyatt Spear <wspear@xxxxxxxxxxxxxx>
wrote:
I think I have a fix for this committed, just some extra null-checking,
but I am having trouble pushing it to git. The error I get is pasted
below and I'm not seeing how to tell git to ignore these changes and pull
over them. I haven't messed with these files at all so I don't know
why they're causing trouble:
Checkout conflict with files:
rms/org.eclipse.ptp.rm.lml.da/LML_combiner/LML_combine_obj.pl
rms/org.eclipse.ptp.rm.lml.da/rms/LL/da_check_info_LML.pl
rms/org.eclipse.ptp.rm.lml.da/rms/OPENMPI/da_check_info_LML.pl
rms/org.eclipse.ptp.rm.lml.da/rms/PBS/da_check_info_LML.pl
rms/org.eclipse.ptp.rm.lml.da/rms/PBS/da_jobs_info_LML.pl
rms/org.eclipse.ptp.rm.lml.da/rms/PBS/da_nodes_info_LML.pl
rms/org.eclipse.ptp.rm.lml.da/rms/PE/da_check_info_LML.pl
rms/org.eclipse.ptp.rm.lml.da/rms/TORQUE/da_check_info_LML.pl
=Wyatt
On Mon, Jan 16, 2012 at 11:55 AM, Dave Wootton <dwootton@xxxxxxxxxx>
wrote:
Wyatt
I had selected HPC Toolkit from the dropdown on the performance analysis
tab. I'm thinking some changes made between the PTP 5.0.3 and PTP 5.0.4
levels may have caused this since I was able to run at the 5.0.3 level
for some demos and now can't run at PTP 5.0.4.
Dave
From: Wyatt
Spear <wspear@xxxxxxxxxxxxxx>
To: Parallel
Tools Platform general developers <ptp-dev@xxxxxxxxxxx>
Date: 01/16/2012
02:35 PM
Subject: Re:
[ptp-dev] Null pointer exception in ToolLaunchManager.launch with PTP 5.0.4
version
Sent by: ptp-dev-bounces@xxxxxxxxxxx
I haven't run in to this before. I will be able to start tracking
this down tomorrow morning. What is selected in the tool drop-down
box on the Performance Analysis tab? If you aren't trying to run
with TAU it shouldn't be touching on TAU-specific code at all. I
made some changes to the ETFw API back before SC11. Have you used
it successfully since then?
=Wyatt
On Sat, Jan 14, 2012 at 3:53 PM, Dave Wootton <dwootton@xxxxxxxxxx>
wrote:
I'm getting the following null pointer exception when I try to run a HPC
Toolkit profiling run using the profile configuration dialog
The first time I click Profile in the profile configuration dialog I get
a null pointer exception in TAUAnalysisTab.performApply as noted in my
prior email and the profile configuration dialog does not close. I click
Profile again and get the null pointer exception below. This null pointer
exception is because pproc is null. pproc is set afew lines above,
where the configuration prameter passed to the method looks odd because
the fName variable is set to the name of the project but the fContainer
variable is null.
If I try to run the profile configuration dialog again, I get the null
pointer exception in TAUAnalysisTab.performApply again,but when I click
Profile again the application runs, although the classes I have registered
to the extension org.eclipse.ptp.etfw.dataManagers don't seem to be invoked.
Subsequent attempts to run the profile configuration dialog allternate
between the null pointer exception and the behavior in the preceding paragraph.
java.lang.NullPointerException
at org.eclipse.ptp.etfw.internal.ToolLaunchManager.launch(ToolLaunchManager.java:96)
at org.eclipse.ptp.etfw.parallel.ParallelToolLaunchConfigurationDelegate.launch(ParallelToolLaunchConfigurationDelegate.java:98)
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)
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
_______________________________________________
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
_______________________________________________
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
_______________________________________________
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
_______________________________________________
ptp-dev mailing list
ptp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-dev