Product Information > JADE Error Messages and System Messages > 2 through 1299 - JADE Object Manager Errors > 1027 - Object locked

1027   Object locked

Cause

This error occurs if you attempt to place a lock on an object that is already directly locked. The exception is raised when the value of the [JadeServer] ServerTimeout parameter in the JadeServer section of the JADE Initialization file is reached with the attempted object still being directly locked.

Action

Lock exceptions are continuable; that is, the continuable property is set to true. A lock exception handler could therefore attempt to acquire the lock using the tryLock method and if successful return Ex_Continue.

Your application code should detect this and handle the situation appropriately; for example, your application might retry the lock after waiting a short time and if it is still not successful, provide an option to wait or to cancel the action requiring the lock.