7 Replies Latest reply on Feb 16, 2010 6:11 AM by Max Rydahl Andersen

    Failed while installing Dynamic Web Module 2.5.

    Paul Keogh Newbie

      Hi,

      Latest and greatest is failing when trying to add a new Seam Web project.
      Details below.


      JBT:

      eam Tools for Eclipse

      Version: 3.1.0.v200910281724M-H247-M4

      Copyright (c) JBoss by Red Hat, 2007 - 2009. All rights reserved.
      Visit http://www.jboss.org/tools and http://www.seamframework.org


      ST:

      java.lang.NullPointerException
      at org.eclipse.jst.j2ee.web.project.facet.WebFacetInstallDelegate.createWeb25DeploymentDescriptor(WebFacetInstallDelegate.java:310)
      at org.eclipse.jst.j2ee.web.project.facet.WebFacetInstallDelegate.execute(WebFacetInstallDelegate.java:116)
      at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.callDelegate(FacetedProject.java:1467)
      at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.modifyInternal(FacetedProject.java:438)
      at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.mergeChangesInternal(FacetedProject.java:1171)
      at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.access$2(FacetedProject.java:1107)
      at org.eclipse.wst.common.project.facet.core.internal.FacetedProject$5.run(FacetedProject.java:1089)
      at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
      at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.mergeChanges(FacetedProject.java:1099)
      at org.eclipse.wst.common.project.facet.core.internal.FacetedProjectWorkingCopy.commitChanges(FacetedProjectWorkingCopy.java:1958)
      at org.eclipse.wst.common.project.facet.ui.ModifyFacetedProjectWizard.performFinish(ModifyFacetedProjectWizard.java:400)
      at org.eclipse.wst.web.ui.internal.wizards.NewProjectDataModelFacetWizard.performFinish(NewProjectDataModelFacetWizard.java:279)
      at org.jboss.tools.seam.ui.wizard.SeamProjectWizard.performFinish(SeamProjectWizard.java:278)
      at org.eclipse.wst.common.project.facet.ui.ModifyFacetedProjectWizard$3.run(ModifyFacetedProjectWizard.java:331)
      at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
      at org.eclipse.wst.common.project.facet.ui.ModifyFacetedProjectWizard$4.run(ModifyFacetedProjectWizard.java:345)
      at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)


      Eclipse:

      eclipse.buildId=M20090917-0800
      java.version=1.6.0_16
      java.vendor=Sun Microsystems Inc.
      BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_IE
      Command-line arguments: -os win32 -ws win32 -arch x86

        • 1. Re: Failed while installing Dynamic Web Module 2.5.
          Paul Keogh Newbie

          Also tried with the nightly build same result. (Version: 3.1.0.v200910310441N-H45-RC1)

          The previous entry in the Eclipse error log is also related:

          java.lang.NullPointerException: No IModelProvider exists for project P/ref of version: Dynamic Web Module 2.5
          at org.eclipse.jst.j2ee.model.ModelProviderManager.getModelProvider(ModelProviderManager.java:99)
          at org.eclipse.jst.j2ee.web.project.facet.WebFacetInstallDelegate.createWeb25DeploymentDescriptor(WebFacetInstallDelegate.java:283)
          at org.eclipse.jst.j2ee.web.project.facet.WebFacetInstallDelegate.execute(WebFacetInstallDelegate.java:116)
          at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.callDelegate(FacetedProject.java:1467)
          at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.modifyInternal(FacetedProject.java:438)
          at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.mergeChangesInternal(FacetedProject.java:1171)
          at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.access$2(FacetedProject.java:1107)
          at org.eclipse.wst.common.project.facet.core.internal.FacetedProject$5.run(FacetedProject.java:1089)
          at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
          at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.mergeChanges(FacetedProject.java:1099)
          at org.eclipse.wst.common.project.facet.core.internal.FacetedProjectWorkingCopy.commitChanges(FacetedProjectWorkingCopy.java:1958)
          at org.eclipse.wst.common.project.facet.ui.ModifyFacetedProjectWizard.performFinish(ModifyFacetedProjectWizard.java:400)
          at org.eclipse.wst.web.ui.internal.wizards.NewProjectDataModelFacetWizard.performFinish(NewProjectDataModelFacetWizard.java:279)
          at org.jboss.tools.seam.ui.wizard.SeamProjectWizard.performFinish(SeamProjectWizard.java:278)
          at org.eclipse.wst.common.project.facet.ui.ModifyFacetedProjectWizard$3.run(ModifyFacetedProjectWizard.java:331)
          at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
          at org.eclipse.wst.common.project.facet.ui.ModifyFacetedProjectWizard$4.run(ModifyFacetedProjectWizard.java:345)
          at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

          • 2. Re: Failed while installing Dynamic Web Module 2.5.
            Denis Golovin Master

            Could you provide some details:
            1. seam version;
            2. target runtime;
            3. target server;
            5. deployment type for seam project.

            or just explain your scenario to help reproduce the issue.

            Thanks

            • 3. Re: Failed while installing Dynamic Web Module 2.5.
              Paul Keogh Newbie


              Apologies, here are the details.

              Seam 2.2
              Target runtime is JBoss 5.1
              Target server is JBoss 5.1
              Deployment type is EAR

              Scenario is very simple; I run the JBT new seam web project wizard and when I click Finish I see the exception. Only one of the 4 Eclipse (web) projects is created.

              • 4. Re: Failed while installing Dynamic Web Module 2.5.
                Snjezana Peco Master

                Have you installed webtools? The org.eclipse.jst.j2ee.web plugin seems to be missed.
                It would be good if you would install Galileo SR1 from http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/galileo/SR1/eclipse-jee-galileo-SR1-win32.zip and update all the features of JBoss Tools except BIRT, Maven, TPTP that are optional and require additional third-party prerequisites (BIRT, m2eclipse and TPTP).

                • 5. Re: Failed while installing Dynamic Web Module 2.5.
                  Rob Stryker Master

                  This sounds like a bad build. WTP should have a model provider for dynamic web projects 2.5 version.

                  • 6. Re: Failed while installing Dynamic Web Module 2.5.
                    chris snow Newbie

                    This is still broken. My environment:

                     

                    Eclipse SDK:

                    Version: 3.5.1
                    Build id: M20090917-0800

                     

                    Seam Tools for Eclipse
                    Version: 3.1.0.v200912250601M-H198-CR1

                     

                    Eclipse Web Developer Tools
                    Version: 3.1.1.v200908120400-7R77FSpEVw2xXR0CtKvX6bG6a2qU
                    Build id: 20090917225226

                     

                    How can I resolve this problem?

                     

                    Many thanks,


                    Chris

                    • 7. Re: Failed while installing Dynamic Web Module 2.5.
                      Max Rydahl Andersen Master

                      Please provide exact steps/links for what you installed so we can reproduce because if this were a general problem noone would be able to create any projects with WTP.