Change localization settings in the netbeans configuration file ($NETBEANSHOME/etc/netbeans.conf).
"--locale en" to the end of
(if your os is windows and it is “unabled to save netbeans.conf”, run cmd as administrator and navigate
"C:\Program Files\NetBeans 7.3.1\etc>". Then run
"notepad netbeans.conf" and edit netbeans.conf)
There is a parallel problem for eclipse. If you get: “Unable to start server due following issues: java.lang.NullPointerException” in eclipse, consult: https://madvens.wordpress.com/2013/11/11/glassfish-unable-to-start-server-due-following-issues-java-lang-nullpointerexception-exception/