Project: Eclipse_Platform_UI
Bug 66292 [Dialogs] InputDialog NPE when invoking setErrorMessage(...) too early
Reported: 2004-06-09 10:02:59 | Status: verified fixed

06081200 build Setting the error message this early is probably not anticipated, but it shouldn't throw an exception... public class Main { public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); InputDialog dialog = new InputDialog (shell, "TEST", "value", "test", null); dialog.setErrorMessage("error"); dialog.open(); shell.open(); } }

Files changed in fix:
bundles/org.eclipse.jface/src/org/eclipse/jface/dialogs/InputDialog.java