|
Re: Run As > Eclipse Application hangs [message #1843647 is a reply to message #1843595] |
Thu, 12 August 2021 04:39 |
Ed Merks Messages: 33217 Registered: July 2009 |
Senior Member |
|
|
It looks like something is dynamically changing the available bundle very early during startup. I would set a breakpoint in the constructor of ExtensionEventDispatcherJob. When I launch a runtime instance, this job is not created.
Also, in PlatformResourceURIHandlerImpl.getWorkspaceRoot, the code is like this: protected static IWorkspaceRoot getWorkspaceRoot()
{
if (!cachedWorkspaceRootInitialized)
{
try
{
// If the resource bundle isn't available, we will always return null for this method.
if (EMFPlugin.IS_RESOURCES_BUNDLE_AVAILABLE)
{
// This will throw an exception if the instance location is not yet initialized,
// i.e., when EMF is used by some component before the the user chooses the workspace location.
// In this case we will return null and try again later to initialize the cached workspace root instance.
EcorePlugin.getPlugin().getStateLocation();
cachedWorkspaceRoot = workspaceRoot = EcorePlugin.getWorkspaceRoot();
}
cachedWorkspaceRootInitialized = true;
}
catch (Exception exception)
{
// Ignore.
}
}
return cachedWorkspaceRoot;
} So this does not log an exception and should not cause a "hang".
This sounds a bit like the description in this Bugzilla:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=574728
But that user never responded to any questions and did not help to provide a way to reproduce the problem...
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.03976 seconds