Bug 75336 RemoteTestRunner.runFailed omits stack trace [JUnit]
i200409211200 RemoteTestRunner.runFailed omits the stack trace, just prints the exception message to the console. I was having a NPE while building a test suite, but the only feedback I would get would be: Failed to invoke suite(): java.lang.NullPointerException The code in the suite method was not trivial, so I could only figure out where it was happening by debugging with an NPE-based breakpoint.
org.eclipse.jdt.junit.runtime/src/org/eclipse/jdt/internal/junit/runner/RemoteTestRunner.java
Method suiteMethod= null;
		try {
			suiteMethod= testClass.getMethod(SUITE_METHODNAME, new Class[0]);
	 	} catch(Exception e) {
	 		
			return new TestSuite(testClass);
		}
		Test test= null;
		try {
			test= (Test)suiteMethod.invoke(null, new Class[0]); 
		} 
		catch (InvocationTargetException e) {
			runFailed(JUnitMessages.getFormattedString("RemoteTestRunner.error.invoke", e.getTargetException().toString() )); 
			return null;
		}
		catch (IllegalAccessException e) {
			runFailed(JUnitMessages.getFormattedString("RemoteTestRunner.error.invoke", e.toString() )); 
			return null;
		}
		return test;
	}
	protected void runFailed(String message) {
		System.err.println(message);
	}
	
	/**
	 * Loads the test suite class.
	 */
	private Class loadSuiteClass(String className) throws ClassNotFoundException {
		if (className == null)