org.datanucleus.exceptions.NucleusUserException

Objeto con id "13524[OID]salesvip.dom.backend.ProductSupplierTerms" es manejado por otro ExecutionContext

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web6

  • via Unknown by Óscar Bou,
  • via Unknown by Óscar Bou,
  • via Unknown by Dan Haywood,
  • Stack trace

    • org.datanucleus.exceptions.NucleusUserException: Objeto con id "13524[OID]salesvip.dom.backend.ProductSupplierTerms" es manejado por otro ExecutionContext at org.datanucleus.ExecutionContextImpl.findObjectProvider(ExecutionContextImpl.java:1268) at org.datanucleus.store.rdbms.mapping.java.PersistableMapping.setObjectAsValue(PersistableMapping.java:409) at org.datanucleus.store.rdbms.mapping.java.PersistableMapping.setObject(PersistableMapping.java:321) at org.datanucleus.store.rdbms.fieldmanager.ParameterSetter.storeObjectField(ParameterSetter.java:191) at org.datanucleus.state.AbstractStateManager.providedObjectField(AbstractStateManager.java:1460) at org.datanucleus.state.StateManagerImpl.providedObjectField(StateManagerImpl.java:120) at salesvip.dom.backend.ProductSupplierTermsStockUpdate.dnProvideField(ProductSupplierTermsStockUpdate.java) at salesvip.dom.backend.ProductSupplierTermsStockUpdate.dnProvideFields(ProductSupplierTermsStockUpdate.java) at org.datanucleus.state.StateManagerImpl.provideFields(StateManagerImpl.java:1170) at org.datanucleus.store.rdbms.request.InsertRequest.execute(InsertRequest.java:292) at org.datanucleus.store.rdbms.RDBMSPersistenceHandler.insertObjectInTable(RDBMSPersistenceHandler.java:162) at org.datanucleus.store.rdbms.RDBMSPersistenceHandler.insertObject(RDBMSPersistenceHandler.java:138) at org.datanucleus.state.StateManagerImpl.internalMakePersistent(StateManagerImpl.java:3363) at org.datanucleus.state.StateManagerImpl.makePersistent(StateManagerImpl.java:3339) at org.datanucleus.ExecutionContextImpl.persistObjectInternal(ExecutionContextImpl.java:2066) at org.datanucleus.ExecutionContextImpl.persistObjectWork(ExecutionContextImpl.java:1909) at org.datanucleus.ExecutionContextImpl.persistObject(ExecutionContextImpl.java:1764) at org.datanucleus.api.jdo.JDOPersistenceManager.jdoMakePersistent(JDOPersistenceManager.java:720) at org.datanucleus.api.jdo.JDOPersistenceManager.makePersistent(JDOPersistenceManager.java:745) at org.apache.isis.objectstore.jdo.datanucleus.persistence.commands.DataNucleusCreateObjectCommand.execute(DataNucleusCreateObjectCommand.java:54) at org.apache.isis.core.runtime.system.persistence.PersistenceSession.executeCommands(PersistenceSession.java:1179) at org.apache.isis.core.runtime.system.persistence.PersistenceSession.execute(PersistenceSession.java:1173) at org.apache.isis.core.runtime.system.transaction.IsisTransaction.doFlush(IsisTransaction.java:500) at org.apache.isis.core.runtime.system.transaction.IsisTransaction.flush(IsisTransaction.java:446) at org.apache.isis.core.runtime.system.transaction.IsisTransactionManager.flushTransaction(IsisTransactionManager.java:404) at org.apache.isis.core.runtime.persistence.internal.RuntimeContextFromSession$2.flush(RuntimeContextFromSession.java:167) at org.apache.isis.core.metamodel.services.container.DomainObjectContainerDefault.flush(DomainObjectContainerDefault.java:331) at salesvip.dom.backend.SalesVIPEntity.persistAndFlush(SalesVIPEntity.java:39) at salesvip.dom.backend.ProductSupplierTerms.onModifyStock(ProductSupplierTerms.java:117) at salesvip.dom.backend.ProductSupplierTerms.modifyStock(ProductSupplierTerms.java:93) at sun.reflect.GeneratedMethodAccessor67.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.apache.isis.core.commons.lang.MethodExtensions.invoke(MethodExtensions.java:53) at org.apache.isis.core.metamodel.adapter.ObjectAdapter$InvokeUtils.invoke(ObjectAdapter.java:377) at org.apache.isis.core.metamodel.adapter.ObjectAdapter$InvokeUtils.invoke(ObjectAdapter.java:381) at org.apache.isis.core.metamodel.facets.properties.update.modify.PropertySetterFacetViaModifyMethod.setProperty(PropertySetterFacetViaModifyMethod.java:86) at org.apache.isis.core.metamodel.facets.properties.property.modify.PropertySetterFacetForDomainEventAbstract.setProperty(PropertySetterFacetForDomainEventAbstract.java:89) at org.apache.isis.core.runtime.transaction.facets.PropertySetterFacetWrapTransaction$1.execute(PropertySetterFacetWrapTransaction.java:59) at org.apache.isis.core.runtime.system.transaction.IsisTransactionManager.executeWithinTransaction(IsisTransactionManager.java:174) at org.apache.isis.core.runtime.transaction.facets.PropertySetterFacetWrapTransaction.setProperty(PropertySetterFacetWrapTransaction.java:56) at org.apache.isis.core.metamodel.specloader.specimpl.OneToOneAssociationDefault.setValue(OneToOneAssociationDefault.java:212) at org.apache.isis.core.metamodel.specloader.specimpl.OneToOneAssociationDefault.set(OneToOneAssociationDefault.java:182) at org.apache.isis.core.wrapper.handlers.DomainObjectInvocationHandler.handleSetterMethodOnProperty(DomainObjectInvocationHandler.java:425) at org.apache.isis.core.wrapper.handlers.DomainObjectInvocationHandler.invoke(DomainObjectInvocationHandler.java:232) at org.apache.isis.core.wrapper.proxy.ProxyCreator$1.invoke(ProxyCreator.java:72) at salesvip.dom.backend.ProductSupplierTerms_$$_jvst8a_d.setStock(ProductSupplierTerms_$$_jvst8a_d.java) at salesvip.dom.backend.Product.updateSupplierStock(Product.java:275) at sun.reflect.GeneratedMethodAccessor66.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.apache.isis.core.metamodel.facets.actions.action.invocation.ActionInvocationFacetForDomainEventAbstract.internalInvoke(ActionInvocationFacetForDomainEventAbstract.java:407) at org.apache.isis.core.metamodel.facets.actions.action.invocation.ActionInvocationFacetForDomainEventAbstract.invoke(ActionInvocationFacetForDomainEventAbstract.java:210) at org.apache.isis.core.runtime.transaction.facets.ActionInvocationFacetWrapTransaction$1.execute(ActionInvocationFacetWrapTransaction.java:62) at org.apache.isis.core.runtime.transaction.facets.ActionInvocationFacetWrapTransaction$1.execute(ActionInvocationFacetWrapTransaction.java:59) at org.apache.isis.core.runtime.system.transaction.IsisTransactionManager.executeWithinTransaction(IsisTransactionManager.java:216) at org.apache.isis.core.runtime.transaction.facets.ActionInvocationFacetWrapTransaction.invoke(ActionInvocationFacetWrapTransaction.java:59) at org.apache.isis.core.metamodel.specloader.specimpl.ObjectActionDefault.execute(ObjectActionDefault.java:363) at org.apache.isis.core.wrapper.handlers.DomainObjectInvocationHandler.handleActionMethod(DomainObjectInvocationHandler.java:625) at org.apache.isis.core.wrapper.handlers.DomainObjectInvocationHandler.invoke(DomainObjectInvocationHandler.java:260) at org.apache.isis.core.wrapper.proxy.ProxyCreator$1.invoke(ProxyCreator.java:72) at salesvip.dom.backend.Product_$$_jvst8a_8.updateSupplierStock(Product_$$_jvst8a_8.java) at salesvip.dom.engel.EngelProductService.upsertProductFromEngel(EngelProductService.java:61) at salesvip.fixture.engel.UpsertAllProductsFromEngel.lambda$0(UpsertAllProductsFromEngel.java:28)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.