Introduction
The following log line can appear in the applications logs:
Caused by: com.mendix.connectionbus.ConnectionBusRuntimeException: Error occurred while reserving the next 100 object identifiers of entity 268. This article explains what this error means and guidance on how to proceed.
Environment
Applications hosted in any deployment type
Details
When new objects are created in Mendix, each is assigned a unique identifier. To optimize performance, the Mendix runtime maintains a cache of these IDs and assigns them as objects are committed. Once the cache is depleted, a new batch of IDs is requested from the database.
The log entry Error occurred while reserving the next 100 object identifiers of entity 268 indicates that the attempt to retrieve additional IDs from the database did not succeed. This operation must be completed within a set timeframe, and if the database is experiencing heavy load or congestion, the request may fail during that window.
In essence, this error signifies a problem with database responsiveness when Mendix tries to obtain new object IDs. Typically, a result of high database activity or resource contention.
As a next step, it is recommended to check if anything is slowing down the application or the database. This could mean looking at how much system resources are being used, whether there have been any recent spikes in database activity, or spotting long-running queries and lots of transactions. Finding and fixing any bottlenecks or resource issues in either the application or the database can help clear up the error and make everything run more smoothly.
Internal information related
- C3T260XGA/p1760087673163299
- C5SASDZBN/p1606739658291200
Additional information
- Mendix documentation: Data in the Domain Model
0 Comments