Uncaught throwable in Android Studio when reviewing code

Whenever I open a file from list of file in the review or add a comment in the main AS window, I get a 'plugin error' warning from AS about an uncaught throwable (the log message says 'cannot get JavaScript engine').
The comment isn't added to the review on the server. 

If I add a comment from the diff window, I get no error message and comment is added correctly.

I've tried uninstalling and reinstalling the plugin, as well as restarting AS. I'm using AS 2.0.
Any idea what to do?


Hi François,

Could you please clarify what JDK are you using?Is it OpenJDK?


Hi Artem,


I am using Android Studio 2.2 preview 6.  

According to the 'switch IDE Boot JDK' command, it comes bundled with : openjdk version 1.8.0_76 [boot, bundled]


Does that help you diagnose ?  

This is the bundled JDK with Android Studio, so that's what most Android devs are going to use :-/ 


Some kind of.. We try to reproduce the issue in our environment. I'll let you know as soon as we have any results. 


Please sign in to leave a comment.