Maximizing a portlet after the session expired causes an exception. The login screen should be onened.
This can be reproduced when leaving a portal page open in the browser. Then when the session is expired click on the maximize icon of a portlet.
I attached the error output html as a file.