Multiple instances
This page was created by Hans.karlsen@mdriven.net on 2023-08-09. Last edited by Stephanie@mdriven.net on 2025-03-05.

If you get a error like this:

2023-08-09 09h57 07.png

The Singleton class SOMECLASSNAME has multiple instances

This means that for some reason there are more than one object of the class that is marked as Singleton - and there should per definition only be one.

To fix this start the MDriven ocl debugger towards the same database that has the error.

Select all the objects of the given class: SOMECLASSNAME.allinstances, easiest via a seeker (1 & 2), then delete all but 1 of the objects(4&5).

2023-08-09 10h00 45.png
MDriven Chat

How would you like to chat today?

Setting up your conversation…

This may take a few moments