Good Day,
I am getting an error at random intervals when using the following method:
Databse.Find ( int SearchKind, int[] itemTypes, int AttrTypeNum, int LocaleId, String sAttrValue, int CompareFlags )
The error retrieved from the system.out file:
report-engine-exception: cannot initialize selection objects at com.aris.modeling.server.bl.common.reportobjects.aris.logic.AArisReportRoot.executeUseCase(AArisReportRoot.java:1189) at com.aris.modeling.server.bl.common.reportobjects.aris.logic.AItem.Find(AItem.java:1802) at com.aris.modeling.server.bl.common.reportobjects.aris.logic.AItem.Find(AItem.java:1676) at com.aris.modeling.server.bl.common.reportobjects.aris.logic.AItem.Find(AItem.java:1962) at com.aris.modeling.server.bl.common.reportobjects.aris.logic.AItem.Find(AItem.java:1900) at com.aris.modeling.server.bl.common.reportobjects.aris.logic.ADatabase.Find(ADatabase.java:1268) Caused by: com.aris.modeling.common.core.arisom.base.AAOMLockException: object -uB1g55QD3T:p:L is locked by e0787ee7-be78-475c-bde4-25fe641339ed at com.aris.modeling.common.core.arisomimpl.base.AObjectProviderToAOMExceptionFactory.createAAOMException(AObjectProviderToAOMExceptionFactory.java:26) at com.aris.modeling.common.core.arisomimpl.base.AObjectProviderToAOMExceptionFactory.createAndThrowAAOMException(AObjectProviderToAOMExceptionFactory.java:39) at com.aris.modeling.common.core.arisomimpl.base.ASaveOperation.invoke(ASaveOperation.java:298) at com.aris.modeling.common.core.arisomimpl.base.ASession.intermediateSaveModifiedObjects(ASession.java:291) at com.aris.modeling.common.core.arisomimpl.base.ASession.saveModifiedObjectsInternal(ASession.java:224) at com.aris.modeling.common.core.arisomimpl.base.ASession.saveModifiedObjects(ASession.java:188) at com.aris.modeling.common.core.arisomimpl.directctx.AUseCaseExecutor.execDAOCall(AUseCaseExecutor.java:271) at com.aris.modeling.common.core.arisomimpl.directctx.ADirectContext.execDAOCall(ADirectContext.java:337) at com.aris.modeling.common.core.arisomimpl.methodctx.AMethodContext.execDAOCall(AMethodContext.java:83) at com.aris.modeling.common.core.arisomimpl.accessrightctx.AAccessRightContext.execDAOCall(AAccessRightContext.java:144) at com.aris.modeling.common.core.arisomimpl.arisctx.AArisContext.execDAOCall(AArisContext.java:129) at com.aris.modeling.server.bl.common.reportobjects.aris.logic.AArisReportRoot.executeUseCase(AArisReportRoot.java:1185) ... 32 more Caused by: com.aris.modeling.common.core.arisomimpl.objectprovider.impl.AObjectProviderLockException: object -uB1g55QD3T:p:L is locked by e0787ee7-be78-475c-bde4-25fe641339ed at com.aris.modeling.server.services.aom.aomobjectproviderimpl.AObjectProvider.lockForDelete(AObjectProvider.java:710) at com.aris.modeling.common.core.arisomimpl.base.ASaveOperation.invoke(ASaveOperation.java:264) ... 41 more Caused by: com.aris.modeling.server.services.lockservice.ObjectLockedException: object -uB1g55QD3T:p:L is locked by e0787ee7-be78-475c-bde4-25fe641339ed at com.aris.modeling.server.services.lockservice.cipbased.ALockServiceImpl.lock(ALockServiceImpl.java:106) at com.aris.modeling.server.services.aom.aomobjectproviderimpl.AObjectProvider.lockForDelete(AObjectProvider.java:688)
My script creates/updates/delete objects from data retrieved from a web service.
All objects are locked and unlocked when needed. Most of the times the objects are locked when I try to find them in the database, but like I said it sometimes gives an error.
Anyone able to help with this issue?
Regards,
Freddy Barkhuizen