Bug 224341 [ErrorHandling] SafeRunnnableDialog shows only "Reason" as message.
In case of an error the SafeRunner.class will open a SafeRunnnableDialg which (often) only prints String "Reason" and no further information. The reason are a failure in the dialog and and wrong properties-file entry. At end [Line 74] of constructor SafeRunnableDialog(IStatus status) of org.eclipse.jface.util.SafeRunnableDialog.class you will see following code: this.message = JFaceResources.format(JFaceResources .getString("SafeRunnableDialog_reason"), new Object[] { //$NON-NLS-1$ status.getMessage(), reason }); 1.) JFaceResources.format(String key, Object[] args) expects as first parameter a key in a resource bundle, but is already getting the localized value to this key --> leading to MissingResourceException 2.) the properties-value of key "SafeRunnableDialog_reason" in org.eclipse.jface.message.properties = "Reason", but should be "{0} Reason: {1}"
bundles/org.eclipse.jface/src/org/eclipse/jface/util/SafeRunnableDialog.java
/*******************************************************************************
 * Copyright (c) 2000, 2007 IBM Corporation and others.
 * 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
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/
package org.eclipse.jface.util;
import java.util.ArrayList;
import java.util.Collection;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.jface.dialogs.ErrorDialog;
import org.eclipse.jface.dialogs.IDialogConstants;
import org.eclipse.jface.resource.JFaceResources;
import org.eclipse.jface.viewers.CellLabelProvider;
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.jface.viewers.ISelectionChangedListener;
import org.eclipse.jface.viewers.IStructuredContentProvider;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.jface.viewers.SelectionChangedEvent;
import org.eclipse.jface.viewers.TableViewer;
import org.eclipse.jface.viewers.Viewer;
import org.eclipse.jface.viewers.ViewerCell;
import org.eclipse.jface.viewers.ViewerComparator;
import org.eclipse.swt.SWT;