eclipse / org.eclipse.emf.diffmerge.patterns

Eclipse Public License 2.0
1 stars 4 forks source link

IllegalStateException with Sirius >=6.3 #45

Open oconstant opened 2 years ago

oconstant commented 2 years ago

Creating a catalog in a modeling tool based on Sirius 6.3.3 or 6.4 fails as follows: java.lang.IllegalStateException: Cannot modify resource set without a write transaction at org.eclipse.emf.transaction.impl.TransactionChangeRecorder.assertWriting(TransactionChangeRecorder.java:349) at org.eclipse.emf.transaction.impl.TransactionChangeRecorder.appendNotification(TransactionChangeRecorder.java:303) at org.eclipse.emf.transaction.impl.TransactionChangeRecorder.processResourceNotification(TransactionChangeRecorder.java:273) at org.eclipse.emf.transaction.impl.TransactionChangeRecorder.notifyChanged(TransactionChangeRecorder.java:239) at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:424) at org.eclipse.emf.common.notify.impl.NotifyingListImpl.dispatchNotification(NotifyingListImpl.java:261) at org.eclipse.emf.common.notify.impl.NotifyingListImpl.addUnique(NotifyingListImpl.java:294) at org.eclipse.emf.common.util.AbstractEList.add(AbstractEList.java:304) at org.eclipse.emf.diffmerge.patterns.repositories.catalogs.PatternCatalogAccessor.createCatalogIn(PatternCatalogAccessor.java:88)

barais commented 2 years ago

Any news on the regression. It is not so easy to correct as we need to put some action within Emf Transactional Recording Command but it breaks the data flows?