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
io.micronaut.data.exceptions.EmptyResultException: Query produced no result
at io.micronaut.data.runtime.operations.ExecutorAsyncOperations.lambda$findOne$2(ExecutorAsyncOperations.java:89)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run$$$capture(CompletableFuture.java:1768)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java)
at io.micronaut.scheduling.instrument.InvocationInstrumenterWrappedRunnable.run(InvocationInstrumenterWrappedRunnable.java:47)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833)
Steps To Reproduce
Any similar CoroutineCrudRepository should be able to reproduce the issue
Environment Information
macOS Monterrey
Kotlin 1.6.10
JDK 17
Example Application
No response
Version
3.2.7
The text was updated successfully, but these errors were encountered:
marcmarcet
changed the title
CoroutineCrudRepository does not handle nullable return types
Jdbc CoroutineCrudRepository does not handle nullable return types
Jan 25, 2022
Expected Behavior
Given the following repository, I'd expect that if no record is found, it returns
null
Actual Behaviour
What I actually get is a
EmptyResultException
Steps To Reproduce
Any similar CoroutineCrudRepository should be able to reproduce the issue
Environment Information
macOS Monterrey
Kotlin 1.6.10
JDK 17
Example Application
No response
Version
3.2.7
The text was updated successfully, but these errors were encountered: