Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » eclipse M6 fails to startup if plugins installed
eclipse M6 fails to startup if plugins installed [message #175469] Sun, 04 January 2004 15:49 Go to next message
Eclipse UserFriend
Originally posted by: tcn.spamgourmet.org

Hi!

As soon as I copy plugins to M6's plugins directory eclipse fails to
startup:

!SESSION
------------------------------------------------------------ ----------
!ENTRY org.eclipse.core.launcher 4 0 Jan 04, 2004 16:43:34.295
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.NullPointerException
at org.eclipse.ui.internal.registry.RegistryReade
$1.compare(RegistryReader.java:103)
at java.util.Arrays.mergeSort(Arrays.java:1284)
at java.util.Arrays.mergeSort(Arrays.java:1296)
at java.util.Arrays.mergeSort(Arrays.java:1296)
at java.util.Arrays.sort(Arrays.java:1223)
at java.util.Collections.sort(Collections.java:159)
at
org.eclipse.ui.internal.registry.RegistryReader.orderExtensi ons(RegistryReader.java:107)
at
org.eclipse.ui.internal.registry.RegistryReader.readRegistry (RegistryReader.java:158)
at
org.eclipse.ui.internal.registry.ViewRegistryReader.readView s(ViewRegistryReader.java:80)
at
org.eclipse.ui.internal.WorkbenchPlugin.getViewRegistry(Work benchPlugin.java:332)
at
org.eclipse.ui.internal.WorkbenchPage.getViewFactory(Workben chPage.java:1599)
at org.eclipse.ui.internal.Perspective.<init>(Perspective.java:185)
at org.eclipse.ui.internal.Perspective.<init>(Perspective.java:174)
at
org.eclipse.ui.internal.WorkbenchPage.createPerspective(Work benchPage.java:1041)
at org.eclipse.ui.internal.WorkbenchPage.init(WorkbenchPage.jav a:1775)
at org.eclipse.ui.internal.WorkbenchPage.<init>(WorkbenchPage.java:407)
at
org.eclipse.ui.internal.WorkbenchWindow.busyOpenPage(Workben chWindow.java:576)
at org.eclipse.ui.internal.WorkbenchWindow$5.run(WorkbenchWindo w.java:1106)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:84)
at
org.eclipse.ui.internal.WorkbenchWindow.openPage(WorkbenchWi ndow.java:1103)
at
org.eclipse.ui.internal.Workbench.openFirstTimeWindow(Workbe nch.java:1142)
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.PlatformActivato
$1.run(PlatformActivator.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:489)
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)


eclipse keeps to fail (with the same exception) after I removed the plugin
from the directory (?). The only thing that seems to help is remove eclipse
completely and unpack it again.

???
Timo
Re: eclipse M6 fails to startup if plugins installed [message #175477 is a reply to message #175469] Sun, 04 January 2004 15:52 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: tcn.spamgourmet.org

Timo Nentwig wrote:

> !SESSION
> ------------------------------------------------------------ ----------
> !ENTRY org.eclipse.core.launcher 4 0 Jan 04, 2004 16:43:34.295
> !MESSAGE Exception launching the Eclipse Platform:
> !STACK
> java.lang.NullPointerException

The same exception is thrown if I access rights for the eclipse directory
are set to root:root. So, eclipse tries to write to its own directory?

Timo
Re: eclipse M6 fails to startup if plugins installed [message #175485 is a reply to message #175469] Sun, 04 January 2004 16:09 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: tcn.spamgourmet.org

Timo Nentwig wrote:

> As soon as I copy plugins to M6's plugins directory eclipse fails to
> startup:

And it does so, too if I install plugins via Update Site (AspectJ, JBoss
IDE, ...).
Re: eclipse M6 fails to startup if plugins installed [message #175492 is a reply to message #175469] Sun, 04 January 2004 17:33 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dorian.birsan.net

"Timo Nentwig" <tcn@spamgourmet.org> wrote in message
news:bt9chp$fl3$1@eclipse.org...
> Hi!
>
> As soon as I copy plugins to M6's plugins directory eclipse fails to
> startup:
>
> !SESSION
> ------------------------------------------------------------ ----------
> !ENTRY org.eclipse.core.launcher 4 0 Jan 04, 2004 16:43:34.295
> !MESSAGE Exception launching the Eclipse Platform:
> !STACK
> java.lang.NullPointerException
> at org.eclipse.ui.internal.registry.RegistryReade
> [......]
> eclipse keeps to fail (with the same exception) after I removed the plugin
> from the directory (?). The only thing that seems to help is remove
eclipse
> completely and unpack it again.
>
> ???
> Timo

Please open a bug and describe the exact steps to reproduce the problem, as
well as JDK, OS, etc.

-Dorian
Re: eclipse M6 fails to startup if plugins installed [message #175498 is a reply to message #175477] Sun, 04 January 2004 17:36 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dorian.birsan.net

"Timo Nentwig" <tcn@spamgourmet.org> wrote in message
news:bt9cmt$fl3$2@eclipse.org...
> Timo Nentwig wrote:
>
> > !SESSION
> > ------------------------------------------------------------ ----------
> > !ENTRY org.eclipse.core.launcher 4 0 Jan 04, 2004 16:43:34.295
> > !MESSAGE Exception launching the Eclipse Platform:
> > !STACK
> > java.lang.NullPointerException
>
> The same exception is thrown if I access rights for the eclipse directory
> are set to root:root. So, eclipse tries to write to its own directory?

If the eclipse install directory is writeable then eclipse will write its
configuration info in the eclipse/.config folder.
Try removing .config and restart eclipse, it may help.

-Dorian

>
> Timo
Re: eclipse M6 fails to startup if plugins installed [message #175512 is a reply to message #175469] Sun, 04 January 2004 19:05 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jmordax.terra.es

I have seen this problem on Windows. The steps to reproduce are similar
but not exactly the same (if you post the bug I will add this information):

- Copy via file system a new feature (including plugins).

- Start Eclipse.

- Enable the feature via Configuration Manager.

- Work with the plugin...... start and stop Eclipse n times (normal
work).

- Stop Eclipse.

- Delete via file system the new feature (including plugins).

Eclipse won't start again with the same exception you posted.

These steps worked fine with previous milestones of 3.0 and previous
versions.

Regards,

Chemi.

Timo Nentwig wrote:

>Hi!
>
>As soon as I copy plugins to M6's plugins directory eclipse fails to
>startup:
>
>!SESSION
> ------------------------------------------------------------ ----------
>!ENTRY org.eclipse.core.launcher 4 0 Jan 04, 2004 16:43:34.295
>!MESSAGE Exception launching the Eclipse Platform:
>!STACK
>java.lang.NullPointerException
> at org.eclipse.ui.internal.registry.RegistryReade
>$1.compare(RegistryReader.java:103)
> at java.util.Arrays.mergeSort(Arrays.java:1284)
> at java.util.Arrays.mergeSort(Arrays.java:1296)
> at java.util.Arrays.mergeSort(Arrays.java:1296)
> at java.util.Arrays.sort(Arrays.java:1223)
> at java.util.Collections.sort(Collections.java:159)
> at
> org.eclipse.ui.internal.registry.RegistryReader.orderExtensi ons(RegistryReader.java:107)
> at
> org.eclipse.ui.internal.registry.RegistryReader.readRegistry (RegistryReader.java:158)
> at
> org.eclipse.ui.internal.registry.ViewRegistryReader.readView s(ViewRegistryReader.java:80)
> at
> org.eclipse.ui.internal.WorkbenchPlugin.getViewRegistry(Work benchPlugin.java:332)
> at
> org.eclipse.ui.internal.WorkbenchPage.getViewFactory(Workben chPage.java:1599)
> at org.eclipse.ui.internal.Perspective.<init>(Perspective.java:185)
> at org.eclipse.ui.internal.Perspective.<init>(Perspective.java:174)
> at
> org.eclipse.ui.internal.WorkbenchPage.createPerspective(Work benchPage.java:1041)
> at org.eclipse.ui.internal.WorkbenchPage.init(WorkbenchPage.jav a:1775)
> at org.eclipse.ui.internal.WorkbenchPage.<init>(WorkbenchPage.java:407)
> at
> org.eclipse.ui.internal.WorkbenchWindow.busyOpenPage(Workben chWindow.java:576)
> at org.eclipse.ui.internal.WorkbenchWindow$5.run(WorkbenchWindo w.java:1106)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:84)
> at
> org.eclipse.ui.internal.WorkbenchWindow.openPage(WorkbenchWi ndow.java:1103)
> at
> org.eclipse.ui.internal.Workbench.openFirstTimeWindow(Workbe nch.java:1142)
> 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.PlatformActivato
>$1.run(PlatformActivator.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:489)
> 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)
>
>
>eclipse keeps to fail (with the same exception) after I removed the plugin
>from the directory (?). The only thing that seems to help is remove eclipse
>completely and unpack it again.
>
>???
>Timo
>
>
Re: eclipse M6 fails to startup if plugins installed [message #175520 is a reply to message #175498] Sun, 04 January 2004 19:11 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jmordax.terra.es

Dorian, in the similar case I commented in this thread on Windows XP,
deleting .config folder let Eclipse start again.
This .config directory is new, right? It was not present on R2.x; Which
is it purpose? Is there any doc about it?

Thanks,

Chemi.

dorian birsan wrote:

>If the eclipse install directory is writeable then eclipse will write its
>configuration info in the eclipse/.config folder.
>Try removing .config and restart eclipse, it may help.
>
>-Dorian
>
>
Re: eclipse M6 fails to startup if plugins installed [message #175676 is a reply to message #175492] Mon, 05 January 2004 10:39 Go to previous message
Eclipse UserFriend
Originally posted by: tcn.spamgourmet.org

dorian birsan wrote:

> Please open a bug and describe the exact steps to reproduce the problem,
> as well as JDK, OS, etc.

bugs.eclipse.org seems to have problems. I'm already waiting 10mins for a
http response...
Previous Topic:Editor Model Options
Next Topic:Swing/AWT in View Part Problem for Eclipse 3.0M6
Goto Forum:
  


Current Time: Thu Aug 29 23:29:12 GMT 2024

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

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

Back to the top