Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 338343

Summary: Profile as Junit in eclipse, a time-out exception was thrown out
Product: z_Archived Reporter: ian <xieyi179620>
Component: TPTPAssignee: Jonathan West <jgwest>
Status: CLOSED WONTFIX QA Contact: Kathy Chan <kathy>
Severity: major    
Priority: P3 CC: jcayne
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description ian CLA 2011-02-27 12:16:27 EST
Build Identifier: TPTP eclipse plug-in 4.7.2(tptp.runtime-TPTP-4.7.2)

When I profile a JUnit class as JUnit, a exception was thrown.
--------------
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.LauncherUtility.createCoreException(LauncherUtility.java:124)
  at org.eclipse.tptp.trace.ui.internal.launcher.core.LauncherUtility.createCoreException(LauncherUtility.java:132)
  at org.eclipse.tptp.platform.jvmti.client.internal.launcher.TIDelegateHelper.handleError(TIDelegateHelper.java:783)
  at org.eclipse.tptp.platform.jvmti.client.internal.launcher.TIDelegateHelper.launchProcess(TIDelegateHelper.java:699)
  at org.eclipse.tptp.platform.jvmti.client.internal.launcher.TIDelegateHelper.launch(TIDelegateHelper.java:403)
  at org.eclipse.tptp.platform.jvmti.client.internal.launcher.TIJUnitLauncherDelegate.launch(TIJUnitLauncherDelegate.java:33)
  at org.eclipse.tptp.trace.ui.internal.launcher.core.LauncherUtility.delegateInit(LauncherUtility.java:1164)
  at org.eclipse.tptp.trace.ui.provisional.launcher.PrimaryLaunchDelegate.run(PrimaryLaunchDelegate.java:195)
  at java.lang.Thread.run(Thread.java:595)
-------------- 
PS: This error happened in case I opened the big workspase(multiple projects).
    If it's a very small project which only has 1 to 3 classes this issue gone away.

Reproducible: Always

Steps to Reproduce:
1.multiple projects which includes more than 10000 classes
2.choose a Junit class, click 'Profile as JUnit' in context menu
3.error happen
Comment 1 Kathy Chan CLA 2011-03-23 16:33:21 EDT
No plan to fix.
Comment 2 Jonathan West CLA 2011-04-01 14:26:11 EDT
Closing.