Community
Participate
Working Groups
Build 20020531 + latest changes - launch new target - exit - restart - get: Unable to restore editor - cannot instantiate input element: org.eclipse.ui.internal.dialogs.WelcomeEditorInputFactory
To be clear, both times I was launching the target. It's actually able to instantiate WelcomeEditorInputFactory, but createElement returns null due to Workbench.getFeaturesInfo() returning null, due to the Update problem (even though I have -update specified on my target command line). I find the log message confusing since it was actually able to instantiate the factory (even though the message says element instead of factory). Changed the log message to: "Unable to restore editor - createElement returned null for factory: " + factoryID
This is caused by the same problem described in bug 18353. However, in this case it does not make sense for us to suppress the error message. This is just a regular editor that wants to restore itself, and cannot recreate its input element because it does not have the feature info. So it returns null, and the workbench does the complaining for it. But the workbench doesn't know that it was due to missing feature info.
Should not occur when (re)launching host since the feature info should be there. Need to verify this in the test pass.
Marking as dup of 18820 because Eduardo reproduced the problem using the host, not the target. *** This bug has been marked as a duplicate of 18820 ***