Vaadin OSGI portlet and exception logging in Liferay 7


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]
    ( 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?


PS. This message was posted also to [Liferay forum]