Hibernate Reactive with postgresql native query Cannot invoke "String.hashCode()" because "<local6>" is null
#43078
Labels
kind/bug
Something isn't working
Describe the bug
When trying to use a native query, the sql works in the postgresql container, i'm getting the
Cannot invoke "String.hashCode()" because "<local6>" is null
error.Expected behavior
Query executed against db with no error and an empty result list.
Actual behavior
Query executing fails with using the postegresql dialect.
How to Reproduce?
Reproducer project.
https://github.com/agreedSkiing/reactive-postgresql-local6-error/tree/main
Output of
uname -a
orver
Linux DI-001000095350 5.15.137.3-microsoft-standard-WSL2 #1 SMP Mon Nov 6 23:32:38 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Output of
java -version
Picked up JAVA_TOOL_OPTIONS: -DargLine="-Dhttp.proxyHost=proxy.digg.se -Dhttp.proxyPort=8080 -Dhttps.proxyHost=proxy.digg.se -Dhttps.proxyPort=8080 -Dhttp.nonProxyHosts=localhost" java 21.0.2 2024-01-16 LTS Java(TM) SE Runtime Environment (build 21.0.2+13-LTS-58) Java HotSpot(TM) 64-Bit Server VM (build 21.0.2+13-LTS-58, mixed mode, sharing)
Quarkus version or git rev
3.8.5.SP1-redhat-00001
Build tool (ie. output of
mvnw --version
orgradlew --version
)Picked up JAVA_TOOL_OPTIONS: -DargLine="-Dhttp.proxyHost=proxy.digg.se -Dhttp.proxyPort=8080 -Dhttps.proxyHost=proxy.digg.se -Dhttps.proxyPort=8080 -Dhttp.nonProxyHosts=localhost" Apache Maven 3.9.7 (8b094c9513efc1b9ce2d952b3b9c8eaedaf8cbf0) Maven home: /home/eriase/.asdf/installs/maven/3.9.7 Java version: 21.0.2, vendor: Oracle Corporation, runtime: /home/eriase/.asdf/installs/java/oracle-21.0.2 Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "5.15.137.3-microsoft-standard-wsl2", arch: "amd64", family: "unix"
Additional information
Needed to use mvn instead of the mvnw package since the company proxy is blocking the mvnw download.
The text was updated successfully, but these errors were encountered: