[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-7512) CloudViewer: cannot launch instance

Andre Dietisheim (JIRA) jira-events at lists.jboss.org
Mon Nov 8 10:38:15 EST 2010


     [ https://jira.jboss.org/browse/JBIDE-7512?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andre Dietisheim updated JBIDE-7512:
------------------------------------

    Summary: CloudViewer: cannot launch instance  (was: cannot launch instance)


> CloudViewer: cannot launch instance
> -----------------------------------
>
>                 Key: JBIDE-7512
>                 URL: https://jira.jboss.org/browse/JBIDE-7512
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: deltacloud
>    Affects Versions: 3.2.0.Beta2
>            Reporter: Andre Dietisheim
>            Assignee: Andre Dietisheim
>             Fix For: 3.2.0.Beta2
>
>
> how to reproduce:
> 1) pick an image in the cloud viewer
> 2) select 'launch instance' in the context menu
> 3) give it a name in the wizard that pops up & hit finish
> Result:
> No instance is launched, the log shows the following exception:
> org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.ClassCastException: org.jboss.tools.deltacloud.ui.views.CVImageElement cannot be cast to org.jboss.tools.deltacloud.ui.views.CVInstanceElement)
> 	at org.eclipse.swt.SWT.error(SWT.java:4083)
> 	at org.eclipse.swt.SWT.error(SWT.java:3998)
> 	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:137)
> 	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3515)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3164)
> 	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
> 	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
> 	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
> 	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
> 	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> 	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
> 	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> 	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
> 	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> 	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
> 	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
> 	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
> 	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
> 	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:597)
> 	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
> 	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
> 	at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
> 	at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
> Caused by: java.lang.ClassCastException: org.jboss.tools.deltacloud.ui.views.CVImageElement cannot be cast to org.jboss.tools.deltacloud.ui.views.CVInstanceElement
> 	at org.jboss.tools.deltacloud.ui.views.CVInstancesCategoryElement$2.getChildrenWithSameDeltaCloudInstance(CVInstancesCategoryElement.java:160)
> 	at org.jboss.tools.deltacloud.ui.views.CVInstancesCategoryElement$2.restoreSelection(CVInstancesCategoryElement.java:151)
> 	at org.jboss.tools.deltacloud.ui.views.CVInstancesCategoryElement$2.run(CVInstancesCategoryElement.java:123)
> 	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
> 	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
> 	... 23 more
> Expected result:
> An instance with the given name is launched

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list