I am using the Kotlin getting started guide to setup Kotlin for the first time on IntelliJ IDEA with the following configuration:
IntelliJ IDEA 2017.2.5
Buil
This is due to a bug in earlier JDK 8 versions. Open up the project structure for your project and change your project SDK to a more recent version.
Upgrading from JDK 1.8.0_11 to 1.80_72 solved the problem for me.
Just check "Use embedded JDK" in File>Project Structure>SDK Location> JDK Location