Why does our production code run fine for a day after redeployment but then start throwing errors, while the same code works perfectly locally with the same database?
Please look at these attachments: bug.txt (19.9 KB)
After debugging for a while, we noticed the root cause of this problem might be in this Jmix Class: io.jmix.eclipselink.impl.FetchGroupManager.class, line 561
Never had a second thought of Range of MetaProperty could be null.
I would appreciate your support on this matter. Thanks
Do you know what entity is affected exactly?
According to logs it is something loaded via your KanbanDataSupport. What entity does it work with.
It’s required to reduce the scope of research.
Basically 2 entities are causing this exception which are jb_Applicant and jb_Vacancy you can see inside previously attached sample project, when I look at the logs, I see a name of metaPorperty is null when range comes null.
The only recommendation for now - do not use lombok within entity class.
Remove Getter/Setter annotations, implement methods directly and check. This may help.
There is nothing else suspicious in your entities.
And also - do you use dynamic attributes? If so, do your deployments have the same configuration of them?