Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » problems with .registry
problems with .registry [message #185886] Wed, 28 January 2004 06:46 Go to next message
Eclipse UserFriend
Originally posted by: chlai88.yahoo.com

hi,

there seems to be a problem with uninstalling plugins on the 3.0 m6 build. i
installed a plugin and then i uninstall the plugin by deleting the
corresponding directories from the features and plugins dir. but then i have
a problem restarting. it seems the .registry file is corrupted somehow. i
manage to restart by deleting the .registry file but all the workspace info
is now gone. is there a utility to edit the .registry file in cases like
this. here is the stack trace in .log :

!SESSION ------------------------------------------------------------ -------
---
!ENTRY org.eclipse.core.launcher 4 0 Jan 28, 2004 03:37:20.913
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.NullPointerException
at
org.eclipse.ui.internal.registry.RegistryReader$1.compare(Re gistryReader.jav
a:103)
at java.util.Arrays.mergeSort(Arrays.java:1278)
at java.util.Arrays.sort(Arrays.java:1219)
at java.util.Collections.sort(Collections.java:155)
at org.eclipse.ui.internal.registry.RegistryReader.orderExtensi onshe
..registry (RegistryReader.java:107)
at
org.eclipse.ui.internal.registry.RegistryReader.readRegistry (RegistryReader.
java:158)
at
org.eclipse.ui.internal.registry.WizardsRegistryReader.readW izards(WizardsRe
gistryReader.java:156)
at
org.eclipse.ui.internal.registry.NewWizardsRegistryReader.re adWizards(NewWiz
ardsRegistryReader.java:350)
at
org.eclipse.ui.internal.registry.NewWizardsRegistryReader.ge tWizardElements(
NewWizardsRegistryReader.java:371)
at org.eclipse.ui.actions.NewWizardMenu.hasExamples(NewWizardMe nu.java:212)
at org.eclipse.ui.actions.NewWizardMenu.fillMenu(NewWizardMenu. java:119)
at org.eclipse.ui.actions.NewWizardMenu.fill(NewWizardMenu.java :196)
at org.eclipse.jface.action.MenuManager.update(MenuManager.java :573)
at org.eclipse.jface.action.MenuManager.update(MenuManager.java :462)
at org.eclipse.jface.action.MenuManager.fill(MenuManager.java:2 10)
at org.eclipse.jface.action.MenuManager.update(MenuManager.java :573)
at org.eclipse.jface.action.MenuManager.update(MenuManager.java :462)
at org.eclipse.jface.action.MenuManager.fill(MenuManager.java:2 10)
at org.eclipse.jface.action.MenuManager.update(MenuManager.java :573)
at org.eclipse.jface.action.MenuManager.update(MenuManager.java :462)
at org.eclipse.jface.action.MenuManager.createMenuBar(MenuManag er.java:147)
at
org.eclipse.jface.window.ApplicationWindow.configureShell(Ap plicationWindow.
java:294)
at
org.eclipse.ui.internal.WorkbenchWindow.configureShell(Workb enchWindow.java:
714)
at org.eclipse.jface.window.Window.createShell(Window.java:353)
at org.eclipse.jface.window.Window.create(Window.java:304)
at
org.eclipse.ui.internal.Workbench.openFirstTimeWindow(Workbe nch.java:1136)
at org.eclipse.ui.internal.Workbench.init(Workbench.java:875)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1459)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:246)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:139)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:47)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.
java:226)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl
..java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:279)
at org.eclipse.core.launcher.Main.run(Main.java:742)
at org.eclipse.core.launcher.Main.main(Main.java:581)

Regards,
Chern-Horng Lai
Re: problems with .registry [message #192353 is a reply to message #185886] Tue, 10 February 2004 23:13 Go to previous message
Eclipse UserFriend
Originally posted by: jeff_mcaffer_REMOVE.ca.ibm.com

yup. known problem in M6. Should be fixed now.
"hanzi" <chlai88@yahoo.com> wrote in message
news:bv87bs$v6q$1@eclipse.org...
> hi,
>
> there seems to be a problem with uninstalling plugins on the 3.0 m6 build.
i
> installed a plugin and then i uninstall the plugin by deleting the
> corresponding directories from the features and plugins dir. but then i
have
> a problem restarting. it seems the .registry file is corrupted somehow. i
> manage to restart by deleting the .registry file but all the workspace
info
> is now gone. is there a utility to edit the .registry file in cases like
> this. here is the stack trace in .log :
>
>
!SESSION ------------------------------------------------------------ -------
> ---
> !ENTRY org.eclipse.core.launcher 4 0 Jan 28, 2004 03:37:20.913
> !MESSAGE Exception launching the Eclipse Platform:
> !STACK
> java.lang.NullPointerException
> at
>
org.eclipse.ui.internal.registry.RegistryReader$1.compare(Re gistryReader.jav
> a:103)
> at java.util.Arrays.mergeSort(Arrays.java:1278)
> at java.util.Arrays.sort(Arrays.java:1219)
> at java.util.Collections.sort(Collections.java:155)
> at org.eclipse.ui.internal.registry.RegistryReader.orderExtensi onshe
> .registry (RegistryReader.java:107)
> at
>
org.eclipse.ui.internal.registry.RegistryReader.readRegistry (RegistryReader.
> java:158)
> at
>
org.eclipse.ui.internal.registry.WizardsRegistryReader.readW izards(WizardsRe
> gistryReader.java:156)
> at
>
org.eclipse.ui.internal.registry.NewWizardsRegistryReader.re adWizards(NewWiz
> ardsRegistryReader.java:350)
> at
>
org.eclipse.ui.internal.registry.NewWizardsRegistryReader.ge tWizardElements(
> NewWizardsRegistryReader.java:371)
> at
org.eclipse.ui.actions.NewWizardMenu.hasExamples(NewWizardMe nu.java:212)
> at org.eclipse.ui.actions.NewWizardMenu.fillMenu(NewWizardMenu. java:119)
> at org.eclipse.ui.actions.NewWizardMenu.fill(NewWizardMenu.java :196)
> at org.eclipse.jface.action.MenuManager.update(MenuManager.java :573)
> at org.eclipse.jface.action.MenuManager.update(MenuManager.java :462)
> at org.eclipse.jface.action.MenuManager.fill(MenuManager.java:2 10)
> at org.eclipse.jface.action.MenuManager.update(MenuManager.java :573)
> at org.eclipse.jface.action.MenuManager.update(MenuManager.java :462)
> at org.eclipse.jface.action.MenuManager.fill(MenuManager.java:2 10)
> at org.eclipse.jface.action.MenuManager.update(MenuManager.java :573)
> at org.eclipse.jface.action.MenuManager.update(MenuManager.java :462)
> at
org.eclipse.jface.action.MenuManager.createMenuBar(MenuManag er.java:147)
> at
>
org.eclipse.jface.window.ApplicationWindow.configureShell(Ap plicationWindow.
> java:294)
> at
>
org.eclipse.ui.internal.WorkbenchWindow.configureShell(Workb enchWindow.java:
> 714)
> at org.eclipse.jface.window.Window.createShell(Window.java:353)
> at org.eclipse.jface.window.Window.create(Window.java:304)
> at
> org.eclipse.ui.internal.Workbench.openFirstTimeWindow(Workbe nch.java:1136)
> at org.eclipse.ui.internal.Workbench.init(Workbench.java:875)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1459)
> at
>
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:246)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:139)
> at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:47)
> at
>
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.
> java:226)
> at
>
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:85)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39
> )
> at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl
> .java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at org.eclipse.core.launcher.Main.basicRun(Main.java:279)
> at org.eclipse.core.launcher.Main.run(Main.java:742)
> at org.eclipse.core.launcher.Main.main(Main.java:581)
>
> Regards,
> Chern-Horng Lai
>
>
>
>
Previous Topic:How to Move Eclipse Directory Safely
Next Topic:When is a plugin a dependency of another?
Goto Forum:
  


Current Time: Tue Jul 15 04:18:45 EDT 2025

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

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

Back to the top