Hot deploy compilation errors post 7.1.5 --> 7.2.1 upgrade

The 7.1.x --> 7.2.x upgrade seemed to have gone mostly ok, but as I’m playing with things, I’m getting hot deploy compilation errors:

Hot deploy compilation errors:
C:\Users\jon\.gradle\caches\modules-2\files-2.1\com.vaadin\vaadin-server\8.9.2-4-cuba\184351f3973ce28dd0ee3979a9f69603b8c9da0e\vaadin-server-8.9.2-4-cuba.jar(/com/vaadin/server/VaadinRequest.java):29: error: package javax.portlet does not exist
import javax.portlet.ClientDataRequest;
                    ^
C:\Users\jon\.gradle\caches\modules-2\files-2.1\com.vaadin\vaadin-server\8.9.2-4-cuba\184351f3973ce28dd0ee3979a9f69603b8c9da0e\vaadin-server-8.9.2-4-cuba.jar(/com/vaadin/server/VaadinRequest.java):30: error: package javax.portlet does not exist
import javax.portlet.PortletRequest;
                    ^
C:\Users\jon\.gradle\caches\modules-2\files-2.1\com.vaadin\vaadin-server\8.9.2-4-cuba\184351f3973ce28dd0ee3979a9f69603b8c9da0e\vaadin-server-8.9.2-4-cuba.jar(/com/vaadin/server/WrappedSession.java):22: error: package javax.portlet does not exist
import javax.portlet.PortletSession;
                    ^
C:\Users\jon\.gradle\caches\modules-2\files-2.1\com.vaadin\vaadin-shared\8.9.2-4-cuba\7f7c9577a78d932328249e204b56da8ad68fce1a\vaadin-shared-8.9.2-4-cuba.jar(/elemental/json/impl/JreJsonBoolean.java):79: error: package com.google.gwt.core.shared does not exist
  @com.google.gwt.core.shared.GwtIncompatible
                             ^

(Of course, everything compiles fine…just not hot deploy.)

Hi! Could you enable CUBA Studio debug logs ( CUBA -> Advanced -> Enable DEBUG Loggin Level ) reproduce the problem and attach your idea.log here.

@shustanov - sure. It’s rather large, but here.

idea.log (6.8 MB)

Any ideas on this, @shustanov?

Anyone else able to assist on this one? It’s definitely slowing development having to kill and restart the server every time; hot deploy is really nice!

@stukalov?

Hi,
Thank you for provided information, it helped us to understand the cause of the problem.
However we won’t be able to provide a quick fix for this (not within few days).

We’ll create ticket in our bug tracker and try to do our best to provide a bug fix in one of next Studio releases.

You can try to change setting CUBA -> Settings -> Project Settings -> “hot deploy compiled classes”, turning it to off. But I am not sure it will help in your case.

Thank you for patience and understanding.

1 Like

No problem, @AlexBudarov - thank you for the confirmation that the problem has been seen and such.

Sorry for long slince. I have created new issue in our bug tracker system.

1 Like

Any word on a timeframe for this one? Itr’s a pretty serious slowdown in workflow having to restart the server every time one wants to test a change.

Hi,
Planning to publish Studio bug-fix release next week (fingers crossed).

1 Like

I’ll cross mine too. :smile: I hope everything’s ok (or at least semi-ok) over there!

Any update on this? :slight_smile:

Hi,
We have released 13.2 CUBA plugin with the fix.
Please ensure that you have updated to the newest plugin version.

We would be glad to hear your feedback, did the problem go away?