Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » EObject Change Observer threw an exception(Integration of Junit with Plugin Project)
EObject Change Observer threw an exception [message #1663245] Tue, 10 March 2015 10:31 Go to next message
Harshini Garikiparthi is currently offline Harshini GarikiparthiFriend
Messages: 23
Registered: March 2015
Junior Member
Hello ,
I have tried to integrate Junit with the existing plugin project , when run it as Junit plugin test , the following error is thrown up


!ENTRY org.eclipse.emf.emfstore.common.model 2 2 2015-03-10 03:28:42.277
!MESSAGE EObject Change Observer threw an exception: org.eclipse.emf.emfstore.internal.client.model.impl.OperationManager
!STACK 0
java.lang.IllegalStateException: Cannot modify resource set without a write transaction
at org.eclipse.emf.transaction.impl.TransactionChangeRecorder.assertWriting(TransactionChangeRecorder.java:348)
at org.eclipse.emf.transaction.impl.TransactionChangeRecorder.appendNotification(TransactionChangeRecorder.java:302)
at org.eclipse.emf.transaction.impl.TransactionChangeRecorder.processObjectNotification(TransactionChangeRecorder.java:284)
at org.eclipse.emf.transaction.impl.TransactionChangeRecorder.notifyChanged(TransactionChangeRecorder.java:240)
at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:374)
at org.eclipse.emf.ecore.util.EcoreEList.dispatchNotification(EcoreEList.java:249)
at org.eclipse.emf.common.notify.impl.NotifyingListImpl.addAllUnique(NotifyingListImpl.java:457)
at org.eclipse.emf.common.notify.impl.NotifyingListImpl.addAllUnique(NotifyingListImpl.java:400)
at org.eclipse.emf.common.util.AbstractEList.addAll(AbstractEList.java:370)
at org.eclipse.emf.emfstore.internal.client.model.impl.ProjectSpaceBase.addOperations(ProjectSpaceBase.java:188)
at org.eclipse.emf.emfstore.internal.client.model.impl.OperationManager.operationsRecorded(OperationManager.java:177)
at org.eclipse.emf.emfstore.internal.client.model.impl.OperationRecorder.operationsRecorded(OperationRecorder.java:306)
at org.eclipse.emf.emfstore.internal.client.model.impl.OperationRecorder.bufferOrRecordOperations(OperationRecorder.java:928)
at org.eclipse.emf.emfstore.internal.client.model.impl.OperationRecorder.modelElementAdded(OperationRecorder.java:227)
at org.eclipse.emf.emfstore.internal.client.model.impl.OperationManager.modelElementAdded(OperationManager.java:259)
at org.eclipse.emf.emfstore.internal.common.model.impl.NotifiableIdEObjectCollectionImpl$1.run(NotifiableIdEObjectCollectionImpl.java:108)
at org.eclipse.emf.emfstore.internal.common.model.impl.NotifiableIdEObjectCollectionImpl$2.run(NotifiableIdEObjectCollectionImpl.java:142)
at org.eclipse.emf.emfstore.common.ESSafeRunner.run(ESSafeRunner.java:38)
at org.eclipse.emf.emfstore.internal.common.model.impl.NotifiableIdEObjectCollectionImpl.notifyIdEObjectCollectionChangeObservers(NotifiableIdEObjectCollectionImpl.java:165)
at org.eclipse.emf.emfstore.internal.common.model.impl.NotifiableIdEObjectCollectionImpl.modelElementAdded(NotifiableIdEObjectCollectionImpl.java:111)
at org.eclipse.emf.emfstore.internal.common.model.util.EObjectChangeNotifier.addAdapter(EObjectChangeNotifier.java:90)
at org.eclipse.emf.ecore.util.EContentAdapter.handleContainment(EContentAdapter.java:139)
at org.eclipse.emf.ecore.util.EContentAdapter.selfAdapt(EContentAdapter.java:74)
at org.eclipse.emf.ecore.util.EContentAdapter.notifyChanged(EContentAdapter.java:40)
at org.eclipse.emf.emfstore.internal.common.model.util.EObjectChangeNotifier.notifyChanged(EObjectChangeNotifier.java:187)
at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:374)
at org.eclipse.emf.ecore.util.EcoreEList.dispatchNotification(EcoreEList.java:249)
at org.eclipse.emf.common.notify.impl.NotifyingListImpl.addUnique(NotifyingListImpl.java:356)
at org.eclipse.emf.common.util.AbstractEList.add(AbstractEList.java:341)
at com.qualcomm.qti.qsip.databank.QEMFStorePersistHandler.addResourceToProject(QEMFStorePersistHandler.java:70)
at com.qualcomm.qti.qsip.databank.QEMFStorePersistHandler.saveMetaData(QEMFStorePersistHandler.java:60)
at com.qualcomm.qti.qsip.core.impl.QSiPResourceManagerImpl.saveMetaData(QSiPResourceManagerImpl.java:69)
at com.qualcomm.qti.qsip.core.impl.QSiPWorkspaceManagerImpl.createNewResource(QSiPWorkspaceManagerImpl.java:413)
at com.qualcomm.qti.fusemaster.gui.ParserImpl.ParseChipInfoFile(ParserImpl.java:1057)


Please assist
Re: EObject Change Observer threw an exception [message #1668946 is a reply to message #1663245] Thu, 12 March 2015 18:08 Go to previous message
Maximilian Koegel is currently offline Maximilian KoegelFriend
Messages: 253
Registered: July 2009
Senior Member
Hi,

we have taken this question to another channel and are in contact with
you there.

Cheers,
Maximilian

Am 10.03.2015 um 03:31 schrieb Harshini Garikiparthi:
> Hello ,
> I have tried to integrate Junit with the existing plugin project , when
> run it as Junit plugin test , the following error is thrown up
>
> !ENTRY org.eclipse.emf.emfstore.common.model 2 2 2015-03-10 03:28:42.277
> !MESSAGE EObject Change Observer threw an exception:
> org.eclipse.emf.emfstore.internal.client.model.impl.OperationManager
> !STACK 0
> java.lang.IllegalStateException: Cannot modify resource set without a
> write transaction
> at
> org.eclipse.emf.transaction.impl.TransactionChangeRecorder.assertWriting(TransactionChangeRecorder.java:348)
>
> at
> org.eclipse.emf.transaction.impl.TransactionChangeRecorder.appendNotification(TransactionChangeRecorder.java:302)
>
> at
> org.eclipse.emf.transaction.impl.TransactionChangeRecorder.processObjectNotification(TransactionChangeRecorder.java:284)
>
> at
> org.eclipse.emf.transaction.impl.TransactionChangeRecorder.notifyChanged(TransactionChangeRecorder.java:240)
>
> at
> org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:374)
>
> at
> org.eclipse.emf.ecore.util.EcoreEList.dispatchNotification(EcoreEList.java:249)
>
> at
> org.eclipse.emf.common.notify.impl.NotifyingListImpl.addAllUnique(NotifyingListImpl.java:457)
>
> at
> org.eclipse.emf.common.notify.impl.NotifyingListImpl.addAllUnique(NotifyingListImpl.java:400)
>
> at
> org.eclipse.emf.common.util.AbstractEList.addAll(AbstractEList.java:370)
> at
> org.eclipse.emf.emfstore.internal.client.model.impl.ProjectSpaceBase.addOperations(ProjectSpaceBase.java:188)
>
> at
> org.eclipse.emf.emfstore.internal.client.model.impl.OperationManager.operationsRecorded(OperationManager.java:177)
>
> at
> org.eclipse.emf.emfstore.internal.client.model.impl.OperationRecorder.operationsRecorded(OperationRecorder.java:306)
>
> at
> org.eclipse.emf.emfstore.internal.client.model.impl.OperationRecorder.bufferOrRecordOperations(OperationRecorder.java:928)
>
> at
> org.eclipse.emf.emfstore.internal.client.model.impl.OperationRecorder.modelElementAdded(OperationRecorder.java:227)
>
> at
> org.eclipse.emf.emfstore.internal.client.model.impl.OperationManager.modelElementAdded(OperationManager.java:259)
>
> at
> org.eclipse.emf.emfstore.internal.common.model.impl.NotifiableIdEObjectCollectionImpl$1.run(NotifiableIdEObjectCollectionImpl.java:108)
>
> at
> org.eclipse.emf.emfstore.internal.common.model.impl.NotifiableIdEObjectCollectionImpl$2.run(NotifiableIdEObjectCollectionImpl.java:142)
>
> at
> org.eclipse.emf.emfstore.common.ESSafeRunner.run(ESSafeRunner.java:38)
> at
> org.eclipse.emf.emfstore.internal.common.model.impl.NotifiableIdEObjectCollectionImpl.notifyIdEObjectCollectionChangeObservers(NotifiableIdEObjectCollectionImpl.java:165)
>
> at
> org.eclipse.emf.emfstore.internal.common.model.impl.NotifiableIdEObjectCollectionImpl.modelElementAdded(NotifiableIdEObjectCollectionImpl.java:111)
>
> at
> org.eclipse.emf.emfstore.internal.common.model.util.EObjectChangeNotifier.addAdapter(EObjectChangeNotifier.java:90)
>
> at
> org.eclipse.emf.ecore.util.EContentAdapter.handleContainment(EContentAdapter.java:139)
>
> at
> org.eclipse.emf.ecore.util.EContentAdapter.selfAdapt(EContentAdapter.java:74)
>
> at
> org.eclipse.emf.ecore.util.EContentAdapter.notifyChanged(EContentAdapter.java:40)
>
> at
> org.eclipse.emf.emfstore.internal.common.model.util.EObjectChangeNotifier.notifyChanged(EObjectChangeNotifier.java:187)
>
> at
> org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:374)
>
> at
> org.eclipse.emf.ecore.util.EcoreEList.dispatchNotification(EcoreEList.java:249)
>
> at
> org.eclipse.emf.common.notify.impl.NotifyingListImpl.addUnique(NotifyingListImpl.java:356)
>
> at
> org.eclipse.emf.common.util.AbstractEList.add(AbstractEList.java:341)
> at
> com.qualcomm.qti.qsip.databank.QEMFStorePersistHandler.addResourceToProject(QEMFStorePersistHandler.java:70)
>
> at
> com.qualcomm.qti.qsip.databank.QEMFStorePersistHandler.saveMetaData(QEMFStorePersistHandler.java:60)
>
> at
> com.qualcomm.qti.qsip.core.impl.QSiPResourceManagerImpl.saveMetaData(QSiPResourceManagerImpl.java:69)
>
> at
> com.qualcomm.qti.qsip.core.impl.QSiPWorkspaceManagerImpl.createNewResource(QSiPWorkspaceManagerImpl.java:413)
>
> at
> com.qualcomm.qti.fusemaster.gui.ParserImpl.ParseChipInfoFile(ParserImpl.java:1057)
>
>
>
> Please assist


--
Maximilian Kögel

Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/
Previous Topic:Producing XMI file for Enterprise Architect within Eclipse
Next Topic:[Edapt] Release of Eclipse-Source-Bundles
Goto Forum:
  


Current Time: Thu Apr 02 07:36:29 GMT 2020

Powered by FUDForum. Page generated in 0.01926 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top