title: IllegalArgumentException: Parameter specified as non-null is null
body: <p>I'm getting the following <strong>runtime error</strong>:</p>
  
  <pre><code> checkParameterIsNotNull, parameter oneClickTokens
      at com.info.app.fragments.Fragment_Payment_Profile$fetchMerchantHashes$1.onPostExecute(Fragment_Payment_Profile.kt:0)
      at com.info.app.fragments.Fragment_Payment_Profile$fetchMerchantHashes$1.onPostExecute(Fragment_Payment_Profile.kt:1543)
  </code></pre>
  
  <p>Here's <strong>my code</strong>:</p>
  
  <pre><code> private fun fetchMerchantHashes(intent: Intent) {
      // now make the api call.
      val postParams = "merchant_key=$key&amp;user_credentials=$var1"
      val baseActivityIntent = intent
      object : AsyncTask&lt;Void, Void, HashMap&lt;String, String&gt;&gt;() {
  
          override fun doInBackground(vararg params: Void): HashMap&lt;String, String&gt;? {
                  ...
          }
  
          override fun onPostExecute(oneClickTokens: HashMap&lt;String, String&gt;) {
              super.onPostExecute(oneClickTokens)
              ...
  
          }
      }.execute()
  }
  </code></pre>
  
  <p>It seems that the function call seems to be invalid. However, I don't know how to fix this problem. Is there anything Kotlin specific I've missed? </p>