Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Eclipse is not starting
Eclipse is not starting [message #213791] Fri, 11 April 2008 17:23 Go to next message
Eclipse UserFriend
hi,

yesterday I worked on my Suse Linux 10.1 with Eclipse Europa and
Qt-Installation.
Today Eclipse is not running up any more. There is a hint to look into
.../workspace/.metadata/.log.
This log-file contains a lot of text which does not help me.

some extract from it is here:

!SESSION 2008-04-11 22:39:29.813
-----------------------------------------------
eclipse.buildId=M20071023-1652
java.version=1.4.2_16
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=de_DE
Command-line arguments: -os linux -ws gtk -arch x86 -data
home/niksch/workspace

!ENTRY org.eclipse.osgi 4 0 2008-04-11 22:39:32.392
!MESSAGE An error occurred while automatically activating bundle
org.eclipse.debug.ui (6).
!STACK 0
org.osgi.framework.BundleException: Exception in
org.eclipse.debug.internal.ui.DebugUIPlugin.start() of bundle
org.eclipse.debug.ui.
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:1018)
...
... many, many similar lines following, all beginning with "at
org.eclipse."
...
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: java.lang.IllegalStateException: Workbench has not been created
yet.
at org.eclipse.ui.PlatformUI.getWorkbench(PlatformUI.java:92)
...
... many lines beginning with "at org.eclipse."
...
Root exception:
java.lang.IllegalStateException: Workbench has not been created yet.
at org.eclipse.ui.PlatformUI.getWorkbench(PlatformUI.java:92)
...
... many lines beginning with "at org.eclipse."
...
!ENTRY org.eclipse.osgi 4 0 2008-04-11 22:39:32.641
!MESSAGE Application error
!STACK 1
org.eclipse.swt.SWTError: Not implemented [multiple displays]
at org.eclipse.swt.SWT.error(SWT.java:3589)
...
... many lines beginning with "at org.eclipse."
...
!ENTRY org.eclipse.cdt.managedbuilder.core 4 0 2008-04-11 22:39:32.965
!MESSAGE
!STACK 0
org.osgi.framework.BundleException: Exception in
org.eclipse.cdt.managedbuilder.core.ManagedBuilderCorePlugin .stop() of
bundle org.eclipse.cdt.managedbuilder.core.
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s top(BundleContextImpl.java:1056)
...
Caused by: java.lang.NullPointerException
...
Root exception:
java.lang.NullPointerException
...

I know it is a lot of stuff. Can somebody explain what happened and more
import what to do?

Thanks

Nikosch
Re: Eclipse is not starting [message #213807 is a reply to message #213791] Fri, 11 April 2008 19:06 Go to previous messageGo to next message
Eclipse UserFriend
I got Eclipse back by renaming the .metadata directory and starting
Eclipse.

But now Eclipse does not know anything about my old projects and my
configurations. There is so much different that a like to have my old ones
back.

Is it possible to repair the old configuration?

Nikosch
Re: Eclipse is not starting [message #213814 is a reply to message #213807] Fri, 11 April 2008 19:24 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: subs._nospam_consertum.com

Nikosch wrote:
> I got Eclipse back by renaming the .metadata directory and starting
> Eclipse.
>
> But now Eclipse does not know anything about my old projects and my
> configurations. There is so much different that a like to have my old
> ones back.
>
> Is it possible to repair the old configuration?
>
> Nikosch
>
Try Import (Existing projects into workspace)

--
Derek
Re: Eclipse is not starting [message #213838 is a reply to message #213814] Sat, 12 April 2008 17:08 Go to previous messageGo to next message
Eclipse UserFriend
Thanks, this works.
But I had to define all configurations from scratch.
I hope this will not be necessary frequently - its all tedious work.

There are big files in the old directory ".metadata" with tens of MByte.
What stuff is Eclipse storing there?

Nikosch
Re: Eclipse is not starting [message #213854 is a reply to message #213838] Sat, 12 April 2008 19:47 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: subs._nospam_consertum.com

Nikosch wrote:
> Thanks, this works.
> But I had to define all configurations from scratch.
> I hope this will not be necessary frequently - its all tedious work.
>
> There are big files in the old directory ".metadata" with tens of MByte.
> What stuff is Eclipse storing there?
>
> Nikosch
>
the log file (.log) is stored in there.

--
Derek
Re: Eclipse is not starting [message #213861 is a reply to message #213854] Sun, 13 April 2008 15:12 Go to previous messageGo to next message
Eclipse UserFriend
Derek wrote:

> the log file (.log) is stored in there.

There is much more than the .log File. Let's take an example from one of
my projects.
All the files together have about 1 MByte. But
metadata/.plugins/org.eclipse.cdt.core contains a file which contains the
name of that project in its name and occupies more than 10 MByte. This
file must contain information about that project - it contains the name.
And there are some more smaller files with the project name as part of
file names.

I guess there is a lot about the editing history. What else could take so
much memory?
If so, I am keen on information what files could be deleted without
deleting important project information. This way I could delete old
history, keep all necessary information and save space on my disk.

Has somebody such information?

Nikosch
Re: Eclipse is not starting [message #213881 is a reply to message #213861] Mon, 14 April 2008 03:26 Go to previous message
Eclipse UserFriend
Nikosch wrote:
> Derek wrote:
>
>> the log file (.log) is stored in there.
>
> There is much more than the .log File. Let's take an example from one of
> my projects. All the files together have about 1 MByte. But
> metadata/.plugins/org.eclipse.cdt.core contains a file which contains
> the name of that project in its name and occupies more than 10 MByte.

Most probably you found the PDOM index file of your project (the result
of indexing). You can delete the file safely offline. This will trigger
re-indexing the next time you start Eclipse. You can do the same in the
UI with Index > Rebuild.

> I guess there is a lot about the editing history. What else could take
> so much memory?

Local History is stored under
..metadata/.plugins/org.eclipse.core.resources/.history

I think it is safe to delete everything below this directory.
But don't manipulating anyhting else below
..metadata/.plugins/org.eclipse.core.resources
might corrupt your workspace.

> If so, I am keen on information what files could be deleted without
> deleting important project information. This way I could delete old
> history, keep all necessary information and save space on my disk.
>
> Has somebody such information?

It basically depends on the plug-in which writes the information. A few
important files and folders are:

..metadata/.plugins/org.eclipse.core.runtime/.settings
Contains the workspace preference settings.

..metadata/.plugins/org.eclipse.ui.workbench/workbench.xml
Stores the Workbench UI layout.

..metadata/.plugins/org.eclipse.ui.workbench/workingsets.xml
Stores the working sets.

Many UI plug-ins store dialog settings (like size/position, default
values, etc) in a file called 'dialog_settings.xml'

HTH
--
Anton Leherbauer
Wind River CDT Team, Austria
Previous Topic:Problem running project
Next Topic:Custom debugger
Goto Forum:
  


Current Time: Sat May 03 07:19:01 EDT 2025

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

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

Back to the top