KT-2874 Exception in front-end when extending Java class

 #KT-2874 Fixed