[
http://jira.jboss.com/jira/browse/JBIDE-969?page=all ]
Max Andersen closed JBIDE-969.
------------------------------
Fix Version/s: 2.0.0.Beta4
(was: 2.0.0.CR1)
Resolution: Done
This one keeps happening if
a) you point to non seam 1.2.1.AP dir
b) user has moved/changed something
which we will get often, so fixed this (for now) by having the exception be informative
instead of NPE
NPE when creating seam project and some files are missing in seam
runtime
-------------------------------------------------------------------------
Key: JBIDE-969
URL:
http://jira.jboss.com/jira/browse/JBIDE-969
Project: JBoss Tools
Issue Type: Bug
Components: Seam
Affects Versions: 2.0.0.Beta3
Reporter: Max Andersen
Assigned To: Denis Golovin
Fix For: 2.0.0.Beta4
trying to create a seam project (as EAR) and I get a NullPointer.
This is not the first time we get that NPE; probably because of some missing file or
whatnot - but we should then report that in a user dialog instead of NPE.
java.lang.NullPointerException
at
org.jboss.tools.seam.internal.core.project.facet.AntCopyUtils.copyFilesAndFolders(AntCopyUtils.java:141)
at
org.jboss.tools.seam.internal.core.project.facet.SeamFacetInstallDelegete.execute(SeamFacetInstallDelegete.java:265)
at
org.eclipse.wst.common.project.facet.core.internal.FacetedProject.callDelegate(FacetedProject.java:1201)
at
org.eclipse.wst.common.project.facet.core.internal.FacetedProject.modifyInternal(FacetedProject.java:394)
at
org.eclipse.wst.common.project.facet.core.internal.FacetedProject.access$2(FacetedProject.java:288)
at
org.eclipse.wst.common.project.facet.core.internal.FacetedProject$1.run(FacetedProject.java:270)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797)
at
org.eclipse.wst.common.project.facet.core.internal.FacetedProject.modify(FacetedProject.java:280)
at
org.eclipse.wst.common.project.facet.ui.ModifyFacetedProjectWizard.performFinish(ModifyFacetedProjectWizard.java:373)
at
org.eclipse.wst.web.ui.internal.wizards.NewProjectDataModelFacetWizard.performFinish(NewProjectDataModelFacetWizard.java:292)
at
org.eclipse.wst.common.project.facet.ui.ModifyFacetedProjectWizard$2.run(ModifyFacetedProjectWizard.java:261)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797)
at
org.eclipse.wst.common.project.facet.ui.ModifyFacetedProjectWizard$3.run(ModifyFacetedProjectWizard.java:275)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira