parsing error ElCompiler.scala:249

I try to run a simulation looking like this:

`

package magnus

import scala.concurrent.duration._
import java.util.Date
import io.gatling.core.Predef._
import io.gatling.http.Predef._

class PdaSimulation extends Simulation{

  val httpProtocol = http
    .baseURL("https://sad")
    .inferHtmlResources(BlackList(""".*\.js""", """.*\.css""", """.*\.gif""", """.*\.jpeg""", """.*\.jpg""", """.*\.ico""", """.*\.woff""", """.*\.(t|o)tf""", """.*\.png"""), WhiteList())
    .acceptHeader("application/json, text/javascript, */*; q=0.01")
    .acceptEncodingHeader("gzip, deflate")
    .acceptLanguageHeader("en-US,en;q=0.5")
    .connectionHeader("keep-alive")
    .contentTypeHeader("application/x-www-form-urlencoded; charset=UTF-8")
    .userAgentHeader("Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0")
 
  val scnVareInformasjon = scenario("drt")

    .exec(flushCookieJar)
    .exec(flushHttpCache)

    .exec(http("LOGIN")
      .get("/UI5_RETAIL_APPCACHE?sap-client=300&appcache=Cd")
      //.headers(headers)
      .basicAuth("Inn2451b", "Portal4451")
      .check(status.is(200)))

  setUp(scnVareInformasjon.inject(atOnceUsers(1))).protocols(httpProtocol)

}

`

Byt get this error in intellij:

Exception in thread "main" io.gatling.core.session.el.ElParserException: Failed to parse application/json, text/javascript, */*; q=0.01 with error '[B cannot be cast to [C' at io.gatling.core.session.el.ElCompiler.parseEl(ElCompiler.scala:249)

What is thgis related to?

Thanks

Magnus

So seriously, no one has a fix for this? One other post on this google group not responded as well.

Hey Magnus,

I was able to fix this by changing the Java version for my project from 9 to 1.8 in IntelliJ (under Project Structure),

I have the same issue with java 9, it works with java 8 though.
I wonder why nobody created an issue yet, most likely I will do it today.

I think scala 2.12 only supports java8