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
I would expect the query to run without any problem.
Actual behavior
An exception is thrown:
Caused by: java.lang.NumberFormatException: For input string: "inf"
at java.base/jdk.internal.math.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2054)
at java.base/jdk.internal.math.FloatingDecimal.parseDouble(FloatingDecimal.java:110)
at java.base/java.lang.Double.parseDouble(Double.java:543)
at redis.clients.jedis.graph.ResultSetBuilder.deserializeScalar(ResultSetBuilder.java:259)
at redis.clients.jedis.graph.ResultSetBuilder.parseRecords(ResultSetBuilder.java:155)
at redis.clients.jedis.graph.ResultSetBuilder.build(ResultSetBuilder.java:62)
at redis.clients.jedis.graph.ResultSetBuilder.build(ResultSetBuilder.java:23)
at redis.clients.jedis.Response.build(Response.java:62)
at redis.clients.jedis.Response.get(Response.java:38)
at redis.clients.jedis.TransactionBase.exec(TransactionBase.java:141)
at redis.clients.jedis.Transaction.exec(Transaction.java:47)
Expected behavior
I would expect the query to run without any problem.
Actual behavior
An exception is thrown:
Steps to reproduce:
Run the following to reproduce the exception:
RedisGraph returns
inf
/-inf
which cannot be parsed byDouble.parseDouble
. Similarly, the same thing happens withNaN
values.Redis / Jedis Configuration
Jedis version: 4.2.3
Redis version: 6.2.6
Java version: 11
The text was updated successfully, but these errors were encountered: