AnsweredAssumed Answered

I'm Trying To Use JobLockService With Exception Resulted

Question asked by mohammed.amr on Jul 25, 2011
Dear Gurus,

I'm trying to use JobLockService With null pointer exception as result.

The exception was:

11:03:36,588 User:admin ERROR [ui.common.Utils] A system error happened during the operation: null java.lang.NullPointerException

The line of the code was:

- jobLockService.getTransactionalLock(Constants.SecurityModelQNames.TYPE_SEC_ORGANIZATION_SEQUENCE,5000);
or -
jobLockService.getLock(Constants.SecurityModelQNames.TYPE_SEC_ORGANIZATION_SEQUENCE,5000);

I need an example for locking, can you help me.

Thanks
Mohammed Amr
Digital Series Co.

Outcomes