[jbosstools-issues] [JBoss JIRA] (JBIDE-16602) running new download runtimes from quick access result in exception
Rob Stryker (JIRA)
issues at jboss.org
Mon Feb 17 23:45:49 EST 2014
[ https://issues.jboss.org/browse/JBIDE-16602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12945396#comment-12945396 ]
Rob Stryker commented on JBIDE-16602:
-------------------------------------
-public class DownloadRuntimesTaskWizard extends TaskWizard {
+public class DownloadRuntimesTaskWizard extends TaskWizard implements INewWizard {
That's seriously the entire patch, except for maybe an added import. Works now. I'm sure you're wondering why I implemented INewWizard instead of IWorkbenchWizard. Well, the reason is because after only implementing IWorkbenchWizard, I got a similar error regarding class cast exception but saying I need to implement INewWizard.
Anyway, pushing this out.
> running new download runtimes from quick access result in exception
> -------------------------------------------------------------------
>
> Key: JBIDE-16602
> URL: https://issues.jboss.org/browse/JBIDE-16602
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: server
> Reporter: Max Rydahl Andersen
> Assignee: Snjezana Peco
> Priority: Blocker
> Labels: regression
> Fix For: 4.2.0.Beta1
>
>
> Cmd+3, type "download" and choose the "new download runtimes" item and you get:
> java.lang.ClassCastException: org.jboss.tools.runtime.ui.internal.wizard.DownloadRuntimesWizard cannot be cast to org.eclipse.ui.IWorkbenchWizard
> org.jboss.tools.runtime.ui.internal.wizard.DownloadRuntimesWizard cannot be cast to org.eclipse.ui.IWorkbenchWizard
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list