IllegalStateException: Entity [managed] is a ChangeTracker but has no PropertyChangeListener

Hi there!

I have a CUBA Application, which is throwing errors. I get: ERROR IllegalStateException: Entity ‘de.company.project.entity.Skill-2b5b54eb-0f6e-44bb-45dc-8a35a43dc0e1 [managed]’ is a ChangeTracker but has no PropertyChangeListener

Here is the app.log: app.log (46.6 KB)

The error occurs when trying to open the list of “profiles” in my application. Each profile has a list of “skills”.
I checked the solution in XXX is a ChangeTracker but has no PropertyChangeListener but the two .class 'es are the same:
skillclass_same

I use CUBA Studio 6.9.5. The Platform Version used is platform-6.6.2. Gradle is 4.4.1.

The most strange thing is, that I have a colleague on another computer, where the code compiles and runs just fine. I tried to copy his code but it didn’t work. So I thing the problem must be in the build process.

Thank’s in advance!
Rene

1 Like

I actually solved it. I still hat a problem with Gradle version which caused the error.

Hello @darktron1337

Yes, we have some requirements related to Gradle. You can always check required version in this file: gradle/wrapper/gradle-wrapper.properties.

But we recommend to use Gradle wrapper that is always configured by CUBA Studio. It allows you to avoid problems with Gradle versions.
Use gradlew (Win) or ./gradlew (Linux) commands to run tasks with Gradle wrapper.

Regards,
Daniil.

1 Like