Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » ProjectExplorer and Navigator disappeared(Something went wrong during an update! How do I recover?)
icon5.gif  ProjectExplorer and Navigator disappeared [message #676340] Fri, 03 June 2011 19:41 Go to next message
Mark Fenbers is currently offline Mark FenbersFriend
Messages: 48
Registered: July 2009
Location: Ohio, USA
Member
Hi, I updated Eclipse today through the "Check for Updates" menu. Afterwards, I seem to have lost the plugin for the ProjectExplorer (and perhaps others). I can't even find it to relaunch it from the list of available views. How do I get it back?? Go through the whole update process again? Or is there a simpler way??

Here's some background as to why updating Eclipse is no easy task...

I don't update Eclipse very often because my development box does not have Internet access. When I do update, I have a short window of time (few hours) only on certain days where the electronics technicians have to unmount filesystems, unplug the network, plug in the Internet (which is not much better than dial-up speed), and go through other hoops so I can use Eclipse's built-in update mechanism, then reverse it all when I'm done -- a major pain that involves time and coordination among several people!

Today's update seemed to succeed without a hitch (no errors reported; normal behavior), except that after a restart of Eclipse, I noticed my Project Explorer window went away. I paid little attention hoping that this was an artifact of being outside my usual environment (losing filesystem mounts, etc.).

So, after being taken off the Internet and restored back to my normal environment, launching Eclipse revealed a continuation of the same problem. I also noticed other functional limitations, like the inability to switch perspectives, and a blank Navigator window. Some of the errors reported suggest that the problem is that the org.eclipse.ui.navigator.ProjectExplorer plugin is not available. Indeed, I did not see anything similar in the plugins subdirectory, so I'm thinking that I can repair Eclipse by putting the plugin back into that directory.

How can I get the plugin(s) I need without having to give my computer Internet access again? I'd like to try simply downloading the needed file(s) and copying them to the plugins directory. My question is, where can I get just the plugins I need??

Mark

[Updated on: Fri, 03 June 2011 19:50]

Report message to a moderator

Re: ProjectExplorer and Navigator disappeared [message #676469 is a reply to message #676340] Sat, 04 June 2011 16:32 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 26215
Registered: July 2009
Senior Member
Mark,

Deleting your <workspace>/.metadata/.log and running eclipse with -clean
-debug might help produce a more detailed log that describes any
conflicts (problems with bundle version ranges) in what's been installed.

Updates don't generate delete anything (they just copy in new versions
that, because they have a higher version number, are generally favored
over older versions) so I'd be surprised if something literally has gone
missing...


Mark wrote:
> Hi, I updated Eclipse today through the "Check for Updates" menu.
> Afterwards, I seem to have lost the plugin for the ProjectExplorer
> (and perhaps others). How do I get them back?? Go through the whole
> update process again? Or is there a simpler way??
>
> Here's some background as to why updating Eclipse is no easy task...
>
> I don't update Eclipse very often because my development box does not
> have Internet access. When I do update, I have a short window of time
> (few hours) only on certain days where the electronics technicians
> have to unmount filesystems, unplug the network, plug in the Internet
> (which is not much better than dial-up speed), and go through other
> hoops so I can use Eclipse's built-in update mechanism, then reverse
> it all when I'm done -- a major pain that involves time and
> coordination among several people!
>
> Today's update seemed to succeed without a hitch (no errors reported;
> normal behavior), except that after a restart of Eclipse, I noticed my
> Project Explorer window went away. I paid little attention hoping
> that this was an artifact of being outside my usual environment
> (losing filesystem mounts, etc.).
>
> So, after being taken off the Internet and restored back to my normal
> environment, launching Eclipse revealed a continuation of the same
> problem. I also noticed other functional limitations, like the
> inability to switch perspectives, and a blank Navigator window. Some
> of the errors reported suggest that the problem is that the
> org.eclipse.ui.navigator.ProjectExplorer plugin is not available.
> Indeed, I did not see anything similar in the plugins subdirectory, so
> I'm thinking that I can repair Eclipse by putting the plugin back into
> that directory.
>
> How can I get the plugin(s) I need without having to give my computer
> Internet access again? I'd like to try simply downloading the needed
> file(s) and copying them to the plugins directory. My question is,
> where can I get just the plugins I need??
>
> Mark
Re: ProjectExplorer and Navigator disappeared [message #676782 is a reply to message #676469] Mon, 06 June 2011 14:18 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

You can also use eclipse -data tmp_workspace to bring your eclipse up and try and figure out what has happened without harming your current workspace.

Worst case, there is a way to go back to a previous install, from either Help>About>Installation Details>Installation History tab or from the command line [1] (as an absolute worst case)

[1] http://pweclipse.blogspot.com/2011/03/working-state-from-p2-update.html

Later,
PW


Re: ProjectExplorer and Navigator disappeared [message #677230 is a reply to message #676469] Tue, 07 June 2011 21:22 Go to previous message
Mark Fenbers is currently offline Mark FenbersFriend
Messages: 48
Registered: July 2009
Location: Ohio, USA
Member
I'd like to think that you're right, but I deleted <workspace>/.metadata/.log and reran eclipse, but no log file was recreated there. I did see additional messages on the terminal window from the -debug switch, but none of the messages indicated an error, except for one that complained that a debug options file (.options) did not exist.

I also tried using -data tmp_workspace, but that also gave me no clues, although once eclipse loaded, a blank view window (not even anything in the view's titlebar) did appear at the top-left where a Navigator or Project Explorer window typically appears by default (not that I have seen the default configuration all that often).

So now I'll try some "worst case" ideas mentioned by Paul Webster...
Mark
Previous Topic:Creating an executable icon
Next Topic:Eclipse Helios extremely slow to start up
Goto Forum:
  


Current Time: Sun Nov 23 13:50:44 GMT 2014

Powered by FUDForum. Page generated in 0.09173 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software