[jboss-user] [JBoss Tools (users)] - Re: Error creating Seam 2.1.0 SP1 Web Project with Tools 3 b

elenctic87 do-not-reply at jboss.com
Wed Nov 12 14:29:57 EST 2008


I get these exceptions creating a new Seam Web Project with DWP Seam 2.0, JPA enabled.

Exception message "Failed while installing Seam 2.0"

  | 
  | java.lang.NullPointerException
  | at org.eclipse.wst.xml.core.internal.emf2xml.EMF2DOMSSERenderer.registerAsModelStateListener(EMF2DOMSSERenderer.java:527)
  | at org.eclipse.wst.xml.core.internal.emf2xml.EMF2DOMSSERenderer.setXMLModel(EMF2DOMSSERenderer.java:608)
  | at org.eclipse.wst.xml.core.internal.emf2xml.EMF2DOMSSERenderer.initializeXMLModel(EMF2DOMSSERenderer.java:368)
  | at org.eclipse.wst.xml.core.internal.emf2xml.EMF2DOMSSERenderer.loadDocument(EMF2DOMSSERenderer.java:416)
  | at org.eclipse.wst.common.internal.emf.resource.EMF2DOMRenderer.doLoad(EMF2DOMRenderer.java:62)
  | at org.eclipse.wst.common.internal.emf.resource.TranslatorResourceImpl.basicDoLoad(TranslatorResourceImpl.java:144)
  | at org.eclipse.wst.common.internal.emf.resource.CompatibilityXMIResourceImpl.doLoad(CompatibilityXMIResourceImpl.java:175)
  | at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1445)
  | at org.eclipse.wst.common.internal.emf.resource.CompatibilityXMIResourceImpl.loadExisting(CompatibilityXMIResourceImpl.java:293)
  | at org.eclipse.wst.common.internal.emf.resource.TranslatorResourceImpl.load(TranslatorResourceImpl.java:393)
  | at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoad(ResourceSetImpl.java:255)
  | at org.eclipse.jem.internal.util.emf.workbench.ProjectResourceSetImpl.demandLoad(ProjectResourceSetImpl.java:155)
  | at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:270)
  | at org.eclipse.jem.internal.util.emf.workbench.ProjectResourceSetImpl.getResource(ProjectResourceSetImpl.java:428)
  | at org.eclipse.wst.common.internal.emfworkbench.WorkbenchResourceHelper.getOrCreateResource(WorkbenchResourceHelper.java:384)
  | at org.eclipse.wst.common.internal.emfworkbench.integration.EditModel.getResource(EditModel.java:684)
  | at org.eclipse.wst.common.componentcore.internal.ArtifactEditModel.getResource(ArtifactEditModel.java:200)
  | at org.eclipse.jst.jsf.facesconfig.util.FacesConfigArtifactEdit.getDeploymentDescriptorResource(FacesConfigArtifactEdit.java:167)
  | at org.eclipse.jst.jsf.facesconfig.util.FacesConfigArtifactEdit.getDeploymentDescriptorRoot(FacesConfigArtifactEdit.java:149)
  | at org.eclipse.jst.jsf.facesconfig.util.FacesConfigArtifactEdit.getFacesConfig(FacesConfigArtifactEdit.java:133)
  | at org.jboss.tools.seam.internal.core.project.facet.Seam2FacetInstallDelegate.configureFacesConfigXml(Seam2FacetInstallDelegate.java:150)
  | at org.jboss.tools.seam.internal.core.project.facet.SeamFacetAbstractInstallDelegate.copyFilesToWarProject(SeamFacetAbstractInstallDelegate.java:359)
  | at org.jboss.tools.seam.internal.core.project.facet.Seam2FacetInstallDelegate.copyFilesToWarProject(Seam2FacetInstallDelegate.java:111)
  | at org.jboss.tools.seam.internal.core.project.facet.SeamFacetAbstractInstallDelegate.doExecuteForWar(SeamFacetAbstractInstallDelegate.java:317)
  | at org.jboss.tools.seam.internal.core.project.facet.SeamFacetAbstractInstallDelegate.doExecute(SeamFacetAbstractInstallDelegate.java:704)
  | at org.jboss.tools.seam.internal.core.project.facet.SeamFacetAbstractInstallDelegate.execute(SeamFacetAbstractInstallDelegate.java:172)
  | 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$5.run(FacetedProject.java:1052)
  | at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
  | at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.mergeChanges(FacetedProject.java:1062)
  | at org.eclipse.wst.common.project.facet.core.internal.FacetedProjectWorkingCopy.commitChanges(FacetedProjectWorkingCopy.java:1827)
  | at org.eclipse.wst.common.project.facet.ui.ModifyFacetedProjectWizard.performFinish(ModifyFacetedProjectWizard.java:388)
  | at org.eclipse.wst.web.ui.internal.wizards.NewProjectDataModelFacetWizard.performFinish(NewProjectDataModelFacetWizard.java:276)
  | at org.jboss.tools.seam.ui.wizard.SeamProjectWizard.performFinish(SeamProjectWizard.java:203)
  | at org.eclipse.wst.common.project.facet.ui.ModifyFacetedProjectWizard$3.run(ModifyFacetedProjectWizard.java:330)
  | at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
  | at org.eclipse.wst.common.project.facet.ui.ModifyFacetedProjectWizard$4.run(ModifyFacetedProjectWizard.java:344)
  | at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
  | 
  | 

Exception with no message/title:

  | java.lang.NullPointerException
  | 	at org.eclipse.wst.xml.core.internal.emf2xml.EMF2DOMSSERenderer.registerAsModelStateListener(EMF2DOMSSERenderer.java:527)
  | 	at org.eclipse.wst.xml.core.internal.emf2xml.EMF2DOMSSERenderer.setXMLModel(EMF2DOMSSERenderer.java:608)
  | 	at org.eclipse.wst.xml.core.internal.emf2xml.EMF2DOMSSERenderer.initializeXMLModel(EMF2DOMSSERenderer.java:368)
  | 	at org.eclipse.wst.xml.core.internal.emf2xml.EMF2DOMSSERenderer.loadDocument(EMF2DOMSSERenderer.java:416)
  | 	at org.eclipse.wst.common.internal.emf.resource.EMF2DOMRenderer.doLoad(EMF2DOMRenderer.java:62)
  | 	at org.eclipse.wst.common.internal.emf.resource.TranslatorResourceImpl.basicDoLoad(TranslatorResourceImpl.java:144)
  | 	at org.eclipse.wst.common.internal.emf.resource.CompatibilityXMIResourceImpl.doLoad(CompatibilityXMIResourceImpl.java:175)
  | 	at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1445)
  | 	at org.eclipse.wst.common.internal.emf.resource.CompatibilityXMIResourceImpl.loadExisting(CompatibilityXMIResourceImpl.java:293)
  | 	at org.eclipse.wst.common.internal.emf.resource.TranslatorResourceImpl.load(TranslatorResourceImpl.java:393)
  | 	at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoad(ResourceSetImpl.java:255)
  | 	at org.eclipse.jem.internal.util.emf.workbench.ProjectResourceSetImpl.demandLoad(ProjectResourceSetImpl.java:155)
  | 	at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:270)
  | 	at org.eclipse.jem.internal.util.emf.workbench.ProjectResourceSetImpl.getResource(ProjectResourceSetImpl.java:428)
  | 	at org.eclipse.wst.common.internal.emfworkbench.WorkbenchResourceHelper.getOrCreateResource(WorkbenchResourceHelper.java:384)
  | 	at org.eclipse.wst.common.internal.emfworkbench.integration.EditModel.getResource(EditModel.java:684)
  | 	at org.eclipse.wst.common.componentcore.internal.ArtifactEditModel.getResource(ArtifactEditModel.java:200)
  | 	at org.eclipse.jpt.core.resource.persistence.PersistenceArtifactEdit.getResource(PersistenceArtifactEdit.java:95)
  | 	at org.eclipse.jpt.core.resource.persistence.PersistenceArtifactEdit.getResource(PersistenceArtifactEdit.java:106)
  | 	at org.eclipse.jpt.core.internal.context.GenericRootContextNode.<init>(GenericRootContextNode.java:54)
  | 	at org.eclipse.jpt.core.internal.platform.GenericJpaFactory.buildRootContext(GenericJpaFactory.java:326)
  | 	at org.eclipse.jpt.core.internal.GenericJpaProject.buildRootContextNode(GenericJpaProject.java:191)
  | 	at org.eclipse.jpt.core.internal.GenericJpaProject.<init>(GenericJpaProject.java:153)
  | 	at org.eclipse.jpt.core.internal.platform.GenericJpaFactory.buildJpaProject(GenericJpaFactory.java:222)
  | 	at org.eclipse.jpt.core.internal.GenericJpaModel$DefaultJpaProjectHolder.buildJpaProject(GenericJpaModel.java:453)
  | 	at org.eclipse.jpt.core.internal.GenericJpaModel$DefaultJpaProjectHolder.jpaProject(GenericJpaModel.java:445)
  | 	at org.eclipse.jpt.core.internal.GenericJpaModel.getJpaProject(GenericJpaModel.java:84)
  | 	at org.eclipse.jpt.core.internal.JpaModelManager.getJpaProject(JpaModelManager.java:178)
  | 	at org.eclipse.jpt.core.JptCorePlugin.getJpaProject(JptCorePlugin.java:157)
  | 	at org.eclipse.jpt.core.internal.validation.JpaValidator.validationMessages(JpaValidator.java:55)
  | 	at org.eclipse.jpt.core.internal.validation.JpaValidator.validate(JpaValidator.java:48)
  | 	at org.eclipse.jpt.core.internal.validation.JpaValidator.validateInJob(JpaValidator.java:77)
  | 	at org.eclipse.wst.validation.internal.operations.ValidatorJob.run(ValidatorJob.java:78)
  | 	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
  | 
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4188902#4188902

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4188902



More information about the jboss-user mailing list