“Exception while loading the app” without a stack trace
I'm migrating my app from GlassFish 3.0.1 to GlassFish 3.1.1. Deployment fails, with the following error messages: SEVERE: Exception while loading the app SEVERE: Exception while shutting down application container SEVERE: Exception while shutting down application container : java.lang.NullPointerException SEVERE: java.lang.RuntimeException: Error occurred during deployment: Exception while shutting down application container : java.lang.NullPointerException. Please see server.log for more details. There is no stack trace. I turned on the root logging level to FINEST, and the first SEVERE