Project: Eclipse_Platform_UI
Bug 53639 [KeyBindings] WorkbenchKeyboard.logException should check exception message for null value
Reported: 2004-03-03 11:59:55 | Status: verified fixed

I20040302 WorbenchKeyboard::logException creates a new Status object using the message of the (nested) exception being logged: IStatus status = new Status(IStatus.ERROR, WorkbenchPlugin.PI_WORKBENCH, 0, exception.getMessage(), exception); exception.getMessage may be null, but Status does not allow non-null messages. This results in an AssertionException being thrown upon message less exceptions (just had it with an ArithmeticException).

Files changed in fix:
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/keys/WorkbenchKeyboard.java