[ 
https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-334?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tim McConnell closed GERONIMODEVTOOLS-334.
------------------------------------------

    Resolution: Fixed

Hi Ted, I'm trying to wrap-up all the remaining 2.1.1 JIRAs. Could you review 
the changes I've  added to this page to document the proper order and 
limitations concerning the download and install of server runtime images ??. 
Thanks

> "Download and Install" fails, and hoses eclipse for plugin development
> ----------------------------------------------------------------------
>
>                 Key: GERONIMODEVTOOLS-334
>                 URL: 
> https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-334
>             Project: Geronimo-Devtools
>          Issue Type: Bug
>          Components: eclipse-plugin
>    Affects Versions: 2.1.0
>         Environment: windows
>            Reporter: Ted Kirby
>            Assignee: Tim McConnell
>             Fix For: 2.1.1
>
>         Attachments: download21problem.txt
>
>
> Following instructions for 
> http://geronimo.apache.org/developing-the-geronimo-eclipse-plugin-in-eclipse.html,
> I launched the plugin, defined a server, and used the download and install 
> button to download the server.  
> In the launching eclipse, I got these messages:
> org.eclipse.wst.server.core EXTENSION 22/04/08 12:13.18.531   Loaded 
> installableRuntime: org.apache.geronimo.runtime.jetty.21
> org.eclipse.wst.server.core EXTENSION 22/04/08 12:13.18.531 -<- Done loading 
> .installableRuntimes extension point -<-
> org.eclipse.wst.server.core EXTENSION 22/04/08 12:13.18.531 ->- Loading 
> .installableRuntimes extension point ->-
> org.eclipse.wst.server.core EXTENSION 22/04/08 12:13.18.531   Loaded 
> installableRuntime: org.apache.geronimo.runtime.tomcat.20
> org.eclipse.wst.server.core EXTENSION 22/04/08 12:13.18.531   Loaded 
> installableRuntime: org.apache.geronimo.runtime.jetty.20
> org.eclipse.wst.server.core EXTENSION 22/04/08 12:13.18.531   Loaded 
> installableRuntime: org.apache.geronimo.runtime.tomcat.21
> org.eclipse.wst.server.core EXTENSION 22/04/08 12:13.18.531   Loaded 
> installableRuntime: org.apache.geronimo.runtime.jetty.21
> org.eclipse.wst.server.core EXTENSION 22/04/08 12:13.18.531 -<- Done loading 
> .installableRuntimes extension point -<-
> Featureorg.apache.geronimo.installableruntime.tomcat.feature 2.1.0has 
> successfully been installed
> org.eclipse.wst.server.core CONFIG    22/04/08 12:18.09.468 -----<----- 
> Server UI plugin stop -----<-----
> org.eclipse.wst.server.core LISTENERS 22/04/08 12:18.09.468 Removing server 
> lifecycle listener [EMAIL PROTECTED] from Server resource manager
> org.eclipse.wst.server.core LISTENERS 22/04/08 12:18.09.515 Removing runtime 
> lifecycle listener [EMAIL PROTECTED] from Server resource manager
> org.eclipse.wst.server.core CONFIG    22/04/08 12:18.09.640 -----<----- 
> Server Core plugin shutdown -----<-----
> org.eclipse.wst.server.core LISTENERS 22/04/08 12:18.09.640 Removing server 
> lifecycle listener [EMAIL PROTECTED] from Server resource manager
> Unhandled event loop exception during blocked modal context.
> org.eclipse.swt.SWTException: Failed to execute runnable 
> (java.lang.NullPointerException)
>       at org.eclipse.swt.SWT.error(SWT.java:3563)
>       at org.eclipse.swt.SWT.error(SWT.java:3481)
>       at 
> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:132)
>       at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3659)
>       at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3296)
>       at 
> org.eclipse.jface.operation.ModalContext$ModalContextThread.block(ModalContext.java:158)
>       at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:326)
>       at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934)
>       at 
> org.eclipse.wst.server.ui.internal.wizard.TaskWizardPage.run(TaskWizardPage.java:108)
>       at 
> org.apache.geronimo.st.ui.internal.GeronimoRuntimeWizardFragment$1.widgetSelected(GeronimoRuntimeWizardFragment.java:209)
>       at 
> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
>       at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>       at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>       at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>       at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>       at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
>       at org.eclipse.jface.window.Window.open(Window.java:796)
>       at 
> org.eclipse.wst.server.ui.internal.actions.LaunchWizardAction.run(LaunchWizardAction.java:57)
>       at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
>       at 
> org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
>       at 
> org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
>       at 
> org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
>       at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>       at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>       at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>       at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>       at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
>       at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
>       at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
>       at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
>       at 
> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
>       at 
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
>       at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>       at 
> org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
>       at 
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
>       at 
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
>       at 
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
>       at 
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
>       at 
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
>       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:585)
>       at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
>       at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
>       at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
>       at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
> Caused by: java.lang.NullPointerException
>       at 
> org.eclipse.ui.preferences.ScopedPreferenceStore.internalGet(ScopedPreferenceStore.java:470)
>       at 
> org.eclipse.ui.preferences.ScopedPreferenceStore.getBoolean(ScopedPreferenceStore.java:383)
>       at org.eclipse.ui.internal.Workbench.busyClose(Workbench.java:856)
>       at org.eclipse.ui.internal.Workbench.access$15(Workbench.java:834)
>       at org.eclipse.ui.internal.Workbench$22.run(Workbench.java:1078)
>       at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
>       at org.eclipse.ui.internal.Workbench.close(Workbench.java:1076)
>       at org.eclipse.ui.internal.Workbench.close(Workbench.java:1048)
>       at 
> org.eclipse.ui.internal.ide.application.IDEApplication$1.run(IDEApplication.java:476)
>       at 
> org.eclipse.ui.internal.UILockListener.doPendingWork(UILockListener.java:155)
>       at org.eclipse.ui.internal.UISynchronizer$2.run(UISynchronizer.java:126)
>       at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
>       at 
> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:129)
>       ... 44 more
> org.eclipse.wst.server.core SEVERE    22/04/08 12:18.11.578 Error unzipping 
> runtime
> org.eclipse.core.runtime.AssertionFailedException: assertion failed: The 
> application has not been initialized.
>       at org.eclipse.core.runtime.Assert.isTrue(Assert.java:109)
>       at 
> org.eclipse.core.internal.runtime.InternalPlatform.assertInitialized(InternalPlatform.java:138)
>       at 
> org.eclipse.core.internal.runtime.InternalPlatform.getInstallLocation(InternalPlatform.java:345)
>       at 
> org.eclipse.core.runtime.Platform.getInstallLocation(Platform.java:1326)
>       at 
> org.eclipse.wst.server.core.internal.InstallableRuntime.getFeatureArchivePath(InstallableRuntime.java:303)
>       at 
> org.eclipse.wst.server.core.internal.InstallableRuntime.install(InstallableRuntime.java:262)
>       at 
> org.apache.geronimo.st.ui.internal.GeronimoRuntimeWizardFragment$1$1.run(GeronimoRuntimeWizardFragment.java:200)
>       at 
> org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
> java.lang.reflect.InvocationTargetException
>       at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:350)
>       at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934)
>       at 
> org.eclipse.wst.server.ui.internal.wizard.TaskWizardPage.run(TaskWizardPage.java:108)
>       at 
> org.apache.geronimo.st.ui.internal.GeronimoRuntimeWizardFragment$1.widgetSelected(GeronimoRuntimeWizardFragment.java:209)
>       at 
> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
>       at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>       at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>       at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>       at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>       at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
>       at org.eclipse.jface.window.Window.open(Window.java:796)
>       at 
> org.eclipse.wst.server.ui.internal.actions.LaunchWizardAction.run(LaunchWizardAction.java:57)
>       at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
>       at 
> org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
>       at 
> org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
>       at 
> org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
>       at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>       at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
>       at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
>       at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
>       at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
>       at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
>       at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
>       at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
>       at 
> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
>       at 
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
>       at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>       at 
> org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
>       at 
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
>       at 
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
>       at 
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
>       at 
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
>       at 
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
>       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:585)
>       at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
>       at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
>       at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
>       at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
> Caused by: java.lang.NoClassDefFoundError: 
> org/apache/geronimo/st/ui/internal/Trace
>       at 
> org.apache.geronimo.st.ui.internal.GeronimoRuntimeWizardFragment$1$1.run(GeronimoRuntimeWizardFragment.java:203)
>       at 
> org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
> In the error log, I got five occurrences of this message:
> Unable to find feature.xml in directory: 
> D:\gdvtls\eclipse-plugin\trunk\features\pom.xml,
> for NOTICE, LICENSE, .svn and bigG.gif.
> This freezes the eclipse window.  So, I shut it down.  Then, when I try to 
> relaunch it, I got the dreaded unable to save configuration file!
> which means I cannot launch the plugin, per step 6 of the aforementioned 
> instructions.  I have not found a reliable way to recover from this dreaded 
> error.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to