- This topic has 11 replies, 3 voices, and was last updated 21 years ago by
Riyad Kalla.
-
AuthorPosts
-
milmberMemberEclipse Version: 3.0.0
Build id: 200403261517MyEclipse Enterprise Workbench GA Version 3.7.2 for Mac OS/X (4/9/2004)
java version “1.4.2_03”
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_0-117.1)
Java HotSpot(TM) Client VM (build 1.4.2-34, mixed mode)Installation *seems* to run through fine. However, when I start up eclipse afterwards, no prompts are presented regarding the installation of the plugins.
Checking the about box does show the MyEclipse Plugin as to have been installed, but there are not options for it under preferences, or no other traces of it anywhere else.A closer look at the eclipse logs show the problem:
===== Thu May 06 2004 ===== 11:50:14 Europe/London =====
!SESSION May 06, 2004 11:50:39.354 ———————————————
java.version=1.4.2_03
java.vendor=Apple Computer, Inc.
BootLoader constants: OS=macosx, ARCH=ppc, WS=carbon, NL=en_US
Command-line arguments: -keyring /Users/milmber/.eclipse_keyring -showlocation
!ENTRY org.eclipse.osgi May 06, 2004 11:50:39.358
!MESSAGE Bundle reference:file:/Applications/MyEclipse/eclipse/plugins/com.genuitec.eclipse.ast.deploy.core_3.7.2/ [59] was not resolved
!SUBENTRY 1 org.eclipse.osgi May 06, 2004 11:50:39.359
!MESSAGE Missing required bundle com.genuitec.eclipse.j2eedt.core
!SUBENTRY 1 org.eclipse.osgi May 06, 2004 11:50:39.363
!MESSAGE Missing required bundle com.genuitec.eclipse.core
!SUBENTRY 1 org.eclipse.osgi May 06, 2004 11:50:39.365
!MESSAGE Missing required bundle com.genuitec.eclipse.easie.core
!SUBENTRY 1 org.eclipse.osgi May 06, 2004 11:50:39.366
!MESSAGE Missing required bundle org.eclipse.jdt.core
!SUBENTRY 1 org.eclipse.osgi May 06, 2004 11:50:39.366
!MESSAGE Missing required bundle org.eclipse.jdt.debug
!SUBENTRY 1 org.eclipse.osgi May 06, 2004 11:50:39.369
!MESSAGE Missing required bundle org.eclipse.jdt.debug.ui
!SUBENTRY 1 org.eclipse.osgi May 06, 2004 11:50:39.370
!MESSAGE Missing required bundle org.eclipse.jdt.launching
!SUBENTRY 1 org.eclipse.osgi May 06, 2004 11:50:39.370
!MESSAGE Missing required bundle org.eclipse.jdt.ui
!ENTRY org.eclipse.osgi May 06, 2004 11:50:39.386
!MESSAGE Bundle reference:file:/Applications/MyEclipse/eclipse/plugins/com.genuitec.eclipse.core_3.7.2/ [60] was not resolved
!SUBENTRY 1 org.eclipse.osgi May 06, 2004 11:50:39.387
!MESSAGE Missing required bundle org.eclipse.jdt.core
!SUBENTRY 1 org.eclipse.osgi May 06, 2004 11:50:39.388
!MESSAGE Missing required bundle org.eclipse.jdt.debug
!SUBENTRY 1 org.eclipse.osgi May 06, 2004 11:50:39.389
!MESSAGE Missing required bundle org.eclipse.jdt.launching
!SUBENTRY 1 org.eclipse.osgi May 06, 2004 11:50:39.389
!MESSAGE Missing required bundle org.eclipse.jdt.ui
!ENTRY org.eclipse.osgi May 06, 2004 11:50:39.391
!MESSAGE Bundle reference:file:/Applications/MyEclipse/eclipse/plugins/com.genuitec.eclipse.cross.easystruts.eclipse_3.7.2/ [61] was not resolved
!SUBENTRY 1 org.eclipse.osgi May 06, 2004 11:50:39.392
!MESSAGE Missing required bundle org.eclipse.jdt.uiA quick check shows that the Bundle references do exists ( they are directories – and they are readable by any user. So it is not a permission thing. )
FordPrefect:~ milmber$ ls -la /Applications/MyEclipse/eclipse/plugins/com.genuitec.eclipse.ast.deploy.core_3.7.2/
total 320
drwxrwxr-x 6 milmber admin 204 6 May 11:46 .
drwxrwxr-x 61 milmber admin 2074 6 May 11:47 ..
-rwxrwxr-x 1 milmber admin 70628 9 Apr 15:08 commons-io.jar
-rwxrwxr-x 1 milmber admin 79040 9 Apr 17:12 deploycore.jar
drwxrwxr-x 9 milmber admin 306 6 May 11:46 icons
-rwxrwxr-x 1 milmber admin 7090 9 Apr 15:08 plugin.xmlSo…here is the question..the problem is obvious from the above…why then…can’t MyEclipse see files/directories that does exist?
The above log listing continues until it reaches the following nullpointer exception:
!MESSAGE Bundle reference:file:/Applications/MyEclipse/eclipse/plugins/org.eclipse.jdt.debug_3.7.2/ [117] was not resolved
!SUBENTRY 1 org.eclipse.osgi May 06, 2004 11:50:39.782
!MESSAGE Missing required bundle org.eclipse.jdt.core
!ENTRY org.eclipse.ui 4 4 May 06, 2004 11:50:48.739
!MESSAGE Could not create action delegate for id: org.eclipse.ui.externaltools.ExternalToolMenuDelegateMenu
Could not create action delegate for id: org.eclipse.ui.externaltools.ExternalToolMenuDelegateMenu
Reason:
!ENTRY org.eclipse.ui 4 4 May 06, 2004 11:50:48.744
!MESSAGE Internal plug-in action delegate error on creation.
!STACK 0
java.lang.NullPointerException
at org.eclipse.debug.ui.actions.AbstractLaunchHistoryAction.getLaunchConfigurationManager(AbstractLaunchHistoryAction.java:341)
at org.eclipse.debug.ui.actions.AbstractLaunchHistoryAction.initialize(AbstractLaunchHistoryAction.java:124)
at org.eclipse.debug.ui.actions.AbstractLaunchHistoryAction.selectionChanged(AbstractLaunchHistoryAction.java:307)
at org.eclipse.ui.internal.PluginAction.refreshEnablement(PluginAction.java:223)
at org.eclipse.ui.internal.PluginAction.createDelegate(PluginAction.java:110)
at org.eclipse.ui.internal.WWinPluginPulldown.getPulldownDelegate(WWinPluginPulldown.java:75)
at org.eclipse.ui.internal.WWinPluginPulldown$MenuProxy.getMenu(WWinPluginPulldown.java:35)
at org.eclipse.jface.action.ActionContributionItem.fill(ActionContributionItem.java:297)
at org.eclipse.jface.action.SubContributionItem.fill(SubContributionItem.java:58)
at org.eclipse.jface.action.MenuManager.update(MenuManager.java:603)
at org.eclipse.jface.action.MenuManager.update(MenuManager.java:525)
at org.eclipse.jface.action.MenuManager.fill(MenuManager.java:233)
at org.eclipse.jface.action.SubContributionItem.fill(SubContributionItem.java:58)
at org.eclipse.jface.action.MenuManager.update(MenuManager.java:603)
at org.eclipse.jface.action.MenuManager.updateAll(MenuManager.java:697)
at org.eclipse.ui.internal.WorkbenchWindow.updateActionBars(WorkbenchWindow.java:1975)
at org.eclipse.ui.internal.WorkbenchWindow.updateActionSets(WorkbenchWindow.java:1997)
at org.eclipse.ui.internal.WorkbenchWindow$6.run(WorkbenchWindow.java:1805)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:84)
at org.eclipse.ui.internal.WorkbenchWindow.setActivePage(WorkbenchWindow.java:1780)
at org.eclipse.ui.internal.WorkbenchWindow.restoreState(WorkbenchWindow.java:1367)
at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1300)
at org.eclipse.ui.internal.Workbench.access$9(Workbench.java:1268)
at org.eclipse.ui.internal.Workbench$14.run(Workbench.java:1179)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:610)
at org.eclipse.core.runtime.Platform.run(Platform.java:521)
at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1112)
at org.eclipse.ui.internal.WorkbenchConfigurer.restoreState(WorkbenchConfigurer.java:176)
at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:613)
at org.eclipse.ui.internal.Workbench.init(Workbench.java:821)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1513)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:257)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:139)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:90)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:277)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:239)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:117)
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:267)
at org.eclipse.core.launcher.Main.run(Main.java:692)
at org.eclipse.core.launcher.Main.main(Main.java:676)Can anyone figure this one out ( I have tried deleting my workspace 100 times and I have tried clean installs,etc,etc,etc )
Riyad KallaMemberHave you tried yet, just for the sake of sanity, to install Eclipse/MyEclipse in your home directory and run it, to see what happens?
How are you installing MyEclipse (installer/manual)?
milmberMemberI am using the automatic installer. I figured that since the error occurs when after the MyEclipse install ( when Eclipse starts up and it is suppossed to find the MyEclipse plugin and configure it ), that the same thing would happen no?
Will try installing Eclipse and MyEclipse both in my home directory.
Riyad KallaMemberAre you making sure to install in this order:
<start clean, nothing installed, no workspace>
1) Unzip Eclipse, run it
2) Close Eclipse, run the MyEclipse installer
3) Run Eclipse again, say Yes to finish plugin install, retstart Eclipse (automatic)
4) Start programming….Also you might try stopping Eclipse, erasing your <workspace>\.metadata\.config directory and restarting it. This used to be a bug with the 3.x Eclipse code base, and I think still sometimes helps people get up and running.
Scott AndersonParticipantAlso you might try erasing your <workspace>\.metadata\.config directory as this used to be a bug with the 3.x Eclipse code base, and I think still sometimes helps people get up and running.
This is basicallly essential with Eclipse 3.0’s milestone builds. There’s some “interesting” configuration caching going on that requires you to delte the config directory before the installation will work correctly. If you don’t, you’ll see the bundle errors you reported, specifically. The double-click installer deletes the config directory automatically for you, but if you installed Eclipse, never ran it, and then installed MyEclipse, I could see this problem resulting. Shutting down, deleting the config directory, then restarting Eclipse should take care of the problem. You might also want to delete the log file to clean it out (<workspace>/.metadata/.log).
milmberMember@support-rkalla wrote:
Are you making sure to install in this order:
<start clean, nothing installed, no workspace>
1) Unzip Eclipse, run it
2) Close Eclipse, run the MyEclipse installer
3) Run Eclipse again, say Yes to finish plugin install, retstart Eclipse (automatic)
4) Start programming….Also you might try stopping Eclipse, erasing your <workspace>\.metadata\.config directory and restarting it. This used to be a bug with the 3.x Eclipse code base, and I think still sometimes helps people get up and running.
At step 3 when I restart eclipse…I get the following error message being displayed( from a clean installation with no previous workspace ).
Unable to read workbench state. Workbench UI layout will be reset.
milmberMemberI have tried uninstalling MyEclipse…deleting the workspace altogether…and reinstalling…but no luck.
Scott AndersonParticipantThe problem could be that there was a change in the way the platform configuration information is stored in M8. Now it’s split between the .config directory under the workspace and the <eclipse-home>/configuration directory. Shutdown everything, delete both directories and then restart Eclipse. That will cause a complete “do over” of the platform config and will most likely prompt you for the workspace location again. However, that should get everything going.
milmberMemberHi, I’ve tried deleting both the workspace and the <eclipse-home>/configuration directory. Still no joy. The plugin still show up as having been installed ( in the About menu ) but the options for it is missing in the preferences window and options menus.
I’ve also tried stopping eclipse and moving the <eclipse-home>/links/com.genuitec.eclipse.MyEclipse.link file to somewhere else and then restarting eclipse. It then runs fine ( but of of course no MyEclipse ). Once I copy it back to the <eclipse-home>/links directory…eclipse fails on startup with the message: “Unable to read workbench state. Workbench UI layout will be reset.”
Has anyone with MacOS 10.3.3 succussfully run Eclipse 3.0 M8 and MyEclipse 3.7.2 ?
Scott AndersonParticipant“Unable to read workbench state. Workbench UI layout will be reset.”
Actually, that’s not an error. It’s simply a warning that some plugins have changed so not all the editor windows can be reopened exactly as they were on last save. The workbench should come up just fine with that, so don’t stop testing just because you received this warning.
Has anyone with MacOS 10.3.3 succussfully run Eclipse 3.0 M8 and MyEclipse 3.7.2 ?
Not precisely. I’m running 10.2 (I think) on my PowerBook. Other than that, no issues.
milmberMemberOk…time for me to apologize. Seems the issue was that I downloaded the wrong version of eclipse. I had “eclipse-3.0M8-macosx-carbon.tar.gz” instead of “eclipse-SDK-3.0M8-macosx-carbon.tar.gz”, which, until I saw the 2nd file, I didn’t realize that it does not contain the eclipse SDK. Hence, all of my errors must have been cause by the lack of the eclipse SDK.
Hope this helps someone else & thanks to everyone for their help:-)
Riyad KallaMemberI think we should appologize for not having caught that sooner, we are glad you are up and running though.
-
AuthorPosts