Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » TPTP profiling timeout error
TPTP profiling timeout error [message #516750] Thu, 25 February 2010 00:03 Go to next message
Cate  is currently offline Cate Friend
Messages: 6
Registered: February 2010
Junior Member
I've seen some discussion on this error, but not sure why I still get it.
I just downloaded a new Eclipse and used Update Manager to install
the Test and Performance. From Eclipse's "About.." menu, here is
what I have:
Eclipse IDE for Java Developers
Build id: 20090920-1017

Instrument Core UI Feature
Version: 4.2.300.v200906091631-7977A88s733L394I3533
Build id: TPTP-4.6.1-200909160100

Eclipse IDE for Java Developers
Version: 1.2.1.20090918-0703
Build id: 20090920-1017

Eclipse Platform

Version: 3.5.1.R35x_v20090910-9gEeG1_FthkNDSP2odXdThaOu9GFDPn83DGB7
Build id: M20090917-0800

I'm running Eclipse on a 64bit Linux machine. I have never run TPTP
before, but it seems easy enough to do it. I have a simple test Java
program and set my filter is set to include just that class and I am profiling
it within Eclipse. But I get the following error. What gives?

org.eclipse.core.runtime.CoreException
A time-out occurred while attempting to launch the process

org.eclipse.core.runtime.CoreException: A time-out occurred while attempting to launch the process
at org.eclipse.tptp.trace.ui.internal.launcher.core.LauncherUti lity.createCoreException(LauncherUtility.java:124)
at org.eclipse.tptp.trace.ui.internal.launcher.core.LauncherUti lity.createCoreException(LauncherUtility.java:132)
at org.eclipse.tptp.platform.jvmti.client.internal.launcher.TID elegateHelper.handleError(TIDelegateHelper.java:655)
at org.eclipse.tptp.platform.jvmti.client.internal.launcher.TID elegateHelper.launchProcess(TIDelegateHelper.java:571)
at org.eclipse.tptp.platform.jvmti.client.internal.launcher.TID elegateHelper.launch(TIDelegateHelper.java:348)
at org.eclipse.tptp.platform.jvmti.client.internal.launcher.TIJ avaLauncherDelegate.launch(TIJavaLauncherDelegate.java:37)
at org.eclipse.tptp.trace.ui.internal.launcher.core.LauncherUti lity.delegateInit(LauncherUtility.java:1164)
at org.eclipse.tptp.trace.ui.provisional.launcher.PrimaryLaunch Delegate.run(PrimaryLaunchDelegate.java:195)
at java.lang.Thread.run(Thread.java:619)
Re: TPTP profiling timeout error [message #516973 is a reply to message #516750] Thu, 25 February 2010 16:19 Go to previous messageGo to next message
Eugene Chan is currently offline Eugene ChanFriend
Messages: 287
Registered: July 2009
Senior Member
Hi Cate,

Does the application launch in Run mode? Could you try go to
Preferences>Agent Controller>Host, select 'localhost' and click 'Test
Connection' to ensure there is an Agent Controller running on the local
system (assuming you are running the application locally) for profile.
If the connection failed, exit Eclipse, and check to make sure there is no
dangling java nor ACServer process running on the system, kill them
otherwise, and relaunch Eclipse and try profile again.

Eugene

"Cate" <remotexiang@hotmail.com> wrote in message
news:hm4ep8$f25$1@build.eclipse.org...
> I've seen some discussion on this error, but not sure why I still get it.
> I just downloaded a new Eclipse and used Update Manager to install
> the Test and Performance. From Eclipse's "About.." menu, here is
> what I have:
> Eclipse IDE for Java Developers
> Build id: 20090920-1017
>
> Instrument Core UI Feature Version:
> 4.2.300.v200906091631-7977A88s733L394I3533
> Build id: TPTP-4.6.1-200909160100
>
> Eclipse IDE for Java Developers
> Version: 1.2.1.20090918-0703
> Build id: 20090920-1017
>
> Eclipse Platform
>
> Version: 3.5.1.R35x_v20090910-9gEeG1_FthkNDSP2odXdThaOu9GFDPn83DGB7
> Build id: M20090917-0800
>
> I'm running Eclipse on a 64bit Linux machine. I have never run TPTP
> before, but it seems easy enough to do it. I have a simple test Java
> program and set my filter is set to include just that class and I am
> profiling
> it within Eclipse. But I get the following error. What gives?
>
> org.eclipse.core.runtime.CoreException
> A time-out occurred while attempting to launch the process
>
> org.eclipse.core.runtime.CoreException: A time-out occurred while
> attempting to launch the process
> at org.eclipse.tptp.trace.ui.internal.launcher.core.LauncherUti
> lity.createCoreException(LauncherUtility.java:124)
> at org.eclipse.tptp.trace.ui.internal.launcher.core.LauncherUti
> lity.createCoreException(LauncherUtility.java:132)
> at org.eclipse.tptp.platform.jvmti.client.internal.launcher.TID
> elegateHelper.handleError(TIDelegateHelper.java:655)
> at org.eclipse.tptp.platform.jvmti.client.internal.launcher.TID
> elegateHelper.launchProcess(TIDelegateHelper.java:571)
> at org.eclipse.tptp.platform.jvmti.client.internal.launcher.TID
> elegateHelper.launch(TIDelegateHelper.java:348)
> at org.eclipse.tptp.platform.jvmti.client.internal.launcher.TIJ
> avaLauncherDelegate.launch(TIJavaLauncherDelegate.java:37)
> at org.eclipse.tptp.trace.ui.internal.launcher.core.LauncherUti
> lity.delegateInit(LauncherUtility.java:1164)
> at org.eclipse.tptp.trace.ui.provisional.launcher.PrimaryLaunch
> Delegate.run(PrimaryLaunchDelegate.java:195)
> at java.lang.Thread.run(Thread.java:619)
>
Re: TPTP profiling timeout error [message #517013 is a reply to message #516973] Thu, 25 February 2010 17:43 Go to previous messageGo to next message
Cate  is currently offline Cate Friend
Messages: 6
Registered: February 2010
Junior Member
Thanks for the reply.
I tried what you suggested. It says "Connection success".
What now?
Re: TPTP profiling timeout error [message #517200 is a reply to message #517013] Fri, 26 February 2010 14:45 Go to previous messageGo to next message
Eugene Chan is currently offline Eugene ChanFriend
Messages: 287
Registered: July 2009
Senior Member
Could you profile now with the connection success status?

"Cate" <remotexiang@hotmail.com> wrote in message
news:hm6cs3$tn8$1@build.eclipse.org...
> Thanks for the reply.
> I tried what you suggested. It says "Connection success".
> What now?
>
Re: TPTP profiling timeout error [message #517266 is a reply to message #517200] Fri, 26 February 2010 18:04 Go to previous messageGo to next message
Cate  is currently offline Cate Friend
Messages: 6
Registered: February 2010
Junior Member
Still can't.
Re: TPTP profiling timeout error [message #517658 is a reply to message #517266] Mon, 01 March 2010 15:50 Go to previous messageGo to next message
Eugene Chan is currently offline Eugene ChanFriend
Messages: 287
Registered: July 2009
Senior Member
Hi, Is the same exception throw in .log file?
Perhaps you can give it a try with the TPTP all-in-one package in the latest
Download page: http://www.eclipse.org/tptp/home/downloads/?ver=4.6.2 It
could be some issue with the package update with update manager.

Eugene


"Cate" <remotexiang@hotmail.com> wrote in message
news:hm92fl$fgk$1@build.eclipse.org...
> Still can't.
Re: TPTP profiling timeout error [message #518071 is a reply to message #517658] Tue, 02 March 2010 22:26 Go to previous messageGo to next message
Cate  is currently offline Cate Friend
Messages: 6
Registered: February 2010
Junior Member
Is there a all-in-one package for 64bit linux?
Re: TPTP profiling timeout error [message #518291 is a reply to message #518071] Wed, 03 March 2010 16:46 Go to previous messageGo to next message
Eugene Chan is currently offline Eugene ChanFriend
Messages: 287
Registered: July 2009
Senior Member
The linux package is for 32-bit only.
Back to your original issue, could you either try with a fresh workspace or
another Java application in profile mode?
It sounds like it could be a currupted or incompleted updated workbench from
Update Manager.

"Cate" <remotexiang@hotmail.com> wrote in message
news:hmk3a1$bis$1@build.eclipse.org...
> Is there a all-in-one package for 64bit linux?
>
Re: TPTP profiling timeout error [message #518687 is a reply to message #518291] Thu, 04 March 2010 18:25 Go to previous message
Cate  is currently offline Cate Friend
Messages: 6
Registered: February 2010
Junior Member
I downloaded yet again, this time the 'TPTP Plugin for Eclipse'. It works
now after a few false start.
Previous Topic:Run junit test application from command line
Next Topic:Eclipse JNI help?
Goto Forum:
  


Current Time: Fri Apr 19 14:44:52 GMT 2024

Powered by FUDForum. Page generated in 0.02441 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top