Steps to reproduce:
1. Create a sample portlet without a liferay-portlet.xml (I have attached one with and without it)
2. Start Liferay 6.2
3. Deploy the portlet
4. Place the portlet on the default welcome page
5. Export the Site
Expected Result: Successful export.
Actual Result: Export fails with a NullPointerException (see full logs attached)
If you deploy the portlet with a liferay-portlet.xml, export works. I believe having a liferay-portlet.xml is not mandatory for portlets, but I'm not entirely sure.
I have attached a portlet to test this on master as well.
reproduced on ee-6.2.x @ commit 073cbc3fcedab7dfa457e49ece4cef2a6b365ba9
works correctly on master @ commit c84a25902b4edd39d537fd0e59cf83be3b029c02