title: System.NullReferenceException: A null value was found where an object instance was required
body: <p>my app crash and give this log</p>
  <blockquote>
  <p>Caused by: md52ce486a14f4bcd95899665e9d932190b.JavaProxyThrowable:</p>
  <p>System.NullReferenceException: A null value was found where an object
  <br/>
  SQLClient.GetAllProfile ()
  <br/>
  Comman.get_Profile ()</p>
  </blockquote>
  <p>my code is
  comman.cs</p>
  <pre><code> public static Profile Profile {
          get {
              if (_profile == null) {
                  var profiles = SQLClient.Instance.GetAllProfile ();
                  if (profiles!=null &amp;&amp; profiles.Count &gt; 0) {
                      _profile = profiles [0];
                  }
              }
  
              return _profile;
          }
          set {
              _profile = value;
          }
    }
  </code></pre>
  <p>and in SQLClient.cs</p>
  <pre><code>    public List&lt;Profile&gt; GetAllProfile()
      {
          lock (SQLClient.SyncObject)
          {
              List&lt;Profile&gt; list = conn.Table&lt;Profile&gt;().ToList(); 
              return list;
          }
      }
  </code></pre>