assert projectId not null