Bug 17256 Exception due to bug 17208
examples/org.eclipse.jface.examples.databinding/src/org/eclipse/jface/examples/databinding/nestedselection/TestMasterDetail.java
createTable1();
		validationStatus = new Text(shell, SWT.READ_ONLY | SWT.BORDER);
	}
	private void run() {
		final Display display = new Display();
		Realm.runWithDefault(SWTObservables.getRealm(display), new Runnable() {
			public void run() {
				createShell();
				bind(shell);
				shell.setSize(600, 600);
				shell.open();
				while (!shell.isDisposed()) {
					if (!display.readAndDispatch())
						display.sleep();
				}
			}
		});
		display.dispose();
	}
	SimpleModel model = new SimpleModel();
	private void bind(Control parent) {
		Realm realm = SWTObservables.getRealm(parent.getDisplay());
		TableViewer peopleViewer = new TableViewer(personsTable);
		ObservableListContentProvider peopleViewerContent = new ObservableListContentProvider();
		peopleViewer.setContentProvider(peopleViewerContent);
		IObservableMap[] attributeMaps = BeansObservables.observeMaps(
				peopleViewerContent.getKnownElements(), SimplePerson.class,
				new String[] { "name", "state" });
		peopleViewer.setLabelProvider(new ObservableMapLabelProvider(
				attributeMaps));