I am iterating a List in my view.Jsp of the respective portlet1.so when first time i deployed into liferay server portal ,that portlet1 displaying message as "Portlet1 is temporarly not available" because of no list iterated until action performed from other portlet.How to overcome this problem .Please help me out.
posted 1 year ago
Generally portlet throws "Temporary not available" in case if there is any exception thrown. In your case it seems you are not doing any null check for the list. Though the action is not performned, null check should avoid your portlet run into exceptions. Try doing it