Community
Participate
Working Groups
A code to reproduce the bug : IElementEditService provider = ElementEditServiceUtils.getCommandProvider(context); CreateElementRequest createRequest = new CreateElementRequest(context.getNearestPackage(), SysMLElementTypes.DERIVE_REQT); ICommand createGMFCommand = provider.getEditCommand(createRequest); CommandResult result = createGMFCommand.getCommandResult(); result is null : the command result has not been initialized during the command creation, so we can't use the result in the following command;
The result is accessible in the request, but i should be interesting to get it from the result too.