*** ERROR ***: Thu May 21 09:01:50 GMT 2009 java.lang.NullPointerException at org.eclipse.wst.xml.core.internal.document.XMLModelUpdater.replaceSource(XMLModelUpdater.java:1608) at org.eclipse.wst.xml.core.internal.document.XMLModelUpdater.replaceChild(XMLModelUpdater.java:1566) at org.eclipse.wst.xml.core.internal.document.DOMModelImpl.childReplaced(DOMModelImpl.java:188) at org.eclipse.wst.xml.core.internal.document.NodeContainer.notifyChildReplaced(NodeContainer.java:357) at org.eclipse.wst.xml.core.internal.document.NodeContainer.insertBefore(NodeContainer.java:298) at org.eclipse.wst.xml.core.internal.document.ElementImpl.insertBefore(ElementImpl.java:693) at org.eclipse.wst.common.internal.emf.utilities.DOMUtilities.insertBeforeNode(DOMUtilities.java:356) at org.eclipse.wst.common.internal.emf.utilities.DOMUtilities.insertBeforeNodeAndWhitespace(DOMUtilities.java:381) at org.eclipse.wst.common.internal.emf.resource.EMF2DOMAdapterImpl.primUpdateDOMMultiFeature(EMF2DOMAdapterImpl.java:349) at org.eclipse.wst.common.internal.emf.resource.EMF2DOMAdapterImpl.primUpdateDOMMultiFeature(EMF2DOMAdapterImpl.java:1350) at org.eclipse.wst.common.internal.emf.resource.EMF2DOMAdapterImpl.updateDOMMultiFeature(EMF2DOMAdapterImpl.java:1602) at org.eclipse.wst.common.internal.emf.resource.EMF2DOMAdapterImpl.updateDOMFeature(EMF2DOMAdapterImpl.java:1541) at org.eclipse.wst.common.internal.emf.resource.EMF2DOMAdapterImpl.primUpdateDOM(EMF2DOMAdapterImpl.java:924) at org.eclipse.wst.xml.core.internal.emf2xml.EMF2DOMSSEAdapter.updateDOM(EMF2DOMSSEAdapter.java:422) at org.eclipse.wst.common.internal.emf.resource.EMF2DOMAdapterImpl.primUpdateDOMMultiFeature(EMF2DOMAdapterImpl.java:358) at org.eclipse.wst.common.internal.emf.resource.EMF2DOMAdapterImpl.updateDOMRootFeature(EMF2DOMAdapterImpl.java:944) at org.eclipse.wst.common.internal.emf.resource.EMF2DOMAdapterImpl.primUpdateDOM(EMF2DOMAdapterImpl.java:920) at org.eclipse.wst.xml.core.internal.emf2xml.EMF2DOMSSEAdapter.updateDOM(EMF2DOMSSEAdapter.java:422) at org.eclipse.wst.common.internal.emf.resource.EMF2DOMRenderer.createDOMTree(EMF2DOMRenderer.java:129) at org.eclipse.wst.xml.core.internal.emf2xml.EMF2DOMSSERenderer.createDOMTreeIfNecessary(EMF2DOMSSERenderer.java:199) at org.eclipse.wst.xml.core.internal.emf2xml.EMF2DOMSSERenderer.doSave(EMF2DOMSSERenderer.java:256) at org.eclipse.wst.common.internal.emf.resource.TranslatorResourceImpl.doSave(TranslatorResourceImpl.java:180) at org.eclipse.wst.common.internal.emf.resource.TranslatorResourceImpl.save(TranslatorResourceImpl.java:160) at org.eclipse.wst.common.internal.emf.resource.ReferencedXMIResourceImpl.saveIfNecessary(ReferencedXMIResourceImpl.java:272) at org.eclipse.jst.j2ee.web.componentcore.util.WebArtifactEdit.addWebAppIfNecessary(WebArtifactEdit.java:449) at org.eclipse.jst.j2ee.web.componentcore.util.WebArtifactEdit.createModelRoot(WebArtifactEdit.java:510) at org.eclipse.jst.j2ee.web.componentcore.util.WebArtifactEdit.createDeploymentDescriptor(WebArtifactEdit.java:655) at org.eclipse.jst.j2ee.web.project.facet.WebFacetInstallDelegate.execute(WebFacetInstallDelegate.java:125) at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.callDelegate(FacetedProject.java:1394) at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.modifyInternal(FacetedProject.java:401) at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.mergeChangesInternal(FacetedProject.java:1134) at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.access$2(FacetedProject.java:1070) at org.eclipse.wst.common.project.facet.core.internal.FacetedProject$1.run(FacetedProject.java:309) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800) at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.modify(FacetedProject.java:319) at org.eclipse.jst.ws.internal.consumption.common.FacetUtils$1.run(FacetUtils.java:778) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)