Bug 574533 - AssertionFailedException is thrown on handling TimeoutException

Fixed AssertionFailedException on handling TimeoutException

Change-Id: Ib085c3993e4d2782d797ce28882f22d8e1f443b6
Signed-off-by: Victor Rubezhny <vrubezhny@redhat.com>
diff --git a/org.eclipse.lsp4e/src/org/eclipse/lsp4e/operations/rename/LSPRenameProcessor.java b/org.eclipse.lsp4e/src/org/eclipse/lsp4e/operations/rename/LSPRenameProcessor.java
index aa69160..267bdfd 100644
--- a/org.eclipse.lsp4e/src/org/eclipse/lsp4e/operations/rename/LSPRenameProcessor.java
+++ b/org.eclipse.lsp4e/src/org/eclipse/lsp4e/operations/rename/LSPRenameProcessor.java
@@ -1,5 +1,5 @@
 /**

- *  Copyright (c) 2017-2019 Angelo ZERR.

+ *  Copyright (c) 2017-2021 Angelo ZERR.

  *  All rights reserved. This program and the accompanying materials

  *  are made available under the terms of the Eclipse Public License v1.0

  *  which accompanies this distribution, and is available at

@@ -186,7 +186,7 @@
 					+ ((responseError.getData() instanceof String) ? (": " + responseError.getData()) : ""); //$NON-NLS-1$ //$NON-NLS-2$

 			status.addFatalError(message);

 		} else {

-			status.addFatalError(e.getMessage());

+			status.addFatalError(e.getMessage() != null ? e.getMessage() : e.getClass().getSimpleName());

 		}

 		return null;

 	}