title: setObjectForKey: object cannot be nil crash in iphone app
body: <p>i am new to iphone app development and i am getting this exception at below code line,can anyone please help me to solve this?</p>
  
  <p><strong>error</strong></p>
  
  <pre><code>Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** setObjectForKey: object cannot be nil (key: varText)'
  </code></pre>
  
  <p><strong>code</strong></p>
  
  <pre><code> [bodyDict setObject:textobj.varText forKey:TEXT_KEY];
  </code></pre>