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
If you throw an InfluxDBException an this position, it is not possible to catch it on the caller side:
public void loadDataAsync(int chunk, Consumer<QueryResult> consumer) {
// Bad syntax test
db.query(new Query("SELECT * FROM sieries LIMIT -100", databaseName), chunk, consumer);
}
Stacktrace:
org.influxdb.InfluxDBException: {"error":"error parsing query: found -, expected integer at line 1, char 63"}
at org.influxdb.impl.InfluxDBImpl$1.onResponse(InfluxDBImpl.java:420)
at retrofit2.OkHttpCall$1.callSuccess(OkHttpCall.java:138)
at retrofit2.OkHttpCall$1.onResponse(OkHttpCall.java:117)
at okhttp3.RealCall$AsyncCall.execute(RealCall.java:141)
at okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)
This causes my REST-Endpoint (Spring MVC) to hang.
The text was updated successfully, but these errors were encountered:
Hello,
please take a look at InfluxDBImpl.java#L548
If you throw an InfluxDBException an this position, it is not possible to catch it on the caller side:
Stacktrace:
This causes my REST-Endpoint (Spring MVC) to hang.

The text was updated successfully, but these errors were encountered: