Error exporting war file from RAD 6.0 - Websphere

This is a discussion on Error exporting war file from RAD 6.0 - Websphere ; Hi, I am getting the following error when I try to export a portal project to a war file An error occured when export finished com.ibm.wtp.common.wft.util.WFTWrappedException: Error exportingWar File com.ibm.etools.j2ee.commonarchivecore.exception.Sa veFailureException !Stack_trace_of_nested_exce! java.lang.NullPointerException at org.eclipse.core.internal.resources.Workspace.comp uteProjectOrder(Unknown Source) at org.eclipse.core.internal.resources.Workspace.comp utePrerequisiteOrder1(Unknown ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: Error exporting war file from RAD 6.0

  1. Error exporting war file from RAD 6.0

    Hi,

    I am getting the following error when I try to export a portal project to a war file

    An error occured when export finished
    com.ibm.wtp.common.wft.util.WFTWrappedException: Error exportingWar File
    com.ibm.etools.j2ee.commonarchivecore.exception.Sa veFailureException
    !Stack_trace_of_nested_exce!
    java.lang.NullPointerException
    at org.eclipse.core.internal.resources.Workspace.comp uteProjectOrder(Unknown Source)
    at org.eclipse.core.internal.resources.Workspace.comp utePrerequisiteOrder1(Unknown Source)
    at org.eclipse.core.internal.resources.Workspace.comp utePrerequisiteOrder(Unknown Source)
    at com.ibm.iwt.archive.wb.operations.WARExportOperati on.getProjectsInOrder(Unknown Source)
    at com.ibm.iwt.archive.wb.operations.WARExportOperati on.buildProjectsIfNecessary(Unknown Source)
    at com.ibm.iwt.archive.wb.operations.WARExportOperati on.export(Unknown Source)
    at com.ibm.etools.archive.j2ee.operations.J2EEExportO peration.execute(Unknown Source)
    at com.ibm.wtp.common.operation.WTPOperation.doRun(Un known Source)
    at com.ibm.wtp.common.operation.WTPOperation$1.run(Un known Source)
    at org.eclipse.core.internal.resources.Workspace.run( Unknown Source)
    at org.eclipse.core.internal.resources.Workspace.run( Unknown Source)
    at com.ibm.wtp.common.operation.WTPOperation.run(Unkn own Source)
    at com.ibm.wtp.common.ui.RunnableWithProgressWrapper. run(Unknown Source)
    at org.eclipse.jface.operation.ModalContext.runInCurr entThread(Unknown Source)
    at org.eclipse.jface.operation.ModalContext.run(Unkno wn Source)
    at org.eclipse.jface.wizard.WizardDialog.run(Unknown Source)
    at com.ibm.wtp.common.ui.wizard.WTPWizard.performFini sh(Unknown Source)
    at org.eclipse.jface.wizard.WizardDialog.finishPresse d(Unknown Source)
    at org.eclipse.jface.wizard.WizardDialog.buttonPresse d(Unknown Source)
    at org.eclipse.jface.dialogs.Dialog$2.widgetSelected( Unknown Source)
    at org.eclipse.swt.widgets.TypedListener.handleEvent( Unknown Source)
    at org.eclipse.swt.widgets.EventTable.sendEvent(Unkno wn Source)
    at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
    at org.eclipse.swt.widgets.Display.runDeferredEvents( Unknown Source)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Un known Source)
    at org.eclipse.jface.window.Window.runEventLoop(Unkno wn Source)
    at org.eclipse.jface.window.Window.open(Unknown Source)
    at org.eclipse.ui.actions.ExportResourcesAction.run(U nknown Source)
    at org.eclipse.ui.actions.BaseSelectionListenerAction .runWithEvent(Unknown Source)
    at org.eclipse.jface.action.ActionContributionItem.ha ndleWidgetSelection(Unknown Source)
    at org.eclipse.jface.action.ActionContributionItem.ac cess$2(Unknown Source)
    at org.eclipse.jface.action.ActionContributionItem$7. handleEvent(Unknown Source)
    at org.eclipse.swt.widgets.EventTable.sendEvent(Unkno wn Source)
    at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
    at org.eclipse.swt.widgets.Display.runDeferredEvents( Unknown Source)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Un known Source)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Unk nown Source)
    at org.eclipse.ui.internal.Workbench.runUI(Unknown Source)
    at org.eclipse.ui.internal.Workbench.createAndRunWork bench(Unknown Source)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(Un known Source)
    at org.eclipse.ui.internal.ide.IDEApplication.run(Unk nown Source)
    at org.eclipse.core.internal.runtime.PlatformActivato r$1.run(Unknown Source)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:273)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:129)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:85)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:58)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:60)
    at java.lang.reflect.Method.invoke(Method.java:391)
    at org.eclipse.core.launcher.Main.basicRun(Main.java: 185)
    at org.eclipse.core.launcher.Main.run(Main.java:704)
    at org.eclipse.core.launcher.Main.main(Main.java:688)

    Is this a known bug or am I doing something wrong?
    Thanks in advance!
    Vandy

  2. Re: Error exporting war file from RAD 6.0

    We sometimes got problems when the project contained #.java files for
    example. I believe that kind of files are some kind of backup files when
    you got conflicts while merging.

    So look for that kind of files in the navigator view, delete them en try
    again.

    Pim

    vgupta@us.ibm.com wrote:
    > Hi,
    >
    > I am getting the following error when I try to export a portal project to a war file
    >
    > An error occured when export finished
    > com.ibm.wtp.common.wft.util.WFTWrappedException: Error exportingWar File
    > com.ibm.etools.j2ee.commonarchivecore.exception.Sa veFailureException
    > !Stack_trace_of_nested_exce!
    > java.lang.NullPointerException
    > at org.eclipse.core.internal.resources.Workspace.comp uteProjectOrder(Unknown Source)
    > at org.eclipse.core.internal.resources.Workspace.comp utePrerequisiteOrder1(Unknown Source)
    > at org.eclipse.core.internal.resources.Workspace.comp utePrerequisiteOrder(Unknown Source)
    > at com.ibm.iwt.archive.wb.operations.WARExportOperati on.getProjectsInOrder(Unknown Source)
    > at com.ibm.iwt.archive.wb.operations.WARExportOperati on.buildProjectsIfNecessary(Unknown Source)
    > at com.ibm.iwt.archive.wb.operations.WARExportOperati on.export(Unknown Source)
    > at com.ibm.etools.archive.j2ee.operations.J2EEExportO peration.execute(Unknown Source)
    > at com.ibm.wtp.common.operation.WTPOperation.doRun(Un known Source)
    > at com.ibm.wtp.common.operation.WTPOperation$1.run(Un known Source)
    > at org.eclipse.core.internal.resources.Workspace.run( Unknown Source)
    > at org.eclipse.core.internal.resources.Workspace.run( Unknown Source)
    > at com.ibm.wtp.common.operation.WTPOperation.run(Unkn own Source)
    > at com.ibm.wtp.common.ui.RunnableWithProgressWrapper. run(Unknown Source)
    > at org.eclipse.jface.operation.ModalContext.runInCurr entThread(Unknown Source)
    > at org.eclipse.jface.operation.ModalContext.run(Unkno wn Source)
    > at org.eclipse.jface.wizard.WizardDialog.run(Unknown Source)
    > at com.ibm.wtp.common.ui.wizard.WTPWizard.performFini sh(Unknown Source)
    > at org.eclipse.jface.wizard.WizardDialog.finishPresse d(Unknown Source)
    > at org.eclipse.jface.wizard.WizardDialog.buttonPresse d(Unknown Source)
    > at org.eclipse.jface.dialogs.Dialog$2.widgetSelected( Unknown Source)
    > at org.eclipse.swt.widgets.TypedListener.handleEvent( Unknown Source)
    > at org.eclipse.swt.widgets.EventTable.sendEvent(Unkno wn Source)
    > at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
    > at org.eclipse.swt.widgets.Display.runDeferredEvents( Unknown Source)
    > at org.eclipse.swt.widgets.Display.readAndDispatch(Un known Source)
    > at org.eclipse.jface.window.Window.runEventLoop(Unkno wn Source)
    > at org.eclipse.jface.window.Window.open(Unknown Source)
    > at org.eclipse.ui.actions.ExportResourcesAction.run(U nknown Source)
    > at org.eclipse.ui.actions.BaseSelectionListenerAction .runWithEvent(Unknown Source)
    > at org.eclipse.jface.action.ActionContributionItem.ha ndleWidgetSelection(Unknown Source)
    > at org.eclipse.jface.action.ActionContributionItem.ac cess$2(Unknown Source)
    > at org.eclipse.jface.action.ActionContributionItem$7. handleEvent(Unknown Source)
    > at org.eclipse.swt.widgets.EventTable.sendEvent(Unkno wn Source)
    > at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
    > at org.eclipse.swt.widgets.Display.runDeferredEvents( Unknown Source)
    > at org.eclipse.swt.widgets.Display.readAndDispatch(Un known Source)
    > at org.eclipse.ui.internal.Workbench.runEventLoop(Unk nown Source)
    > at org.eclipse.ui.internal.Workbench.runUI(Unknown Source)
    > at org.eclipse.ui.internal.Workbench.createAndRunWork bench(Unknown Source)
    > at org.eclipse.ui.PlatformUI.createAndRunWorkbench(Un known Source)
    > at org.eclipse.ui.internal.ide.IDEApplication.run(Unk nown Source)
    > at org.eclipse.core.internal.runtime.PlatformActivato r$1.run(Unknown Source)
    > at org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:273)
    > at org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:129)
    > at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    > at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:85)
    > at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:58)
    > at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:60)
    > at java.lang.reflect.Method.invoke(Method.java:391)
    > at org.eclipse.core.launcher.Main.basicRun(Main.java: 185)
    > at org.eclipse.core.launcher.Main.run(Main.java:704)
    > at org.eclipse.core.launcher.Main.main(Main.java:688)
    >
    > Is this a known bug or am I doing something wrong?
    > Thanks in advance!
    > Vandy


+ Reply to Thread