if user deploy the project error (actually build error) , and ide will show a message about NPE , and user don't know what happends.
we can show the build error instead of NPE.
steps to reproduce:
create a project(e.g. mvc-portlet) and make it compile erorr, and deploy it.
also it deploy error , IDE will be in a mess and every time you deploy and undeploy project , it will show errors.