Vaadin OSGI portlet and exception logging in Liferay 7

Hi

Liferay 7 does not show exceptions in Eclipse (Liferay IDE) console for Vaadin OSGI portlets.

Steps for reproducing the problem:

  1. Clone [a sample portlet]
    (https://github.com/elmot/liferay-7-solid-portlet-example/tree/master/modules/VaadinPortlet) into Liferay workspace modules directory.
  2. Add ((String) null).length() to UI init method (throws NullPointerException).
  3. blade deploy
  4. Add the portlet to a page.
  5. Open the page. NullPointerException is not written into Eclipse console.

How can I configure Liferay 7 to show Exceptions in Liferay console?

Harri

PS. This message was posted also to [Liferay forum]
(https://community.liferay.com/forums/-/message_boards/message/110672179).