facebook

Cannot start M6 w/3.7RC2 [Closed]

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #201813 Reply

    I’ve been waiting for 3.7 to release so I can switch to M6, but now I can’t get eclipse to run.

    Eclipse runs fine without MyEclipse installed. I downloaded and ran the installer, which completed fine. Every time I try to run M6 now, it gives me an error, and tells me to check my .log file.

    In that file is a NullPointerException:
    java.lang.NullPointerException
    at org.eclipse.ui.internal.registry.RegistryReader$1.compare(RegistryReader.java:103)

    If I uninstall MyEclipse, the error goes away.

    jason

    #201816 Reply

    Riyad Kalla
    Member

    Jason,
    Did you follow these steps?

      * Shutdown Eclipse 3.6
      * Delete the directory <Eclipse 3.6 install dir>/eclipse/.config.  Note the directory name begins with a dot so it won’t be visible in the Macintosh Finder.  On the Mac, you’ll have to use the Terminal application to manually go to the eclipse directory to delete it.
      * Start up MyEclipse 3.7 RC2
      * Verify that the MyEclipse Preference pages are available from the Windows menu>Preferences
    #201817 Reply

    @support-rkalla wrote:

    Jason,
    Did you follow these steps?

    Yep, tried that, no change.

    The release note implies that Eclipse will start, it just won’t show MyEclipse. My installation won’t even complete the startup.

    jason

    #201818 Reply

    Riyad Kalla
    Member

    Jason, can you open the .log file again (<eclipse install dir>\workspace\.metadata\.log) and paste the last 2 entries starting with:
    !SESSION—————–

    hopefully more detail of the error may help. In the mean time I’ll forward your problem on to others that may be able to help.

    #201819 Reply

    Here you go:

    !SESSION Jan 14, 2004 11:36:04.788 ———————————————
    java.version=1.4.1_02
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    Command-line arguments: -os win32 -ws win32 -arch x86
    !ENTRY org.eclipse.core.runtime 4 2 Jan 14, 2004 11:36:04.798
    !MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.core.runtime”.
    !STACK 0
    java.lang.NullPointerException
    at org.eclipse.ui.internal.registry.RegistryReader$1.compare(RegistryReader.java:103)
    at java.util.Arrays.mergeSort(Arrays.java:1237)
    at java.util.Arrays.mergeSort(Arrays.java:1245)
    at java.util.Arrays.mergeSort(Arrays.java:1245)
    at java.util.Arrays.sort(Arrays.java:1185)
    at java.util.Collections.sort(Collections.java:151)
    at org.eclipse.ui.internal.registry.RegistryReader.orderExtensions(RegistryReader.java:107)
    at org.eclipse.ui.internal.registry.RegistryReader.readRegistry(RegistryReader.java:158)
    at org.eclipse.ui.internal.registry.ActionSetRegistryReader.readRegistry(ActionSetRegistryReader.java:54)
    at org.eclipse.ui.internal.registry.ActionSetRegistry.readFromRegistry(ActionSetRegistry.java:152)
    at org.eclipse.ui.internal.registry.ActionSetRegistry.<init>(ActionSetRegistry.java:34)
    at org.eclipse.ui.internal.WorkbenchPlugin.getActionSetRegistry(WorkbenchPlugin.java:195)
    at org.eclipse.ui.internal.Perspective.createInitialActionSets(Perspective.java:270)
    at org.eclipse.ui.internal.Perspective.restoreState(Perspective.java:971)
    at org.eclipse.ui.internal.WorkbenchPage.restoreState(WorkbenchPage.java:2323)
    at org.eclipse.ui.internal.WorkbenchWindow.restoreState(WorkbenchWindow.java:1337)
    at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1325)
    at org.eclipse.ui.internal.Workbench.access$8(Workbench.java:1293)
    at org.eclipse.ui.internal.Workbench$11.run(Workbench.java:1215)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:813)
    at org.eclipse.core.runtime.Platform.run(Platform.java:457)
    at org.eclipse.ui.internal.Workbench.openPreviousWorkbenchState(Workbench.java:1171)
    at org.eclipse.ui.internal.Workbench.init(Workbench.java:870)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1459)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:246)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:139)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:47)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:85)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.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)
    !SESSION ———————————————————————-
    !ENTRY org.eclipse.core.launcher 4 0 Jan 14, 2004 11:37:26.365
    !MESSAGE Exception launching the Eclipse Platform:
    !STACK
    java.lang.NullPointerException
    at org.eclipse.ui.internal.registry.RegistryReader$1.compare(RegistryReader.java:103)
    at java.util.Arrays.mergeSort(Arrays.java:1237)
    at java.util.Arrays.mergeSort(Arrays.java:1245)
    at java.util.Arrays.mergeSort(Arrays.java:1245)
    at java.util.Arrays.sort(Arrays.java:1185)
    at java.util.Collections.sort(Collections.java:151)
    at org.eclipse.ui.internal.registry.RegistryReader.orderExtensions(RegistryReader.java:107)
    at org.eclipse.ui.internal.registry.RegistryReader.readRegistry(RegistryReader.java:158)
    at org.eclipse.ui.internal.registry.ActionSetRegistryReader.readRegistry(ActionSetRegistryReader.java:54)
    at org.eclipse.ui.internal.registry.ActionSetRegistry.readFromRegistry(ActionSetRegistry.java:152)
    at org.eclipse.ui.internal.registry.ActionSetRegistry.<init>(ActionSetRegistry.java:34)
    at org.eclipse.ui.internal.WorkbenchPlugin.getActionSetRegistry(WorkbenchPlugin.java:195)
    at org.eclipse.ui.internal.PageLayout.prefill(PageLayout.java:508)
    at org.eclipse.ui.internal.PageLayout.<init>(PageLayout.java:95)
    at org.eclipse.ui.internal.Perspective.loadPredefinedPersp(Perspective.java:666)
    at org.eclipse.ui.internal.Perspective.createPresentation(Perspective.java:290)
    at org.eclipse.ui.internal.Perspective.<init>(Perspective.java:177)
    at org.eclipse.ui.internal.WorkbenchPage.createPerspective(WorkbenchPage.java:1041)
    at org.eclipse.ui.internal.WorkbenchPage.init(WorkbenchPage.java:1775)
    at org.eclipse.ui.internal.WorkbenchPage.<init>(WorkbenchPage.java:407)
    at org.eclipse.ui.internal.WorkbenchWindow.busyOpenPage(WorkbenchWindow.java:576)
    at org.eclipse.ui.internal.WorkbenchWindow$5.run(WorkbenchWindow.java:1106)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:84)
    at org.eclipse.ui.internal.WorkbenchWindow.openPage(WorkbenchWindow.java:1103)
    at org.eclipse.ui.internal.Workbench.openFirstTimeWindow(Workbench.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(Workbench.java:246)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:139)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:47)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:85)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.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)

    #201822 Reply

    Scott Anderson
    Participant

    The errors indicate a problem trying to restore the state of the workbench. I’d suggest uninstalling MyEclipse, opening Eclipse and closing all editors and perspectives, then shutting Eclipse down. Next, install MyEclipse and follow the instructions that Riyad pointed out at that point.

    If you left Eclipse is a complex UI state when the config was deleted, it might be an issue. Another way to test would be to install a clean version of M6, open it, close it, install MyEclipse, then follow the special ‘.config’ instructions.

    –Scott
    MyEclipse Support

    #201823 Reply

    Could the problem be caused by my having a parallel 2.1.2/2.7RC2 installation in another directory?

    jason

    #201824 Reply

    Success. This time, I made sure to install 3.7 in a different directory from 2.7. I didn’t think those would conflict (different version numbers), but apparently they did.

    jason

    #201831 Reply

    Riyad Kalla
    Member

    Glad to hear its working

Viewing 9 posts - 1 through 9 (of 9 total)
Reply To: Cannot start M6 w/3.7RC2 [Closed]

You must be logged in to post in the forum log in