I'm having problem with my trigger.Please help me to resolve this system null pointer exception
trigger theatreupdate on Transaction__c (before insert)
{
for(Transaction__c t:Trigger.new)
{
t.TheaterT__r.Number_Of_Seats_Sold__c=0;
}
//TheaterT__r-parent of Transaction__c
}