Community
Participate
Working Groups
Opening and closing library sample editor results in multiple instances of log messages like the following: Image with ID 'bookImage' is already registered
This might not be reproducible any more with the demise of the library sample, but the underlying issue should still exist...
The root cause is this Graphiti bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=334402
Is there a way to check if the image is already registered before registering? Your code should work whether or not Graphiti chooses to cache images between editor sessions. If there isn't an API to check this ahead of time or a way to register an image without causing problems to be logged, I would recommend opening a bug on that instead of dispose-on-close problem.
Created attachment 188018 [details] Patch v1 Before registering images we first check whether they have already been cached.
Patch released.
This problem has not been seen since the fix, so closing as verified.