Community
Participate
Working Groups
Build Identifier: An exception is shown when a new Dynamic Web Project is created. Steps to reproduce: 1. Open the Dynamic Web Project wizard. 2. Enter a single letter as project Name. 3. Remove that letter, so the project Name is empty. java.lang.IllegalArgumentException exception is shown. Reproducible: Always
This was caused by the fix for bug 357016. All of the DataModelProviders it changed should be updated to handle this case.
Created attachment 204773 [details] R3_2_maintenance patch
approved
Explain why you believe this is a stop-ship defect. Or, if it is a "hotbug" (requested by an adopter) please document it as such. This is a regression from WTP 3.2.4 that was introduced by bug 357016. The code that was added there checked to see if the project exists, but did not check to see if the project name was null first. Is there a work-around? If so, why do you believe the work-around is insufficient? The only work-around is to never clear out the project name in any of the wizards. That is unacceptable. How has the fix been tested? Is there a test case attached to the bugzilla record? Has a JUnit Test been added? This fix has been tested by hand and by having the Java EE Tools JUnit bucket run against it. Give a brief technical overview. Who has reviewed this fix? In the various *DataModelProviders that were previously effected, the project name is now checked to make sure it is not null before being used. Chuck Bridgham and myself have reviewed the fix. What is the risk associated with this fix? Low risk fix - this is adding a null check for the project name
Code committed to R3_2_maintenance for 3.2.5 and to HEAD for 3.4, except for the changes in the plugin org.eclipse.jst.j2ee.ejb, because I'm not a commiter for that. Carl, would you mind committing the EJB code?
I committed the EJB portion to R3_2_maintenance for WTP 3.2.5 and HEAD for 3.4.0.
Committed to R3_3_maintenance for WTP 3.3.2.