Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] NPE in DatasourceCallQueryMechanism.java:841

Forgot to mention, this is on 2.7.9 using PostgreSQL-12.4 on Ubuntu using pgjdbc-ng 0.8.9 driver.
 
On Wednesday 24. November 2021 at 20:01:04, Andreas Joseph Krogh <andreas@xxxxxxxxxx> wrote:
I don't have the specific query for what's causing this and it happens only occationly, but:
 
I'm getting:
 
Caused by: java.lang.NullPointerException: Cannot invoke "java.lang.Integer.intValue()" because "rowCount" is null
       at org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.updateObject(DatasourceCallQueryMechanism.java:841)


 
which amounts to this code:
 
if ((index == 0) || (rowCount.intValue() <= 0)) {// Row count returned must be from first table or zero if any are zero.
    returnedRowCount = rowCount;
}
 
Is this a known issue?
 
 
--
Andreas Joseph Krogh
CTO / Partner - Visena AS
Mobile: +47 909 56 963
_______________________________________________
eclipselink-users mailing list
eclipselink-users@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/eclipselink-users
 
 
 
 
--
Andreas Joseph Krogh
CTO / Partner - Visena AS
Mobile: +47 909 56 963
 

Back to the top