Comments (11)
/cc @Karm (mandrel), @galderz (mandrel), @zakkak (mandrel)
from quarkus.
I also noticed this yesterday.
After bumping postgres to 42.7.1, we got errors with setting blobs. Now, I've downgraded to 42.6.1.
The problem is also present in 42.7.0.
from quarkus.
@jedla97 do you have any idea why the core tests didn't catch it? I checked the PR, the tests were executed and I don't see them failing with this issue.
from quarkus.
/cc @zakkak
from quarkus.
@zakkak creating a RuntimeReinitializedClassBuildItem
for https://github.com/pgjdbc/pgjdbc/pull/3082/files#diff-4a86a9f2f0d5eef4636059fe34d7510c3ea493c87cee72d4e438916d3354d753R31-R33 should work, right?
from quarkus.
do you have any idea why the core tests didn't catch it? I checked the PR, the tests were executed and I don't see them failing with this issue.
@gsmet sorry not at the moment I tried create simple reproducer but wasn't able. But we have this issue only in Narayana modul so I think that can be reason why it was not catched because all other sql module passing without fail.
from quarkus.
@Serkan80 are you sure it's the same error? I would be surprised if blobs were using a password util. What's your error exactly?
from quarkus.
@zakkak creating a
RuntimeReinitializedClassBuildItem
for https://github.com/pgjdbc/pgjdbc/pull/3082/files#diff-4a86a9f2f0d5eef4636059fe34d7510c3ea493c87cee72d4e438916d3354d753R31-R33 should work, right?
Yes, that should do the trick.
from quarkus.
@jedla97 could you check if #38958 fixes the issue for you?
from quarkus.
@gsmet I tested it and it's working. Thanks for quick fix!
from quarkus.
this is the error I get in my integration test, when I update to 42.7.1:
java.lang.NegativeArraySizeException: -1
at org.postgresql.jdbc.PgPreparedStatement.createBlob(PgPreparedStatement.java:1236)
at org.postgresql.jdbc.PgPreparedStatement.setBlob(PgPreparedStatement.java:1261)
at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.setBlob(HikariProxyPreparedStatement.java)
at org.hibernate.type.descriptor.sql.BlobTypeDescriptor$4$1.doBind(BlobTypeDescriptor.java:132)
at org.hibernate.type.descriptor.sql.BasicBinder.bind(BasicBinder.java:73)
at org.hibernate.type.AbstractStandardBasicType.nullSafeSet(AbstractStandardBasicType.java:276)
There is something breaking in the 42.7.x version of postgresql driver, when I switch back to 42.6.x, then the error is gone.
from quarkus.
Related Issues (20)
- Simplify configuration based mapping of token roles to deployment-specific SecurityIdentity HOT 8
- Update the title of dev-ui.adoc HOT 1
- Quarkus Kogito code generator plugin still using javax HOT 2
- Quarkus can't see my Clojure classes. HOT 1
- Renaming reactive messaging to Quarkus messaging HOT 3
- Binding error in azure app functions HOT 1
- Invalid channel configuration - the `connector` attribute must be set for channel `news$1` when setting the concurrency attribute HOT 2
- `SQLException: Unable to enlist connection to existing transaction` when accessing multiple persistence units in the same transaction since 3.8.2 HOT 115
- Bump grpc.version from 1.59.1 to 1.61.0 for Quarkus 3.8 as well HOT 6
- Rest client doesn't get generated when interface annotations are inherited HOT 16
- Validate that http and https are not on the same port HOT 3
- Quarkus OIDC Client: Lazy OIDC Discovery HOT 3
- Complete OIDC Request and Response logging support HOT 1
- Extend OidcClient to support UserInfo, token introspection and token revocation for all token types HOT 2
- Hibernate ORM: package-info is ignored when specifying scan packages HOT 2
- Remove kubernetes client split package check HOT 6
- Removing mentions to `-H:-DeleteLocalSymbols` in documentation when Quarkus moves to GraalVM / Mandrel (24.1) for JDK 23 HOT 1
- Wrong reference on list of injected beans HOT 3
- Refine extension search to allow searching on "rest"
- prod-profile configuration pollutes test profile in integration tests HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quarkus.