Intents using Kotlin for Android are almost the same. We just need to change it slightly in the syntax as below.
val intent = Intent(this, HelloActivity::class.java)
startActivity(intent)
The exception you are getting:
Is a null pointer exception in your onCreate method on the activity…