Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » A time-out error when attempting to profile large application
A time-out error when attempting to profile large application [message #142290] Thu, 28 May 2009 15:12 Go to next message
Isaac Pacht is currently offline Isaac PachtFriend
Messages: 4
Registered: July 2009
Junior Member
I am getting the following exception trace when attempting to launch a
TPTP profiling session:

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:654)
at
org.eclipse.tptp.platform.jvmti.client.internal.launcher.TID elegateHelper.launchProcess(TIDelegateHelper.java:570)
at
org.eclipse.tptp.platform.jvmti.client.internal.launcher.TID elegateHelper.launch(TIDelegateHelper.java:347)
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:595)

I tried to profile a dummy application with a single class, and that works
fine. I only get the exception when running on a relatively large project.

I tried defining a filter to exclude all classes, and then again excluding
all classes but one. Profiling the large project results in the exception
even with the filters.

I've searched the mailing list and found many examples of this exception
occurring, but none of the suggested solutions appear to apply here.

I'd appreciate any suggestions on how to resolve this.

Thanks
Re: A time-out error when attempting to profile large application [message #142300 is a reply to message #142290] Thu, 28 May 2009 15:25 Go to previous messageGo to next message
Eugene Chan is currently offline Eugene ChanFriend
Messages: 287
Registered: July 2009
Senior Member
May I know the TPTP version you are using? and Is it an all-in-one TPTP
driver or an update manager installation of TPTP?

Eugene

"Isaac Pacht" <isaacp3@gmail.com> wrote in message
news:7a588a07624330e4d313d9331287b43f$1@www.eclipse.org...
>I am getting the following exception trace when attempting to launch a TPTP
>profiling session:
>
> 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:654)
> at
> org.eclipse.tptp.platform.jvmti.client.internal.launcher.TID elegateHelper.launchProcess(TIDelegateHelper.java:570)
> at
> org.eclipse.tptp.platform.jvmti.client.internal.launcher.TID elegateHelper.launch(TIDelegateHelper.java:347)
> 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:595)
>
> I tried to profile a dummy application with a single class, and that works
> fine. I only get the exception when running on a relatively large
> project.
>
> I tried defining a filter to exclude all classes, and then again excluding
> all classes but one. Profiling the large project results in the exception
> even with the filters.
>
> I've searched the mailing list and found many examples of this exception
> occurring, but none of the suggested solutions appear to apply here.
>
> I'd appreciate any suggestions on how to resolve this.
>
> Thanks
>
>
Re: A time-out error when attempting to profile large application [message #142309 is a reply to message #142300] Thu, 28 May 2009 15:35 Go to previous messageGo to next message
Isaac Pacht is currently offline Isaac PachtFriend
Messages: 4
Registered: July 2009
Junior Member
TPTP was included in the original Eclipse 3.4 distribution that I
downloaded. When I first experienced this problem I thought maybe it was
that I had an outdated version of TPTP, so I used update manager to
upgrade to what appeared to be the latest version.

I'm not sure which feature version you are asking about. Is it this?

TPTP Core
Version: 4.5.2.v200901090956-8Z8DF8kELRXmqCoI2oujyq
Build id: TPTP-4.5.2-200902180100

If you are asking about other feature version numbers, please let me know.
Re: A time-out error when attempting to profile large application [message #142317 is a reply to message #142309] Thu, 28 May 2009 16:45 Go to previous messageGo to next message
Eugene Chan is currently offline Eugene ChanFriend
Messages: 287
Registered: July 2009
Senior Member
Could you please try with the All-in-one driver available on the TPTP
download page:
http://www.eclipse.org/tptp/home/downloads/?ver=4.5.2

Eugene

"Isaac Pacht" <isaacp3@gmail.com> wrote in message
news:18391bcce7b61e654c7883db90b99577$1@www.eclipse.org...
> TPTP was included in the original Eclipse 3.4 distribution that I
> downloaded. When I first experienced this problem I thought maybe it was
> that I had an outdated version of TPTP, so I used update manager to
> upgrade to what appeared to be the latest version.
>
> I'm not sure which feature version you are asking about. Is it this?
>
> TPTP Core Version: 4.5.2.v200901090956-8Z8DF8kELRXmqCoI2oujyq
> Build id: TPTP-4.5.2-200902180100
>
> If you are asking about other feature version numbers, please let me know.
>
>
Re: A time-out error when attempting to profile large application [message #142368 is a reply to message #142317] Sun, 31 May 2009 14:45 Go to previous messageGo to next message
Isaac Pacht is currently offline Isaac PachtFriend
Messages: 4
Registered: July 2009
Junior Member
I downloaded the all-in-one package and the results were the same. The
test project with a single class in it profiled fine. The real project
with many classes got a timeout error even when I applied a very
restrictive filter.

Maybe I'm not specifying the filter properly? I had two lines, the first
was an EXCLUDE with "*" specified for both the class and method names.
The second was an INCLUDE with "mypackage.*" for the class and "*" for the
method name. The package contains about 12 classes.
Re: A time-out error when attempting to profile large application [message #519082 is a reply to message #142368] Sat, 06 March 2010 09:11 Go to previous messageGo to next message
Keith Harrison-Broninski is currently offline Keith Harrison-BroninskiFriend
Messages: 1
Registered: March 2010
Junior Member
I have exactly the same problem, and have Googled without success for an answer.

I am using the latest Eclipse and TPTP:

eclipse-modeling-galileo-SR2-incubation-win32.zip
tptp.runtime-TPTP-4.6.2.zip

Hello World profiles fine. A large Java app doesn't.

It makes no difference what is in the main method. Here is mine:

System.out.println("Hello world.");

The problem seems to be dependency on other projects that have large amounts of code. Or perhaps dependency on EMF?

Any help gratefully received!

All the best
Keith
Re: A time-out error when attempting to profile large application [message #520442 is a reply to message #519082] Fri, 12 March 2010 12:10 Go to previous messageGo to next message
Sven Lund is currently offline Sven LundFriend
Messages: 3
Registered: March 2010
Junior Member
Same problem here.
For a small project the profiling works, for a large project it does not.

[Updated on: Fri, 12 March 2010 12:23]

Report message to a moderator

Re: A time-out error when attempting to profile large application [message #520481 is a reply to message #520442] Fri, 12 March 2010 14:37 Go to previous messageGo to next message
Eugene Chan is currently offline Eugene ChanFriend
Messages: 287
Registered: July 2009
Senior Member
Hi

Would you please open a bugzilla defect and attach a workspace that
reproduce the problem?
https://bugs.eclipse.org/bugs/enter_bug.cgi?classification=T PTP

Eugene

"Sven Lund" <sven.lund@googlemail.com> wrote in message
news:hndavs$uul$1@build.eclipse.org...
> Same Problem here.
> For a small project the profiling works, for a large project it does not.
Re: A time-out error when attempting to profile large application [message #520804 is a reply to message #520481] Mon, 15 March 2010 12:47 Go to previous messageGo to next message
Sven Lund is currently offline Sven LundFriend
Messages: 3
Registered: March 2010
Junior Member
Unfortunately I am not allowed to do that.

It is a larger webapp (150 classes or something). Based on Hibernate, Spring and Tapestry. The system where the problem occurs (my computer) uses a jetty server started in the main.

Hope that helps

Sven
Re: A time-out error when attempting to profile large application [message #520916 is a reply to message #520804] Mon, 15 March 2010 17:55 Go to previous messageGo to next message
Eugene Chan is currently offline Eugene ChanFriend
Messages: 287
Registered: July 2009
Senior Member
Would you be able to recreate the problem with like a strip down version of
your application or a more simple case?

Eugene

"Sven Lund" <sven.lund@googlemail.com> wrote in message
news:hnla99$6ak$1@build.eclipse.org...
> Unfortunately I am not allowed to do that.
>
> It is a larger webapp (150 classes or something). Based on Hibernate,
> Spring and Tapestry. The system where the problem occurs (my computer)
> uses a jetty server started in the main.
>
> Hope that helps
>
> Sven
Re: A time-out error when attempting to profile large application [message #521373 is a reply to message #520916] Wed, 17 March 2010 13:05 Go to previous messageGo to next message
Sven Lund is currently offline Sven LundFriend
Messages: 3
Registered: March 2010
Junior Member
We are working on it. Hopefully it's possible to reproduce the problem with a basic version of our stack.
Re: A time-out error when attempting to profile large application [message #636613 is a reply to message #521373] Tue, 02 November 2010 08:55 Go to previous messageGo to next message
Missing name Mising name is currently offline Missing name Mising nameFriend
Messages: 5
Registered: November 2010
Junior Member
Hello,

I still have the same problem of timeout with a project with a large classpath.
With a small one, TPTP start and profile correctly.

I am using:
-Eclipse 3.6 (Helios)
-TPTP 4.7.1 from helios update
-Sun JDK 1.6.0_21

Any help ?
Re: A time-out error when attempting to profile large application [message #638028 is a reply to message #636613] Tue, 09 November 2010 16:34 Go to previous messageGo to next message
Jonathan West is currently offline Jonathan WestFriend
Messages: 49
Registered: July 2009
Member
Hi NRN,
If you are able to provide a test case that reproduces the problem, please open a bug against the profiler. Thanks!
Re: A time-out error when attempting to profile large application [message #642380 is a reply to message #638028] Wed, 01 December 2010 07:01 Go to previous messageGo to next message
Datta  is currently offline Datta Friend
Messages: 2
Registered: December 2010
Junior Member
I think I could narrow down the case where this is reproducible.

Problem is reproducible when one project has another project in it's build dependency. I tried profiling a Hello world program under a simple project without any dependencies, and was successful. However, as soon as I added another project to it's build path, I started receiving this time out error. Should I go ahead and raise a bug?

Thanks,
Datta
Re: A time-out error when attempting to profile large application [message #642494 is a reply to message #642380] Wed, 01 December 2010 15:26 Go to previous messageGo to next message
Jonathan West is currently offline Jonathan WestFriend
Messages: 49
Registered: July 2009
Member
Hi Datta, this would be helpful. Thanks!
Re: A time-out error when attempting to profile large application [message #642634 is a reply to message #642494] Thu, 02 December 2010 05:38 Go to previous message
Datta  is currently offline Datta Friend
Messages: 2
Registered: December 2010
Junior Member
Raised bug
https://bugs.eclipse.org/bugs/show_bug.cgi?id=331628
in this regard.
Previous Topic:Generate Sequence Diagram for Code running in remote Application server
Next Topic:java.lang.ArrayIndexOutOfBoundsException: 0
Goto Forum:
  


Current Time: Thu Mar 28 11:32:00 GMT 2024

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

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

Back to the top