Bug 35086 - "Cannot open input element" while importing plugin project
Summary: "Cannot open input element" while importing plugin project
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.3   Edit
Assignee: Platform-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-14 22:12 EST by Bob Foster CLA
Modified: 2007-06-12 05:00 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bob Foster CLA 2003-03-14 22:12:12 EST
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. ???
Comment 1 Bob Foster CLA 2003-03-14 22:16:16 EST
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.
Comment 2 Dejan Glozic CLA 2003-03-16 11:50:21 EST
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.
Comment 3 Erich Gamma CLA 2003-03-17 19:48:59 EST
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.
Comment 4 Eduardo Pereira CLA 2003-03-18 11:56:26 EST
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?
Comment 5 Dani Megert CLA 2007-01-19 08:37:51 EST
This has been fixed a while ago. Please reopen if you see this again.