Generate Constructor Not Working

Answered

Out of the blue, generate constructor will only generate an empty constructor. It ignores any member fields for the class. I saw another post about this saying to invalidate caches and restart, but that didn't change anything. Any ideas why this would be happening and how to fix it? Thanks.

0
2 comments

Does it happen in any class? Any exceptions in the logs? https://intellij-support.jetbrains.com/hc/articles/207241085.

If it's class specific, please share it, there was a known issue with @Entity annotated classes: https://youtrack.jetbrains.com/issue/IDEA-228014 .

0
Avatar
Permanently deleted user

After several restarts of Intellij and system, it's working again. It is an @Entity annotated class. Thanks.

0

Please sign in to leave a comment.