Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-969

NPE when creating seam project and some files are missing in seam runtime

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.0.0.Beta4
    • 2.0.0.Beta3
    • seam2
    • None

      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)

              nivologd@gmail.com Denis Golovin (Inactive)
              manderse@redhat.com Max Andersen
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: