glassfish “Unable to start server due following issues: java.lang.NullPointerException” exception

When starting glassfish server, if you get "Unable to start server due following issues: java.lang.NullPointerException" exception, it is probably because of the localization settings of eclipse. To change eclipse’s localization settings:

  • Open eclipse.ini file which is located in your eclipse installation directory (in the same folder with eclipse.exe).
  • Add -Duser.language=en in the bottom of your eclipse.ini.
  • Restart eclipse.

There is a parallel problem for netbeans. If you get: “GlassFish Server Server start failed. Cant create start proccess” in netbeans, consult: