From 9b29afd5500d9f14b73a4da58afb64ce700ec83c Mon Sep 17 00:00:00 2001 From: Philipp Haller Date: Thu, 15 May 2008 11:07:28 +0000 Subject: Fixed NPE in partest --- src/partest/scala/tools/partest/nest/CompileManager.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/partest') diff --git a/src/partest/scala/tools/partest/nest/CompileManager.scala b/src/partest/scala/tools/partest/nest/CompileManager.scala index 5da1913c1c..c43ec8fca6 100644 --- a/src/partest/scala/tools/partest/nest/CompileManager.scala +++ b/src/partest/scala/tools/partest/nest/CompileManager.scala @@ -178,7 +178,8 @@ class CompileManager(val fileManager: FileManager) { NestUI.verbose("while invoking compiler ("+file+"):") NestUI.verbose("caught "+t) t.printStackTrace - t.getCause.printStackTrace + if (t.getCause != null) + t.getCause.printStackTrace false } } -- cgit v1.2.3