Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Export Error
Export Error [message #189396] Wed, 07 March 2007 21:11
Eclipse User
Originally posted by: vinays84.hotmail.com

Often when I try to export a war file in Eclipse WTP, I'll get an eclipse
export error which seems to be rooted to some NullPointerException
somewhere in the export process. The copied stack trace is below.If anyone
can shed some light, it would be appreciated. Thanks!

org.eclipse.core.runtime.CoreException: Extended Operation failure:
org.eclipse.jst.j2ee.internal.web.archive.operations.WebComp onentExportOperation
at
org.eclipse.wst.common.frameworks.internal.datamodel.ui.Data ModelWizard.performFinish(DataModelWizard.java:182)
at
org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDi alog.java:680)
at
org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:355)
at org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.jav a:660)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:90)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2968)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:820 )
at org.eclipse.jface.window.Window.open(Window.java:796)
at
org.eclipse.ui.actions.ExportResourcesAction.run(ExportResou rcesAction.java:180)
at
org.eclipse.ui.actions.BaseSelectionListenerAction.runWithEv ent(BaseSelectionListenerAction.java:168)
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:539)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:488)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:400)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2968)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1914)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:419)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:95)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:78)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:92)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:68)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:400)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
org.eclipse.core.runtime.CoreException[0]:
org.eclipse.core.commands.ExecutionException: Error exportingWar File
at
org.eclipse.jst.j2ee.internal.archive.operations.J2EEArtifac tExportOperation.execute(J2EEArtifactExportOperation.java:78 )
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elPausibleOperationImpl$1.run(DataModelPausibleOperationImpl .java:376)
at org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1737)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elPausibleOperationImpl.runOperation(DataModelPausibleOperat ionImpl.java:401)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elPausibleOperationImpl.runOperation(DataModelPausibleOperat ionImpl.java:352)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elPausibleOperationImpl.doExecute(DataModelPausibleOperation Impl.java:242)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elPausibleOperationImpl.executeImpl(DataModelPausibleOperati onImpl.java:214)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elPausibleOperationImpl.cacheThreadAndContinue(DataModelPaus ibleOperationImpl.java:89)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataMod elPausibleOperationImpl.execute(DataModelPausibleOperationIm pl.java:202)
at
org.eclipse.wst.common.frameworks.internal.datamodel.ui.Data ModelWizard$1$CatchThrowableRunnableWithProgress.run(DataMod elWizard.java:211)
at
org.eclipse.jface.operation.ModalContext$ModalContextThread. run(ModalContext.java:113)
Caused by:
org.eclipse.jst.j2ee.commonarchivecore.internal.exception.Sa veFailureException:
Error opening archive for export..
at
org.eclipse.jst.j2ee.internal.web.archive.operations.WebComp onentExportOperation.export(WebComponentExportOperation.java :44)
at
org.eclipse.jst.j2ee.internal.archive.operations.J2EEArtifac tExportOperation.execute(J2EEArtifactExportOperation.java:71 )
... 10 more
Caused by: java.lang.NullPointerException
at
org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.Loa dStrategyImpl.getLoadedMofResources(LoadStrategyImpl.java:33 6)
at
org.eclipse.jst.j2ee.internal.archive.operations.ComponentLo adStrategyImpl.getLoadedMofResources(ComponentLoadStrategyIm pl.java:441)
at
org.eclipse.jst.j2ee.commonarchivecore.internal.impl.Archive Impl.getLoadedMofResources(ArchiveImpl.java:687)
at
org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.Sav eStrategyImpl.saveMofResources(SaveStrategyImpl.java:186)
at
org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.Sav eStrategyImpl.save(SaveStrategyImpl.java:99)
at
org.eclipse.jst.j2ee.commonarchivecore.internal.impl.Archive Impl.save(ArchiveImpl.java:1083)
at
org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ModuleF ileImpl.save(ModuleFileImpl.java:161)
at
org.eclipse.jst.j2ee.commonarchivecore.internal.impl.Archive Impl.saveAsNoReopen(ArchiveImpl.java:1178)
at
org.eclipse.jst.j2ee.internal.web.archive.operations.WebComp onentExportOperation.export(WebComponentExportOperation.java :40)
... 11 more
Previous Topic:error removing share from project
Next Topic:Trying to run an Apache Turbine servlet as a J2EE project
Goto Forum:
  


Current Time: Fri Sep 19 04:00:38 GMT 2014

Powered by FUDForum. Page generated in 0.12068 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software