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
A clear and concise description of what the bug is.
Steps to reproduce
@Test
public void testEmpty() {
clock.reset();
final UnsortedClockFilter filter = new UnsortedClockFilter("Timestamp", clock, true);
final Table result = testInput3.where("false").where(filter);
final ControlledUpdateGraph updateGraph = ExecutionContext.getContext().getUpdateGraph().cast();
updateGraph.runWithinUnitTestCycle(() -> {
clock.run();
filter.run();
});
assertEquals(0, result.size());
}
Expected results
An empty table at the end of the run.
Actual results
java.lang.NullPointerException
at io.deephaven.engine.table.impl.select.UnsortedClockFilter.updateAndGetAddedIndex(UnsortedClockFilter.java:127)
at io.deephaven.engine.table.impl.select.ClockFilter.run(ClockFilter.java:125)
at io.deephaven.engine.table.impl.select.TestClockFilters.lambda$testEmpty$12(TestClockFilters.java:209)
at io.deephaven.engine.updategraph.impl.PeriodicUpdateGraph.runWithinUnitTestCycle(PeriodicUpdateGraph.java:636)
at io.deephaven.engine.updategraph.impl.PeriodicUpdateGraph.runWithinUnitTestCycle(PeriodicUpdateGraph.java:617)
at io.deephaven.engine.table.impl.select.TestClockFilters.testEmpty(TestClockFilters.java:207)
Additional details and attachments
If applicable, add any additional screenshots, logs, or other attachments to help explain your problem.
Description
A clear and concise description of what the bug is.
Steps to reproduce
Expected results
An empty table at the end of the run.
Actual results
Additional details and attachments
If applicable, add any additional screenshots, logs, or other attachments to help explain your problem.
Versions
The text was updated successfully, but these errors were encountered: