Community
Participate
Working Groups
RC2,WinXP. I had a org.apache.xerces binary project which I re-imported loading the source. In the course of the import, while all the cursor flickering was going on, I got three alerts with the message "Cannot open input element. Reason: text editor does not have a document provider." (That's from memory, but close. I have no idea what that meant (aside from the obvious) or why it came up. The project appears to be built. ???
Maybe I do have an idea. I might have had three source files from the binary project open in the editor when this took place, and the message is Eclipse's subtle way of telling me that it couldn't keep them open through the transition. I know I had one or two open and they weren't after the import. Could be a little more graceful, I guess, but not harmful.
Since you mention source editors, I presume they were Java editors. This has nothing to do with PDE import - just with the way these editors reacted to resource changes caused by us. Moving to JDT for comment.
This could be the scenario from bug #30853 (deleting a project with open editors that didn't get instantiated). Moving to Platform UI to comment.
In the bug 30853 many dialogs were opened when restoring the editor. Those dialog were opened in the EditorManager.java. Here the dialogs seem to be opened in AbstractTextEditor.setInput(). Moving to Text for comment. PS: Is the end user supposed to know about input and document provider?
This has been fixed a while ago. Please reopen if you see this again.