SOC-3423 | Groovy template exception when go to home page after a friend shared a file