Skip to content

Commit

Permalink
TEIIDDES-2009 added check for proxied EObject to prevent NPE
Browse files Browse the repository at this point in the history
  • Loading branch information
blafond committed Jan 6, 2014
1 parent dd53199 commit ef0f82c
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,10 @@ public final void setValue(ExtensionPropertyDescriptor descriptor, Object value)
* @return the value object
*/
public final Object getValue(int index){
if( modelObject.eIsProxy() ) {
return null;
}

Object result = null;
Object propertyId = tableModel.getPropertyIdAtIndex(index);
if (tableModel.isLocationColumn(propertyId)) {
Expand Down

0 comments on commit ef0f82c

Please sign in to comment.