nifi-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <>
Subject [GitHub] [nifi] YolandaMDavis commented on issue #3826: NIFI-6780: Add QueryNiFiReportingTask, RecordSinkService, S2S and DB impls
Date Fri, 18 Oct 2019 14:53:04 GMT
YolandaMDavis commented on issue #3826: NIFI-6780: Add QueryNiFiReportingTask, RecordSinkService,
S2S and DB impls
   @mattyb149 I ran into an exception when I attempted to query the CONNECTION_STATUS_PREDICTIONS
table when predictions were not enabled.  Exception is below:
   `QueryNiFiReportingTask[id=df116dbf-016d-1000-29b8-156a35b5fe7f] Error during transmission
of query results due to Could not obtain next record from ResultSet:
Could n
   ot obtain next record from ResultSet Could not obtain next record from ResultSet
           at org.apache.nifi.record.sink.db.DatabaseRecordSink.sendData(
           at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(
           at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(
           at java.base/java.lang.reflect.Method.invoke(
           at org.apache.nifi.controller.service.StandardControllerServiceInvocationHandler.invoke(
           at com.sun.proxy.$Proxy125.sendData(Unknown Source)
           at org.apache.nifi.reporting.sql.QueryNiFiReportingTask.onTrigger(
           at org.apache.nifi.engine.FlowEngine$
           at java.base/java.util.concurrent.Executors$
           at java.base/java.util.concurrent.FutureTask.runAndReset(
           at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$
           at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(
           at java.base/java.util.concurrent.ThreadPoolExecutor$
           at java.base/
   Caused by: java.sql.SQLException: java.lang.NullPointerException
           at org.apache.calcite.avatica.util.PositionedCursor$ArrayGetter.getObject(
           at org.apache.calcite.avatica.util.AbstractCursor$AccessorImpl.getObject(
           at org.apache.calcite.avatica.AvaticaResultSet.getObject(
           at org.apache.nifi.serialization.record.ResultSetRecordSet.createRecord(
           ... 16 common frames omitted
   Caused by: java.lang.NullPointerException: null
           at org.apache.calcite.avatica.util.PositionedCursor$ArrayGetter.getObject(
   Recommend checking for the existence of this table first if possible and having an exception
that aligns with the fact that the table is missing.

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

With regards,
Apache Git Services

View raw message