Sergey Nuyanzin created FLINK-38019:
---------------------------------------
Summary: TestValuesModelFactory$AsyncValuesPredictFunction fails
with NPE
Key: FLINK-38019
URL: https://issues.apache.org/jira/browse/FLINK-38019
Project: Flink
Issue Type: Bug
Components: Build System / CI, Table SQL / Planner, Tests
Reporter: Sergey Nuyanzin
example
{noformat}
Jun 26 13:29:23 error: java.lang.AssertionError:
Jun 26 13:29:23 Expecting actual throwable to be an instance of:
Jun 26 13:29:23 java.util.concurrent.TimeoutException
Jun 26 13:29:23 but was:
Jun 26 13:29:23 java.lang.NullPointerException
Jun 26 13:29:23 at
org.apache.flink.util.Preconditions.checkNotNull(Preconditions.java:59)
Jun 26 13:29:23 at
org.apache.flink.table.planner.factories.TestValuesModelFactory$AsyncValuesPredictFunction.lambda$asyncPredict$0(TestValuesModelFactory.java:246)
Jun 26 13:29:23 at
java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
Jun 26 13:29:23 ...(3 remaining lines not displayed - this can be
changed with Assertions.setMaxStackTraceElementsDisplayed)
Jun 26 13:29:23 at
org.apache.flink.core.testutils.FlinkAssertions.lambda$anyCauseMatches$0(FlinkAssertions.java:70)
Jun 26 13:29:23 at
org.apache.flink.core.testutils.FlinkAssertions.lambda$anyCauseMatches$1(FlinkAssertions.java:67)
Jun 26 13:29:23 at
org.apache.flink.table.planner.runtime.stream.table.AsyncMLPredictITCase.testAsyncPredictWithRuntimeConfig(AsyncMLPredictITCase.java:214)
Jun 26 13:29:23 ...(99 remaining lines not displayed - this can be
changed with Assertions.setMaxStackTraceElementsDisplayed)
{noformat}
https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=68506&view=logs&j=0c940707-2659-5648-cbe6-a1ad63045f0a&t=019d96ac-af5c-5c6d-106d-b67f63cc6e96&l=12958
--
This message was sent by Atlassian Jira
(v8.20.10#820010)