Cause: invalid type code: 46

I am trying to set up a new project using intellij in gradle but I am getting the following error.
Cause: invalid type code: 46

I am using Java 9 and gradle version is 4.9

Hello! Anyone can tell the way how to fix the issue? What is the cause of it?

I’m sure it would be helpful to get some more details about how you’re doing it. What’s your build script, which commands are you executing, what is the entire error message?