[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-2779) ClassCastException when adding the JBoss ESB facet

Anton Klimkovich (JIRA) jira-events at lists.jboss.org
Wed Sep 17 07:19:21 EDT 2008


    [ https://jira.jboss.org/jira/browse/JBIDE-2779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12429984#action_12429984 ] 

Anton Klimkovich commented on JBIDE-2779:
-----------------------------------------

Think this issue related or duplicated with JBIDE-2738

> ClassCastException when adding the JBoss ESB facet
> --------------------------------------------------
>
>                 Key: JBIDE-2779
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-2779
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: esb
>    Affects Versions: 3.0.0.beta1
>            Reporter: Snjezana Peco
>
> - call the New Dynamic Web Project wizard
> - click the Modify button
> - check the JBoss ESB facet
> - click OK
> You will get the following exception :
> !ENTRY org.eclipse.wst.common.project.facet.core 4 0 2008-09-17 10:19:39.718
> !MESSAGE org.eclipse.jst.servlet.ui.project.facet.WebProjectWizard cannot be cast to org.jboss.tools.esb.project.ui.wizards.ESBProjectWizard
> !STACK 0
> java.lang.ClassCastException: org.eclipse.jst.servlet.ui.project.facet.WebProjectWizard cannot be cast to org.jboss.tools.esb.project.ui.wizards.ESBProjectWizard
> 	at org.jboss.tools.esb.project.ui.wizards.pages.ESBFacetInstallationPage.getFacetedProjectWorkingCopy(ESBFacetInstallationPage.java:157)
> 	at org.jboss.tools.esb.project.ui.wizards.pages.ESBFacetInstallationPage.getSelectedESBVersion(ESBFacetInstallationPage.java:310)
> 	at org.jboss.tools.esb.project.ui.wizards.pages.ESBFacetInstallationPage.initializeRuntimesCombo(ESBFacetInstallationPage.java:300)
> 	at org.jboss.tools.esb.project.ui.wizards.pages.ESBFacetInstallationPage.createRuntimeGroup(ESBFacetInstallationPage.java:220)
> 	at org.jboss.tools.esb.project.ui.wizards.pages.ESBFacetInstallationPage.createTopLevelComposite(ESBFacetInstallationPage.java:77)
> 	at org.jboss.tools.esb.project.ui.wizards.pages.ESBFacetInstallationPage.createControl(ESBFacetInstallationPage.java:399)
> 	at org.eclipse.wst.common.project.facet.ui.ModifyFacetedProjectWizard.handleSelectedFacetsChangedEvent(ModifyFacetedProjectWizard.java:711)
> 	at org.eclipse.wst.common.project.facet.ui.ModifyFacetedProjectWizard.access$0(ModifyFacetedProjectWizard.java:653)
> 	at org.eclipse.wst.common.project.facet.ui.ModifyFacetedProjectWizard$1$1.run(ModifyFacetedProjectWizard.java:165)
> 	at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:178)
> 	at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
> 	at org.eclipse.swt.widgets.Display.syncExec(Display.java:4251)
> 	at org.eclipse.wst.common.project.facet.ui.ModifyFacetedProjectWizard$1.handleEvent(ModifyFacetedProjectWizard.java:169)
> 	at org.eclipse.wst.common.project.facet.core.internal.FacetedProjectWorkingCopy.notifyListeners(FacetedProjectWorkingCopy.java:1640)
> 	at org.eclipse.wst.common.project.facet.core.internal.FacetedProjectWorkingCopy.resumeEventNotification(FacetedProjectWorkingCopy.java:1685)
> 	at org.eclipse.wst.common.project.facet.core.internal.FacetedProjectWorkingCopy.mergeChanges(FacetedProjectWorkingCopy.java:1882)
> 	at org.eclipse.wst.common.project.facet.ui.internal.FacetsSelectionDialog.okPressed(FacetsSelectionDialog.java:75)
> 	at org.eclipse.jface.dialogs.Dialog.buttonPressed(Dialog.java:472)
> 	at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
> 	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
> 	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
> 	at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
> 	at org.eclipse.jface.window.Window.open(Window.java:801)
> 	at org.eclipse.wst.common.project.facet.ui.internal.FacetsSelectionDialog.openDialog(FacetsSelectionDialog.java:83)
> 	at org.eclipse.wst.common.project.facet.ui.PresetSelectionPanel.handleModifyButtonPressed(PresetSelectionPanel.java:150)
> 	at org.eclipse.wst.common.project.facet.ui.PresetSelectionPanel.access$0(PresetSelectionPanel.java:148)
> 	at org.eclipse.wst.common.project.facet.ui.PresetSelectionPanel$1.widgetSelected(PresetSelectionPanel.java:91)
> 	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
> 	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
> 	at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
> 	at org.eclipse.jface.window.Window.open(Window.java:801)
> 	at org.eclipse.ui.actions.NewProjectAction.run(NewProjectAction.java:117)
> 	at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
> 	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583)
> 	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500)
> 	at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
> 	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
> 	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
> 	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
> 	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
> 	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
> 	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
> 	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
> 	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> 	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
> 	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
> 	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:382)
> 	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:549)
> 	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
> 	at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
> 	at org.eclipse.equinox.launcher.Main.main(Main.java:1212)

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

        



More information about the jbosstools-issues mailing list