Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-opening editor for archive entry after restart fails with Eclipse 4.2 M5 #9

Open
rherrmann opened this issue Mar 13, 2012 · 0 comments
Labels

Comments

@rherrmann
Copy link
Owner

rherrmann commented Mar 13, 2012

The following message is shown in the editor area and logged in the error log:

Factory com.codeaffine.archive.ui.internal.editor.PersistableEditorInputFactory returned null from createElement for editor id=org.eclipse.ui.DefaultTextEditor name=.eclipseproduct

The PersistableEditorInputFactory doesn't actually persist the editor input. It is only stored in a map in memory that is of course lost after restart. Hence PersistableEditorInputFactory::createElement returns null for all reqests made by the IDE in order to restore previously opened editors.

With Eclipse 3.x, calls to createElement() that returned null were silently ignored.

@rherrmann rherrmann added bug and removed bug labels Nov 15, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant