To regenerate this issue on trunk, here are the steps:
Go to Project --> Projects
Click on New Project
Only enter Project Name and click on save button
Close the current project.
The following error is thrown
Proper fix: issue occurred due to use of inappropriate map. Instead of fetching the value of projectId from parameters, its better to get it from context map as its already set at screen.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1749282 13f79535-47bb-0310-9956-ffa450edef68