<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    TPTP profiling with JBoss Tools 3.2.0.Beta1 : &quot;Fetching children of data collector&quot;. java.lang.NullPointerException
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="http://community.jboss.org/people/desintegr">desintegr</a> in <i>JBoss Tools</i> - <a href="http://community.jboss.org/message/567156#567156">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>Hi.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I want to profile a web application running on JBoss with Eclipse and TPTP.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I start the server in profiling mode, a new Profile On Server window is displayed but a Problem occured :</p><p>An internal error occurred during: "Fetching children of data collector". java.lang.NullPointerException</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Then I can't configure the Profile Settings and must close the Profile On Server window.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Full log :</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="font-family: courier new,courier;">java.lang.NullPointerException<br/>&#160;&#160;&#160; at org.eclipse.tptp.trace.ui.internal.launcher.core.DataCollectorTreeContentProvider$DeferredDataCollectorAdapter.fetchDeferredChildren(DataCollectorTreeContentProvider.java:322)<br/>&#160;&#160;&#160; at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:235)<br/>&#160;&#160;&#160; at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="font-family: courier new,courier;">org.eclipse.core.runtime.CoreException: Profile request is cancelled by user<br/>&#160;&#160;&#160; at org.eclipse.tptp.platform.profile.server.wst.internal.TPTPServerProfilerDelegate.process(TPTPServerProfilerDelegate.java:196)<br/>&#160;&#160;&#160; at org.eclipse.jst.server.core.internal.ServerProfiler.process(ServerProfiler.java:81)<br/>&#160;&#160;&#160; at org.eclipse.jst.server.core.internal.JavaServerPlugin.configureProfiling(JavaServerPlugin.java:374)<br/>&#160;&#160;&#160; at org.eclipse.jst.server.core.ServerProfilerDelegate.configureProfiling(ServerProfilerDelegate.java:60)<br/>&#160;&#160;&#160; at org.jboss.ide.eclipse.as.core.server.internal.launch.AbstractJBossLaunchConfigType.actualLaunch(AbstractJBossLaunchConfigType.java:124)<br/>&#160;&#160;&#160; at org.jboss.ide.eclipse.as.core.server.internal.launch.JBossServerStartupLaunchConfiguration.superActualLaunch(JBossServerStartupLaunchConfiguration.java:91)<br/>&#160;&#160;&#160; at org.jboss.ide.eclipse.as.core.server.internal.launch.LocalJBossServerStartupLaunchUtil.actualLaunch(LocalJBossServerStartupLaunchUtil.java:318)<br/>&#160;&#160;&#160; at org.jboss.ide.eclipse.as.core.server.internal.launch.JBossServerStartupLaunchConfiguration.actualLaunch(JBossServerStartupLaunchConfiguration.java:86)<br/>&#160;&#160;&#160; at org.jboss.ide.eclipse.as.core.server.internal.launch.AbstractJBossLaunchConfigType.launch(AbstractJBossLaunchConfigType.java:70)<br/>&#160;&#160;&#160; at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:853)<br/>&#160;&#160;&#160; at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:702)<br/>&#160;&#160;&#160; at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:695)<br/>&#160;&#160;&#160; at org.eclipse.wst.server.core.internal.Server.startImpl2(Server.java:3209)<br/>&#160;&#160;&#160; at org.eclipse.wst.server.core.internal.Server.startImpl(Server.java:3159)<br/>&#160;&#160;&#160; at org.eclipse.wst.server.core.internal.Server$StartJob.run(Server.java:359)<br/>&#160;&#160;&#160; at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="font-family: courier new,courier;">org.eclipse.core.runtime.CoreException: Profile request is cancelled by user<br/>&#160;&#160;&#160; at org.eclipse.tptp.platform.profile.server.wst.internal.TPTPServerProfilerDelegate.process(TPTPServerProfilerDelegate.java:196)<br/>&#160;&#160;&#160; at org.eclipse.jst.server.core.internal.ServerProfiler.process(ServerProfiler.java:81)<br/>&#160;&#160;&#160; at org.eclipse.jst.server.core.internal.JavaServerPlugin.configureProfiling(JavaServerPlugin.java:374)<br/>&#160;&#160;&#160; at org.eclipse.jst.server.core.ServerProfilerDelegate.configureProfiling(ServerProfilerDelegate.java:60)<br/>&#160;&#160;&#160; at org.jboss.ide.eclipse.as.core.server.internal.launch.AbstractJBossLaunchConfigType.actualLaunch(AbstractJBossLaunchConfigType.java:124)<br/>&#160;&#160;&#160; at org.jboss.ide.eclipse.as.core.server.internal.launch.JBossServerStartupLaunchConfiguration.superActualLaunch(JBossServerStartupLaunchConfiguration.java:91)<br/>&#160;&#160;&#160; at org.jboss.ide.eclipse.as.core.server.internal.launch.LocalJBossServerStartupLaunchUtil.actualLaunch(LocalJBossServerStartupLaunchUtil.java:318)<br/>&#160;&#160;&#160; at org.jboss.ide.eclipse.as.core.server.internal.launch.JBossServerStartupLaunchConfiguration.actualLaunch(JBossServerStartupLaunchConfiguration.java:86)<br/>&#160;&#160;&#160; at org.jboss.ide.eclipse.as.core.server.internal.launch.AbstractJBossLaunchConfigType.launch(AbstractJBossLaunchConfigType.java:70)<br/>&#160;&#160;&#160; at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:853)<br/>&#160;&#160;&#160; at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:702)<br/>&#160;&#160;&#160; at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:695)<br/>&#160;&#160;&#160; at org.eclipse.wst.server.core.internal.Server.startImpl2(Server.java:3209)<br/>&#160;&#160;&#160; at org.eclipse.wst.server.core.internal.Server.startImpl(Server.java:3159)<br/>&#160;&#160;&#160; at org.eclipse.wst.server.core.internal.Server$StartJob.run(Server.java:359)<br/>&#160;&#160;&#160; at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Any help would be welcome. Thanks.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><strong>OS</strong> : Windows 7 32 bits</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><strong>JDK</strong> : Sun 1.6.0_21 32bits</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><strong>Server </strong>: JBoss 4.2.3.GA-jdk6</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><strong>Eclipse </strong>: Java EE IDE for Web Developers, Helios Service Release 1, 20100917-0705</p><p>Eclipse IDE for Java EE Developers&#160;&#160;&#160; 1.3.1.20100916-1202&#160;&#160;&#160; epp.package.jee</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><strong>TPTP from Helios repo</strong> :</p><p>TPTP Monitoring Tools Project&#160;&#160;&#160; 4.5.0.v201005271900-7T7X-7r1WNos_vYhsZicqkbMM&#160;&#160;&#160; org.eclipse.tptp.monitoring.runtime.feature.group<br/>TPTP Platform Project&#160;&#160;&#160; 4.7.1.v201009092123-7u84778ksjNyo-bR8YTTJlR0rtM2&#160;&#160;&#160; org.eclipse.tptp.platform.runtime.feature.group<br/>TPTP Profile On JBoss Server&#160;&#160;&#160; 1.2.0.v20101016-0359-H111-Beta1&#160;&#160;&#160; org.jboss.tools.tptp.feature.feature.group<br/>TPTP Profiling for Web applications&#160;&#160;&#160; 4.5.1.v201009092123-54078I8G3BlG8C88d8eFHEH&#160;&#160;&#160; org.eclipse.tptp.wtp.feature.group<br/>TPTP Project Examples&#160;&#160;&#160; 4.6.0.v201005032111-7D7D-8zC4F-8G7F9I7D4F938x423&#160;&#160;&#160; org.eclipse.tptp.examples.feature.group<br/>TPTP Reporting with BIRT&#160;&#160;&#160; 4.5.0.v201005032111-53-78A8A09t84644E4G6G44&#160;&#160;&#160; org.eclipse.tptp.birt.feature.group<br/>TPTP Test Framework and Tools Project.&#160;&#160;&#160; 4.5.100.v201009101627-7H7I8Z7VtKB2vQUp2lxNp10z0BoX&#160;&#160;&#160; org.eclipse.tptp.test.runtime.feature.group<br/>TPTP Tracing and Profiling Tools Project&#160;&#160;&#160; 4.4.1.v201009092123-7H7C27XbL_K4E9NJSSdkZmWWE7&#160;&#160;&#160; org.eclipse.tptp.trace.runtime.feature.group</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><strong>JBoss AS Tools</strong> : 3.2.0.Beta1</p><p>JBossAS Tools&#160;&#160;&#160; 2.2.0.v20101016-0359-H111-Beta1&#160;&#160;&#160; org.jboss.ide.eclipse.as.feature.feature.group</p><p>TPTP Profile On JBoss Server&#160;&#160;&#160; 1.2.0.v20101016-0359-H111-Beta1&#160;&#160;&#160; org.jboss.tools.tptp.feature.feature.group</p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/567156#567156">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JBoss Tools at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>