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

Bug 174402

Summary: Cannot profile JUnit tests and Junit plugin tests
Product: z_Archived Reporter: Alex Nan <apnan>
Component: TPTPAssignee: Eugene Chan <ewchan>
Status: CLOSED DUPLICATE QA Contact:
Severity: major    
Priority: P1 CC: paulslau, ser
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard: closed460

Description Alex Nan CLA 2007-02-15 21:48:40 EST
Build ID: TPTP-4.4.0-200702150100

Steps To Reproduce:
The following exception occurrs when launching a JUnit test or a JUnir plugin test in profiling mode:

java.lang.NullPointerException
  at org.eclipse.jdt.junit.launcher.JUnitLaunchConfigurationDelegate.collectExecutionArguments(JUnitLaunchConfigurationDelegate.java:316)
  at org.eclipse.tptp.trace.ui.internal.launcher.core.LauncherUtility$JUnitConfigurationExtended.collectExecutionArguments(LauncherUtility.java:1319)
  at org.eclipse.tptp.trace.ui.internal.launcher.deleg.application.AbstractJUnitDelegate.preLaunch(AbstractJUnitDelegate.java:80)
  at org.eclipse.tptp.trace.ui.internal.launcher.deleg.application.PIJUnitLauncherDelegate.preLaunch(PIJUnitLauncherDelegate.java:37)
  at org.eclipse.tptp.trace.ui.internal.launcher.core.LauncherUtility.delegateInit(LauncherUtility.java:1168)
  at org.eclipse.tptp.trace.ui.provisional.launcher.PrimaryLaunchDelegate.run(PrimaryLaunchDelegate.java:188)
  at java.lang.Thread.run(Thread.java:797)


More information:
Comment 1 Eugene Chan CLA 2007-02-16 00:07:26 EST
There is a dependency on JDT internal code that no longer support. The current plan of TPTP 4.4 is to take out JUnit profile support.
Comment 2 Eugene Chan CLA 2007-04-12 11:06:50 EDT

*** This bug has been marked as a duplicate of bug 181273 ***
Comment 3 Paul Slauenwhite CLA 2009-06-30 10:32:13 EDT
As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant enhancements/defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement/defect is verified/closed by the Project Lead since the originator of this enhancement/defect has an inactive Bugzilla account and considered to be fixed. If this enhancement/defect is still unresolved and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open.