igorbeslic/liferay-portal — comment on commit b4e5c1823f7e4e08d8c1dcc42b55788c59cdb2c3
File: portal-web/docroot/html/portlet/polls_display/view.jsp line 26
By igorbeslic:

There is check in ViewAction that will prevent forward to view.jsp if question wasn't found.
In case that questionId can't be retrieved from portlet preferences request is forwarded to common "portlet_not_setup".
In case that questionId is retrieved from preferences but it is deleted, NoSuchQuestionException will be caught in catch statement and again request is forwarded to common "portlet_not_setup" page.
I can't imagine case with question==null which renders view.jsp.
Juan can you?
Thanks!