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

node.js - How to mock a third-party api calls in the backend -

node.js - Why do I get "SOCKS connection failed. Connection not allowed by ruleset" for some .onion sites? -

matlab - 0-by-1 sym - What do I need to change in order to get proper symbolic results? -