c# object reference not set to an instance of an object For my c# -
this question has answer here:
- what nullreferenceexception, , how fix it? 33 answers
can me? keep getting error "object reference not set instance of object" on line 2150 in coding here:
ln 2148 if (session.characterinfo.timer > 0) ln 2149 { ln 2150 session.senddata(roomchatcomposer.compose(actor.id, "you have " + session.characterinfo.timer + " minutes left until you're paid", 0, chattype.whisper)); 2151 }
one of following:
session
nullsession.characterinfo
nullactor
nullroomchatcomposer
null (this calling static method, if discard)chattype
null (this enum? if discard this)
Comments
Post a Comment