Skip to content

Exception while closing window #477

Description

@amitjoy

I have built OSGi.fx using e(fx)clipse. However, while I am closing the window, I see tons of the same following exception:

2026-02-13  00:29:01.142+01:00     ERROR     [Equinox Log Thread - Equinox Container: f997385f-fa4e-44b4-a84a-b9241e0ab7c3]  [Events.Framework.org.eclipse.e4.ui.workbench]  FrameworkEvent ERROR (java.lang.NullPointerException: Cannot invoke "org.eclipse.fx.core.ThreadSynchronize.asyncExec(java.lang.Runnable)" because "this.threadSynchronize" is null)
java.lang.NullPointerException: Cannot invoke "org.eclipse.fx.core.ThreadSynchronize.asyncExec(java.lang.Runnable)" because "this.threadSynchronize" is null
	at org.eclipse.fx.ui.workbench.fx.internal.UISynchronizeImpl.asyncExec(UISynchronizeImpl.java:58)
	at org.eclipse.e4.ui.internal.workbench.ModelAssembler$ModelFragmentBundleTracker.removedBundle(ModelAssembler.java:145)
	at org.eclipse.e4.ui.internal.workbench.ModelAssembler$ModelFragmentBundleTracker.removedBundle(ModelAssembler.java:1)
	at org.osgi.util.tracker.BundleTracker$Tracked.customizerRemoved(BundleTracker.java:503)
	at org.osgi.util.tracker.BundleTracker$Tracked.customizerRemoved(BundleTracker.java:1)
	at org.osgi.util.tracker.AbstractTracked.untrack(AbstractTracked.java:342)
	at org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:458)
	at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:987)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
	at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:151)
	at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEventPrivileged(EquinoxEventPublisher.java:237)
	at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:136)
	at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:128)
	at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModuleEvent(EquinoxContainerAdaptor.java:232)
	at org.eclipse.osgi.container.Module.publishEvent(Module.java:534)
	at org.eclipse.osgi.container.Module.stop(Module.java:570)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.decStartLevel(ModuleContainer.java:2153)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:2022)
	at org.eclipse.osgi.container.SystemModule.stopWorker(SystemModule.java:281)
	at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule.stopWorker(EquinoxBundle.java:225)
	at org.eclipse.osgi.container.Module.doStop(Module.java:699)
	at org.eclipse.osgi.container.Module.stop(Module.java:557)
	at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:212)
	at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:244)
	at java.base/java.lang.Thread.run(Thread.java:1474)

It doesn't have any impact though, but I just thought of informing you about it.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions