c# object reference not set to an instance of an object For my c# -


this question has answer here:

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 null
  • session.characterinfo null
  • actor null
  • roomchatcomposer null (this calling static method, if discard)
  • chattype null (this enum? if discard this)

introduction debugging


Comments

Popular posts from this blog

java - Could not locate OpenAL library -

c++ - Delete matches in OpenCV (Keypoints and descriptors) -

sorting - opencl Bitonic sort with 64 bits keys -