IllegalArgumentException: Parameter specified as non-null is null

The exception is pretty clear: you’re passing null for the parameter.

By default all variables and parameters in Kotlin are non-null. If you want to pass null parameter to the method you should add ? to it’s type, for example:

fun fetchMerchantHashes(intent: Intent?)

For more information: null-safety.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)