title: How do I resolve this error please "Kotlin: [Internal Error] java.lang.ExceptionInInitializerError"
body: <pre><code>fun main() {
      fun convert(x: Double, converter: (Double) -&gt; Double) : Double{
          val result = converter(x)
          println(&quot;$x is converted to $result&quot;)
          return result
      }
      fun convertFive(converter: (Int) -&gt; Double) : Double {
          val result = converter(5)
          println(&quot;5 is converted to $result&quot;)
          return result
      }
  
      convert(20.0) { it * 1.8 + 32}
      convertFive { it * 1.8 + 32 }
  }
  </code></pre>
  <p>// i got this error when i updated my intelliJ Idea and ran this
  //</p>
  <blockquote>
  <p>Kotlin: [Internal Error] java.lang.ExceptionInInitializerError</p>
  </blockquote>