When attempting to view a ResourceWebPage, if the
resource is null for some reason (eg: the page was
created with the resource, but the resource was later
deleted), a npe will be thrown. Perhaps the "correct"
thing to do is to delete a ResourceWebPage when the
corresponding resource is deleted.