Actifsource

#6784 [Bug/DiagramEd] SWT Resource was not properly disposed

Actifsource code generator for any programming language
Release: Actifsource V11.1.0

java.lang.Error: SWT Resource was not properly disposed

    at org.eclipse.swt.graphics.Resource.initNonDisposeTracking(Resource.java:172)
    at org.eclipse.swt.graphics.Resource.<init>(Resource.java:120)
    at org.eclipse.swt.graphics.Image.<init>(Image.java:702)
    at org.eclipse.jface.resource.ImageDescriptor?.createImage(ImageDescriptor?.java:338)
    at org.eclipse.jface.resource.ImageDescriptor?.createImage(ImageDescriptor?.java:287)
    at org.eclipse.jface.resource.ImageDescriptor?.createImage(ImageDescriptor?.java:265)
    at ch.actifsource.ui.diagram.classes.editor.MenuManagerWithIcon2.getImage(MenuManagerWithIcon2.java:30)
    at ch.actifsource.ui.diagram.classes.editor.MenuManagerWithIcon2.fill(MenuManagerWithIcon2.java:39)
    at org.eclipse.jface.action.MenuManager?.doItemFill(MenuManager?.java:729)
    at org.eclipse.jface.action.MenuManager?.update(MenuManager?.java:806)
    at org.eclipse.jface.action.MenuManager?.update(MenuManager?.java:673)
    at org.eclipse.e4.ui.workbench.renderers.swt.MenuManagerRenderer?.scheduleManagerUpdate(MenuManagerRenderer?.java:1226)
    at org.eclipse.e4.ui.workbench.renderers.swt.MenuManagerRenderer?.processContents(MenuManagerRenderer?.java:654)
    at org.eclipse.e4.ui.workbench.renderers.swt.MenuManagerRenderer?.subscribeTopicChildAdded(MenuManagerRenderer?.java:325)
    at jdk.internal.reflect.GeneratedMethodAccessor31.invoke(Unknown Source)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl?.invoke(DelegatingMethodAccessorImpl?.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:564)
    at org.eclipse.e4.core.internal.di.MethodRequestor?.execute(MethodRequestor?.java:58)
    at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:236)
    at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:133)
    at org.eclipse.swt.widgets.Display.syncExec(Display.java:5941)
    at org.eclipse.e4.ui.workbench.swt.DisplayUISynchronize.syncExec(DisplayUISynchronize.java:34)
    at org.eclipse.e4.ui.internal.di.UIEventObjectSupplier$UIEventHandler.handleEvent(UIEventObjectSupplier.java:64)
    at org.eclipse.equinox.internal.event.EventHandlerWrapper?.handleEvent(EventHandlerWrapper?.java:205)
    at org.eclipse.equinox.internal.event.EventHandlerTracker?.dispatchEvent(EventHandlerTracker?.java:203)
    at org.eclipse.equinox.internal.event.EventHandlerTracker?.dispatchEvent(EventHandlerTracker?.java:1)
    at org.eclipse.osgi.framework.eventmgr.EventManager?.dispatchEvent(EventManager?.java:234)
    at org.eclipse.osgi.framework.eventmgr.ListenerQueue?.dispatchEventSynchronous(ListenerQueue?.java:151)
    at org.eclipse.equinox.internal.event.EventAdminImpl?.dispatchEvent(EventAdminImpl?.java:133)
    at org.eclipse.equinox.internal.event.EventAdminImpl?.sendEvent(EventAdminImpl?.java:75)
    at org.eclipse.equinox.internal.event.EventComponent?.sendEvent(EventComponent?.java:44)
    at org.eclipse.e4.ui.services.internal.events.EventBroker?.send(EventBroker?.java:55)
    at org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:63)
    at org.eclipse.emf.common.notify.impl.BasicNotifierImpl?.eNotify(BasicNotifierImpl?.java:424)
    at org.eclipse.emf.ecore.util.EcoreEList.dispatchNotification(EcoreEList.java:249)
    at org.eclipse.emf.common.notify.impl.NotifyingListImpl?.addUnique(NotifyingListImpl?.java:294)
    at org.eclipse.emf.common.util.AbstractEList.add(AbstractEList.java:304)
    at org.eclipse.e4.ui.workbench.renderers.swt.MenuManagerRenderer?.reconcileManagerToModel(MenuManagerRenderer?.java:1050)
    at org.eclipse.ui.internal.PopupMenuExtender?.addMenuContributions(PopupMenuExtender?.java:379)
    at org.eclipse.ui.internal.PopupMenuExtender?.menuAboutToShow(PopupMenuExtender?.java:355)
    at org.eclipse.jface.action.MenuManager?.fireAboutToShow(MenuManager?.java:338)
    at org.eclipse.jface.action.MenuManager?.handleAboutToShow(MenuManager?.java:468)
    at org.eclipse.jface.action.MenuManager?.access$1(MenuManager?.java:463)
    at org.eclipse.jface.action.MenuManager?$2.menuShown(MenuManager?.java:495)
    at org.eclipse.swt.widgets.TypedListener?.handleEvent(TypedListener?.java:259)
    at org.eclipse.swt.widgets.EventTable?.sendEvent(EventTable?.java:89)
    at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5831)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1427)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1453)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1432)
    at org.eclipse.swt.widgets.Menu._setVisible(Menu.java:248)
    at org.eclipse.swt.widgets.Display.runPopups(Display.java:5134)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4560)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine?$5.run(PartRenderingEngine?.java:1157)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine?.run(PartRenderingEngine?.java:1046)
    at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
    at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:644)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:551)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:156)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:152)
    at org.eclipse.equinox.internal.app.EclipseAppHandle?.run(EclipseAppHandle?.java:203)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher?.runApplication(EclipseAppLauncher?.java:134)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher?.start(EclipseAppLauncher?.java:104)
    at org.eclipse.core.runtime.adaptor.EclipseStarter?.run(EclipseStarter?.java:401)
    at org.eclipse.core.runtime.adaptor.EclipseStarter?.run(EclipseStarter?.java:255)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl?.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl?.invoke(NativeMethodAccessorImpl?.java:64)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl?.invoke(DelegatingMethodAccessorImpl?.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:564)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1461)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1434)