Community
Participate
Working Groups
Even though the CompositeOperation is ended as shown in the example below, a second call of said method can result in a IllegalStateException. This issues should be reproduced with a testcase first. ProjectSpace projectSpace = WorkspaceManager.getProjectSpace(matrix); projectSpace.beginCompositeOperation(); ECPCommand ecpCommand = new ECPCommand(matrix) { @Override protected void doRun() { //[...] } }; ecpCommand.run(false); projectSpace.getOperationManager().endCompositeOperation();
*** Bug 371885 has been marked as a duplicate of this bug. ***
See existing CompositeOperationTest#beginSubsequentCompositeOperations for a test case. Issue seems to be resolved -> works for me