[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform] [DataBinding] AssertionFailedException: "null argument" when using DataBindingContext's default constructor

Hi,

I have a Wizard that runs a IRunnableWithProgress with 			
getContainer().run(true, false, runnable);

The runnable causes a notification somewhere that causes initialization of a DataBindingContext in a UI component.

The component uses the default constructor DataBindingContext(), and this works unless it is called from the wizards ModalContext. In that case, the assertion in the constructor DataBindingContext(Realm) fails. Obviously, Realm.getDefault() returned null.

What do I have to do? I have no idea which Realm to provide for the DataBindingContext. Why is it necessary? This problem seems to be similar to http://www.eclipse.org/newsportal/article.php?id=78491&group=eclipse.platform#78491

Kind regards, Sebastian