Community
Participate
Working Groups
I have a base class which initialize the object and hide this code with $hide>>$ and $hide<<$. In this base class the window builder parser ignore this code (validated with the option highlight visited lines). In derived classes from this base class, window builder will execute this hide code. Error Message: Exception during 'super' constructor evaluation An exception happened during evaluation of constructor CardPanel() using arguments {}. java.lang.NoClassDefFoundError: ...
This is working as expected. Code hiding tags are parser instructions that affect only the class that is currently being edited/parsed. They have no effect on subclasses (when you are editing the subclass) or consumer classes (when you are editing the consumer class). In fact, they are not runtime or execution instructions in any way. If you want to hide executing code (located in superclass, a custom widget, etc.), you should use a Beans.isDesignTime() check instead.
With Beans.isDesignTime() it works well. Thanks.