You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
kotlin.UninitializedPropertyAccessException: lateinit property contacts has not been initialized
at org.example.domain.query.QCustomer.getContacts(QCustomer.kt:62)
at org.example.domain.CustomerTest.exampleAliasUse(CustomerTest.kt:28)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
...
I think you should also mention if IntelliJ is configured to execute Build > Rebuild Project via Maven or not. See Settings -> Build -> Build Tools -> Maven -> Runner -> Delegate IDE build/run actions to Maven.
This is an IntellJ issue not an ebean issue, IntelliJ with kotlin is a bit of a mess, I'm using it actively and it isn't rebuilding standard kotlin classes.
Expected behavior
CustomerTest
in https://github.com/ebean-orm-examples/example-kotlin runs without exception after an IntelliJ Rebuild.Actual behavior
Steps to reproduce
example-kotlin
into IntelliJorg.example.domain.CustomerTest
with VM Options-javaagent:ebean-agent-12.4.1.jar=debug=3
(the same issue happens with the IntelliJ plugin)Environment:
The text was updated successfully, but these errors were encountered: