[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-5504) Export module archive gives Extended Operation failure

Rob Stryker (JIRA) jira-events at lists.jboss.org
Mon Jan 25 00:51:19 EST 2010


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

Rob Stryker commented on JBIDE-5504:
------------------------------------

I can only partially complete this in JBT. I've added descriptions to the exceptions my code throws, however hte problem is in DataModelWizard:

					ErrorDialog.openError(getShell(), WTPCommonUIResourceHandler.getString(WTPCommonUIResourceHandler.WTPWizard_UI_0, new Object[]{getWindowTitle()}), WTPCommonUIResourceHandler.getString(WTPCommonUIResourceHandler.WTPWizard_UI_1, new Object[]{getWindowTitle()}), new CoreException(st), 0, false);

The key part to see is that it's unnecessarily wrapping the status with a CoreException which provides no information and simply crams the actual real exception further down in the list. 

> Export module archive gives Extended Operation failure
> ------------------------------------------------------
>
>                 Key: JBIDE-5504
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-5504
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: JBossAS
>    Affects Versions: 3.1.0.M4
>            Reporter: Max Rydahl Andersen
>            Assignee: Rob Stryker
>             Fix For: 3.1.0.CR2
>
>
> Created EAR project added an ESB, File > Export, Module Archive:
> fill in details save and I get this:
> org.eclipse.core.runtime.CoreException: Extended Operation failure: org.jboss.ide.eclipse.as.wtp.core.vcf.ModuleExportOperation
> 	at org.eclipse.wst.common.frameworks.internal.datamodel.ui.DataModelWizard.performFinish(DataModelWizard.java:189)
> 	at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:752)
> 	at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
> 	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:3880)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3473)
> 	at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
> 	at org.eclipse.jface.window.Window.open(Window.java:801)
> 	at org.eclipse.ui.internal.handlers.WizardHandler$Export.executeHandler

-- 
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