<-- Back

Mendix Studio Pro error: SQLite Error 5: 'database is locked'

Issue

During regular use of Mendix Studio Pro, such as saving an object or updating a microflow, one of the following errors may occur:
 

SQLite Error 5: 'database is locked'

As soon as this error occurs, changes can still be saved, but Studio Pro must be restarted.
 

Exception Processing Message 0x0000005 - Unexpected parameters

When this error occurs, changes are not saved. Once the message is closed, Studio Pro exits forcefully.

Environment

  • Studio Pro v10.13.0 to v10.24.21
  • Studio Pro v11.7.0 and older

Cause

When Mendix interacts with a project file (for example, when saving), it locks the file completely for the entire duration of the operation. This means no other process can access the file until everything is fully complete. Mendix Studio Pro relies on the operating system file system to enforce this lock. File system locking can fail to enforce the lock consistently, which results in this error.

Solution / Workaround

This issue has been fixed and can be resolved by doing the following:

For Studio Pro v10.x update to v10.24.22 or newer
For Studio Pro v11.x update to v11.8.0 or newer.

Internal information related

  • 279570
  • SOLP-3684, CCR-73
  • C0A5EDRD2/p1780314850448399

Additional information

Not Applicable

Have more questions? Submit a request

0 Comments

Article is closed for comments.

To provide feedback, please open a ticket here. Don't forget to include the article's URL along with the feedback you would like to provide.