Description

Here are the steps to reproduce:

1. Go to Dashboard
2. Go to My Documents
3. Add a document
4. View the document portlet and switch the view from icon view to descriptive view and back to icon view again
5. The user will see Null Pointer exceptions.