重新启动eclipse时,我们正在使用devstudio遇到一个场景(包括最新的drop和从源代码构建的)。最初,我们可以使用图形编辑器和查看源代码来导入和定义 API。当我们重新启动eclipse时,会显示异常(下)。非常感谢任何帮助:
java.lang.IllegalStateException:无法在 org.eclipse.emf.transaction.impl.TransactionalEditingDomainImpl.acquire(TransactionalEditingDomainImpl.java:576) 在 org.eclipse.emf.transaction.impl 的只读事务上下文中激活读/写事务。 TransactionalEditingDomainImpl.activate(TransactionalEditingDomainImpl.java:508) 在 org.eclipse.emf.transaction.impl.TransactionImpl.start(TransactionImpl.java:204) 在 org.eclipse.emf.workspace.impl.WorkspaceCommandStackImpl.createTransaction(WorkspaceCommandStackImpl.java: 380)在 org.eclipse.emf.workspace.AbstractEMFOperation.execute(AbstractEMFOperation.java:147)在 org.eclipse.core.commands.operations .DefaultOperationHistory.execute(DefaultOperationHistory.java:513) 在 org.eclipse.emf.transaction.impl.AbstractTransactionalCommandStack.execute(AbstractTransactionalCommandStack.java:165) 在 org.eclipse.emf 的 org.eclipse.emf.workspace.impl.WorkspaceCommandStackImpl.doExecute(WorkspaceCommandStackImpl.java:208) .transaction.impl.AbstractTransactionalCommandStack.execute(AbstractTransactionalCommandStack.java:219) at org.wso2.developerstudio.eclipse.gmf.esb.diagram.custom.AbstractMediatorFlowCompartmentEditPart.addInSequenceInputConnector(AbstractMediatorFlowCompartmentEditPart.java:76) at org.wso2.developerstudio.eclipse .gmf.esb.diagram.custom.AbstractMediatorFlowCompartmentEditPart.addChild(AbstractMediatorFlowCompartmentEditPart.java:135) 在 org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.parts.MediatorFlowMediatorFlowCompartment2EditPart。addChild(MediatorFlowMediatorFlowCompartment2EditPart.java:86) at org.eclipse.gef.editparts.AbstractEditPart.refreshChildren(AbstractEditPart.java:781) at org.eclipse.gef.editparts.AbstractEditPart.refresh(AbstractEditPart.java:726) at org.eclipse .gef.editparts.AbstractGraphicalEditPart.refresh(AbstractGraphicalEditPart.java:644) 在 org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.access$3(GraphicalEditPart.java:1)