In Team For Capella, if I try to generate the HTML documentation for the IFE model, the following behavior appears.
The model is modified (the Capella Project Explorer view is dirty) and some errors are thrown in the Error Log view. The model seems to be corrupted since Team For Capella suggests rolling back the changes to the model.
Stacktrace:
org.eclipse.egf.core.producer.InvocationException
at org.eclipse.egf.producer.ftask.internal.manager.TaskManager.invoke(TaskManager.java:116)
at org.eclipse.egf.producer.fprod.internal.manager.ProductionPlanInvocationManager.invoke(ProductionPlanInvocationManager.java:111)
at org.eclipse.egf.producer.fprod.internal.manager.ProductionPlanManager.invoke(ProductionPlanManager.java:131)
at org.eclipse.egf.producer.internal.manager.FactoryComponentManager.invoke(FactoryComponentManager.java:133)
at org.eclipse.egf.producer.fprod.internal.manager.ProductionPlanInvocationManager.invoke(ProductionPlanInvocationManager.java:111)
at org.eclipse.egf.producer.fprod.internal.manager.ProductionPlanManager.invoke(ProductionPlanManager.java:131)
at org.eclipse.egf.producer.internal.manager.FactoryComponentManager.invoke(FactoryComponentManager.java:133)
at org.eclipse.egf.producer.fprod.internal.manager.ProductionPlanInvocationManager.invoke(ProductionPlanInvocationManager.java:111)
at org.eclipse.egf.producer.fprod.internal.manager.ProductionPlanManager.invoke(ProductionPlanManager.java:131)
at org.eclipse.egf.producer.internal.manager.FactoryComponentManager.invoke(FactoryComponentManager.java:133)
at org.polarsys.kitalpha.doc.gen.business.core.ui.helper.InvokeActivityHelper$2.run(InvokeActivityHelper.java:166)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: org.eclipse.emf.cdo.common.util.CDOException: Attempt to remove a dirty resource from a resource set: CDOResource@oid1NEW
at org.eclipse.emf.internal.cdo.view.CDOViewSetImpl.deregisterResources(CDOViewSetImpl.java:383)
at org.eclipse.emf.internal.cdo.view.CDOViewSetImpl.notifyChanged(CDOViewSetImpl.java:340)
at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:374)
at org.eclipse.emf.common.notify.impl.NotificationChainImpl.dispatch(NotificationChainImpl.java:98)
at org.eclipse.emf.common.notify.impl.NotificationChainImpl.dispatch(NotificationChainImpl.java:86)
at org.eclipse.emf.common.notify.impl.NotifyingListImpl.remove(NotifyingListImpl.java:718)
at org.eclipse.emf.common.util.AbstractEList.remove(AbstractEList.java:462)
at org.polarsys.kitalpha.doc.gen.business.core.scope.GenerationGlobalScope.cleanCopiedData(GenerationGlobalScope.java:114)
at org.polarsys.kitalpha.doc.gen.business.core.scope.GenerationGlobalScope.cleanScope(GenerationGlobalScope.java:96)
at org.polarsys.kitalpha.doc.gen.business.core.task.CleanScopeDataTask.doExecute(CleanScopeDataTask.java:34)
at org.eclipse.egf.task.internal.nature.TaskNatureJava.invoke(TaskNatureJava.java:62)
at org.eclipse.egf.producer.ftask.internal.invocation.TaskProductionInvocation.invoke(TaskProductionInvocation.java:53)
at org.eclipse.egf.producer.ftask.internal.manager.TaskManager.invoke(TaskManager.java:104)
... 11 more
This behavior does not happen if the "Export references to element out of scope" option in the documentation generation dialog is checked.
Tested with Docgen 1.2.x on Team For Capella 1.2.2.
In Team For Capella, if I try to generate the HTML documentation for the IFE model, the following behavior appears.
The model is modified (the Capella Project Explorer view is dirty) and some errors are thrown in the Error Log view. The model seems to be corrupted since Team For Capella suggests rolling back the changes to the model.
Stacktrace: org.eclipse.egf.core.producer.InvocationException at org.eclipse.egf.producer.ftask.internal.manager.TaskManager.invoke(TaskManager.java:116) at org.eclipse.egf.producer.fprod.internal.manager.ProductionPlanInvocationManager.invoke(ProductionPlanInvocationManager.java:111) at org.eclipse.egf.producer.fprod.internal.manager.ProductionPlanManager.invoke(ProductionPlanManager.java:131) at org.eclipse.egf.producer.internal.manager.FactoryComponentManager.invoke(FactoryComponentManager.java:133) at org.eclipse.egf.producer.fprod.internal.manager.ProductionPlanInvocationManager.invoke(ProductionPlanInvocationManager.java:111) at org.eclipse.egf.producer.fprod.internal.manager.ProductionPlanManager.invoke(ProductionPlanManager.java:131) at org.eclipse.egf.producer.internal.manager.FactoryComponentManager.invoke(FactoryComponentManager.java:133) at org.eclipse.egf.producer.fprod.internal.manager.ProductionPlanInvocationManager.invoke(ProductionPlanInvocationManager.java:111) at org.eclipse.egf.producer.fprod.internal.manager.ProductionPlanManager.invoke(ProductionPlanManager.java:131) at org.eclipse.egf.producer.internal.manager.FactoryComponentManager.invoke(FactoryComponentManager.java:133) at org.polarsys.kitalpha.doc.gen.business.core.ui.helper.InvokeActivityHelper$2.run(InvokeActivityHelper.java:166) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) Caused by: org.eclipse.emf.cdo.common.util.CDOException: Attempt to remove a dirty resource from a resource set: CDOResource@oid1NEW at org.eclipse.emf.internal.cdo.view.CDOViewSetImpl.deregisterResources(CDOViewSetImpl.java:383) at org.eclipse.emf.internal.cdo.view.CDOViewSetImpl.notifyChanged(CDOViewSetImpl.java:340) at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:374) at org.eclipse.emf.common.notify.impl.NotificationChainImpl.dispatch(NotificationChainImpl.java:98) at org.eclipse.emf.common.notify.impl.NotificationChainImpl.dispatch(NotificationChainImpl.java:86) at org.eclipse.emf.common.notify.impl.NotifyingListImpl.remove(NotifyingListImpl.java:718) at org.eclipse.emf.common.util.AbstractEList.remove(AbstractEList.java:462) at org.polarsys.kitalpha.doc.gen.business.core.scope.GenerationGlobalScope.cleanCopiedData(GenerationGlobalScope.java:114) at org.polarsys.kitalpha.doc.gen.business.core.scope.GenerationGlobalScope.cleanScope(GenerationGlobalScope.java:96) at org.polarsys.kitalpha.doc.gen.business.core.task.CleanScopeDataTask.doExecute(CleanScopeDataTask.java:34) at org.eclipse.egf.task.internal.nature.TaskNatureJava.invoke(TaskNatureJava.java:62) at org.eclipse.egf.producer.ftask.internal.invocation.TaskProductionInvocation.invoke(TaskProductionInvocation.java:53) at org.eclipse.egf.producer.ftask.internal.manager.TaskManager.invoke(TaskManager.java:104) ... 11 more
This behavior does not happen if the "Export references to element out of scope" option in the documentation generation dialog is checked.
Tested with Docgen 1.2.x on Team For Capella 1.2.2.
ECLIPSE-554896
POLARSYS-2366
florent.latombe
2019-01-30