Perspective Workstation goes blank after loading homepage

When I startup a Perspective Workstation session, it shows the loading screen, launches the homepage, then a few moments later it shows this:

Any ideas?

Actually it only happens when I open a particular page which contains a component from a custom module so there must be something wrong with the module… No errors are reported in Workstation though, it just goes blank, which is an issue.