Community
Participate
Working Groups
The AbstractModelerPropertySection refreshes itself in a read-only transaction, assuming that a transactional context is available. Sometimes, there isn't such a context, as for example when dealing with a proxy object (for which my application wants to show properties). A fairly simple change to the executeAsReadAction() method will tolerate nulls by assuming that, without a transactional context, the runnable can just be run.
Created attachment 43033 [details] A tweak to avoid the NPE Attached a patch that fixes the NPE for my scenario and allows the proxy to be displayed in my property section.
over to Anthony for evaluation...
OK, committed the patch
[target cleanup] 1.0 RC5 was the original target milestone for this bug
[GMF Restructure] Bug 319140 : product GMF and component Runtime Diagram was the original product and component for this bug