Community
Participate
Working Groups
Build Identifier: I set the default value to a parameter using the set command: SetCommand.create(editingDomain, parameter, UMLPackage.eINSTANCE.getParameter_Default(), defaultValue) and it's working ok, but when I try to undo, I've seen that the unsetDefault (of ParameterOperations) is trying to do this: parameter.eUnset(UMLPackage.Literals.PROPERTY__DEFAULT_VALUE); and throws the a NPE (as seen in the attachement) Reproducible: Always Steps to Reproduce: 1. set the parameter default value with: SetCommand.create(editingDomain, parameter, UMLPackage.eINSTANCE.getParameter_Default(), defaultValue) (execute this command) 2. undo
Created attachment 168876 [details] stack trace for the Null pointer exception
This is a typo; it should be: parameter.eUnset(UMLPackage.Literals.PARAMETER__DEFAULT_VALUE);
A fix has been committed/pushed to the 'master' and 'R4_0_maintenance' branches.
Integration (for 4.1.0) and maintenance (for 4.0.1) builds containing the fix are now available.