Page MenuHomePhabricator

null pointer exception in PhabricatorPeopleWelcomeController
Closed, ResolvedPublic

Description

See https://discourse.phabricator-community.org/t/call-to-a-member-function-getmessagetext-on-null/2304

Not sure how to reproduce this, but in D19995#249483, null value may be returned when a PhabricatorAuthMessage is expected.

Event Timeline

Reproduction steps are:

  • On a fresh or recently updated install, don't go to AuthCustomize MessagesWelcome Email Body and customize the email body.
  • Try to welcome a user.

A workaround is:

  • Go to AuthCustomize MessagesWelcome Email Body and set any custom body (even an empty one).

But D20001 should fix this, I just goofed it up at the last second when I wanted to add an actual link to the custom message.