Community
Participate
Working Groups
One more scenario that fails creating a Java EE project. Prerequisites: 1. EAR project in workspace. Steps to reproduce (exactly this order): 1. Open a project creation wizard (Web, EJB, etc) 2. Check the "Add project to an EAR". 3. Type something in the "Project name" field. A NullPointerException is thrown on this step: java.lang.NullPointerException at org.eclipse.jst.j2ee.project.facet.J2EEModuleFacetInstallDataModelProvider.validate(J2EEModuleFacetInstallDataModelProvider.java:207) at org.eclipse.jst.j2ee.web.project.facet.WebFacetInstallDataModelProvider.validate(WebFacetInstallDataModelProvider.java:129) If you now try to finish the wizard, another NPE is thrown java.lang.RuntimeException: java.lang.NullPointerException at org.eclipse.wst.common.project.facet.ui.ModifyFacetedProjectWizard.performFinish(ModifyFacetedProjectWizard.java:344) at org.eclipse.wst.web.ui.internal.wizards.NewProjectDataModelFacetWizard.performFinish(NewProjectDataModelFacetWizard.java:298)
I have verified this problem - and raising to critical... need a repin for this if possible... looking at code currently.
Created attachment 82901 [details] Add a null check for the fpjwc's project name Once the first NPE is hit, a lot of updating that needs to happen doesn't happen. So, fixing the first NPE fixes the rest.
This issue was resolved by Carl.
Verified with the S-3.0M3-20071114232332 build.
Closing