Multiple instances
No edit summary
No edit summary
 
(One intermediate revision by one other user not shown)
Line 9: Line 9:
Select all the objects of the given class: SOMECLASSNAME.allinstances, easiest via a Seeker (1 & 2), Search (3), then delete all but 1 of the objects(4&5).
Select all the objects of the given class: SOMECLASSNAME.allinstances, easiest via a Seeker (1 & 2), Search (3), then delete all but 1 of the objects(4&5).
[[File:2023-08-09 10h00 45.png|none|thumb|1136x1136px]]
[[File:2023-08-09 10h00 45.png|none|thumb|1136x1136px]]
{{Edited|July|12|2024}}
[[Category:Error messages]]

Latest revision as of 05:52, 18 March 2024

If you get an error like this:

2023-08-09 09h57 07.png

The Singleton class SOMECLASSNAME has multiple instances.

This means that for some reason, there is 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), Search (3), then delete all but 1 of the objects(4&5).

2023-08-09 10h00 45.png
This page was edited 62 days ago on 03/18/2024. What links here