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