Eclipse is not starting [message #213791] |
Fri, 11 April 2008 17:23  |
Eclipse User |
|
|
|
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 #213881 is a reply to message #213861] |
Mon, 14 April 2008 03:26  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.02610 seconds