title: IllegalStateException: in DatabaseHelper file
body: <p>Following link contains gist for the file in which I am getting the exceptions. I am getting exceptions at lines 29 and 66.</p>
  
  <p><a href="https://gist.github.com/ShashwathKumar/e1b26e8d4f6956c2afd4" rel="nofollow">https://gist.github.com/ShashwathKumar/e1b26e8d4f6956c2afd4</a></p>