This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Hopefully these are the steps to reproduce 1. Create the PetCatalog sample application from Web samples 2. Deploy the application The first deployment will fail, because the environment is not properly set up. I am attaching the GlassFish log file, which contains the root cause. 3. Deploy the application again - a NPE will be printed in the Ant output. Attaching.
Created attachment 87116 [details] GlassFish log containing errors after first deployment
Created attachment 87117 [details] Error in console on the 2nd deployment
*** This issue has been marked as a duplicate of 171728 ***