Jiang Xin created FLINK-30014: --------------------------------- Summary: Fix the NPE from aggregate util Key: FLINK-30014 URL: https://issues.apache.org/jira/browse/FLINK-30014 Project: Flink Issue Type: Bug Components: Library / Machine Learning Reporter: Jiang Xin Fix For: ml-2.2.0
The following exception is thrown in Flink ML CI step. ``` [INFO] Running org.apache.flink.ml.feature.CountVectorizerTest [435|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:436]Error: Tests run: 12, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 6.419 s <<< FAILURE! - in org.apache.flink.ml.feature.CountVectorizerTest [436|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:437]Error: testFitAndPredict Time elapsed: 0.66 s <<< ERROR! [437|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:438]java.lang.RuntimeException: Failed to fetch next result [438|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:439] at org.apache.flink.streaming.api.operators.collect.CollectResultIterator.nextResultFromFetcher(CollectResultIterator.java:109) [439|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:440] at org.apache.flink.streaming.api.operators.collect.CollectResultIterator.hasNext(CollectResultIterator.java:80) [440|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:441] at org.apache.commons.collections.IteratorUtils.toList(IteratorUtils.java:848) [441|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:442] at org.apache.commons.collections.IteratorUtils.toList(IteratorUtils.java:825) [442|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:443] at org.apache.flink.ml.feature.CountVectorizerTest.verifyPredictionResult(CountVectorizerTest.java:120) [443|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:444] at org.apache.flink.ml.feature.CountVectorizerTest.testFitAndPredict(CountVectorizerTest.java:208) [444|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:445] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [445|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:446] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [446|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:447] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [447|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:448] at java.lang.reflect.Method.invoke(Method.java:498) [448|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:449] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) [449|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:450] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) [450|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:451] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) [451|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:452] at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) [452|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:453] at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) [453|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:454] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) [454|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:455] at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54) [455|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:456] at org.apache.flink.util.TestNameProvider$1.evaluate(TestNameProvider.java:45) [456|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:457] at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:61) [457|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:458] at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) [458|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:459] at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) [459|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:460] at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) [460|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:461] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) [461|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:462] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) [462|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:463] at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) [463|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:464] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) [464|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:465] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) [465|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:466] at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) [466|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:467] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) [467|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:468] at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54) [468|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:469] at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54) [469|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:470] at org.junit.rules.RunRules.evaluate(RunRules.java:20) [470|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:471] at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) [471|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:472] at org.junit.runners.ParentRunner.run(ParentRunner.java:413) [472|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:473] at org.junit.runner.JUnitCore.run(JUnitCore.java:137) [473|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:474] at org.junit.runner.JUnitCore.run(JUnitCore.java:115) [474|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:475] at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:42) [475|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:476] at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:80) [476|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:477] at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:72) [477|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:478] at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:220) [478|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:479] at org.junit.platform.launcher.core.DefaultLauncher.lambda$execute$6(DefaultLauncher.java:188) [479|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:480] at org.junit.platform.launcher.core.DefaultLauncher.withInterceptedStreams(DefaultLauncher.java:202) [480|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:481] at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:181) [481|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:482] at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:128) [482|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:483] at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:142) [483|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:484] at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:109) [484|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:485] at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384) [485|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:486] at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345) [486|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:487] at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126) [487|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:488] at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418) [488|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:489]Caused by: java.io.IOException: Failed to fetch job execution result [489|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:490] at org.apache.flink.streaming.api.operators.collect.CollectResultFetcher.getAccumulatorResults(CollectResultFetcher.java:184) [490|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:491] at org.apache.flink.streaming.api.operators.collect.CollectResultFetcher.next(CollectResultFetcher.java:121) [491|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:492] at org.apache.flink.streaming.api.operators.collect.CollectResultIterator.nextResultFromFetcher(CollectResultIterator.java:106) [492|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:493] ... 49 more [493|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:494]Caused by: java.util.concurrent.ExecutionException: org.apache.flink.runtime.client.JobExecutionException: Job execution failed. [494|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:495] at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:357) [495|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:496] at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1928) [496|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:497] at org.apache.flink.streaming.api.operators.collect.CollectResultFetcher.getAccumulatorResults(CollectResultFetcher.java:182) [497|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:498] ... 51 more [498|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:499]Caused by: org.apache.flink.runtime.client.JobExecutionException: Job execution failed. [499|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:500] at org.apache.flink.runtime.jobmaster.JobResult.toJobExecutionResult(JobResult.java:144) [500|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:501] at org.apache.flink.runtime.minicluster.MiniClusterJobClient.lambda$getJobExecutionResult$3(MiniClusterJobClient.java:141) [501|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:502] at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:616) [502|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:503] at java.util.concurrent.CompletableFuture.uniApplyStage(CompletableFuture.java:628) [503|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:504] at java.util.concurrent.CompletableFuture.thenApply(CompletableFuture.java:1996) [504|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:505] at org.apache.flink.runtime.minicluster.MiniClusterJobClient.getJobExecutionResult(MiniClusterJobClient.java:138) [505|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:506] at org.apache.flink.streaming.api.operators.collect.CollectResultFetcher.getAccumulatorResults(CollectResultFetcher.java:181) [506|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:507] ... 51 more [507|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:508]Caused by: org.apache.flink.runtime.JobException: Recovery is suppressed by NoRestartBackoffTimeStrategy [508|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:509] at org.apache.flink.runtime.executiongraph.failover.flip1.ExecutionFailureHandler.handleFailure(ExecutionFailureHandler.java:138) [509|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:510] at org.apache.flink.runtime.executiongraph.failover.flip1.ExecutionFailureHandler.getFailureHandlingResult(ExecutionFailureHandler.java:82) [510|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:511] at org.apache.flink.runtime.scheduler.DefaultScheduler.handleTaskFailure(DefaultScheduler.java:301) [511|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:512] at org.apache.flink.runtime.scheduler.DefaultScheduler.maybeHandleTaskFailure(DefaultScheduler.java:291) [512|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:513] at org.apache.flink.runtime.scheduler.DefaultScheduler.updateTaskExecutionStateInternal(DefaultScheduler.java:282) [513|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:514] at org.apache.flink.runtime.scheduler.SchedulerBase.updateTaskExecutionState(SchedulerBase.java:739) [514|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:515] at org.apache.flink.runtime.scheduler.SchedulerNG.updateTaskExecutionState(SchedulerNG.java:78) [515|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:516] at org.apache.flink.runtime.jobmaster.JobMaster.updateTaskExecutionState(JobMaster.java:443) [516|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:517] at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source) [517|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:518] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [518|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:519] at java.lang.reflect.Method.invoke(Method.java:498) [519|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:520] at org.apache.flink.runtime.rpc.akka.AkkaRpcActor.lambda$handleRpcInvocation$1(AkkaRpcActor.java:304) [520|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:521] at org.apache.flink.runtime.concurrent.akka.ClassLoadingUtils.runWithContextClassLoader(ClassLoadingUtils.java:83) [521|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:522] at org.apache.flink.runtime.rpc.akka.AkkaRpcActor.handleRpcInvocation(AkkaRpcActor.java:302) [522|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:523] at org.apache.flink.runtime.rpc.akka.AkkaRpcActor.handleRpcMessage(AkkaRpcActor.java:217) [523|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:524] at org.apache.flink.runtime.rpc.akka.FencedAkkaRpcActor.handleRpcMessage(FencedAkkaRpcActor.java:78) [524|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:525] at org.apache.flink.runtime.rpc.akka.AkkaRpcActor.handleMessage(AkkaRpcActor.java:163) [525|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:526] at akka.japi.pf.UnitCaseStatement.apply(CaseStatements.scala:24) [526|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:527] at akka.japi.pf.UnitCaseStatement.apply(CaseStatements.scala:20) [527|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:528] at scala.PartialFunction.applyOrElse(PartialFunction.scala:123) [528|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:529] at scala.PartialFunction.applyOrElse$(PartialFunction.scala:122) [529|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:530] at akka.japi.pf.UnitCaseStatement.applyOrElse(CaseStatements.scala:20) [530|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:531] at scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:171) [531|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:532] at scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:172) [532|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:533] at scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:172) [533|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:534] at akka.actor.Actor.aroundReceive(Actor.scala:537) [534|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:535] at akka.actor.Actor.aroundReceive$(Actor.scala:535) [535|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:536] at akka.actor.AbstractActor.aroundReceive(AbstractActor.scala:220) [536|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:537] at akka.actor.ActorCell.receiveMessage(ActorCell.scala:580) [537|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:538] at akka.actor.ActorCell.invoke(ActorCell.scala:548) [538|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:539] at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:270) [539|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:540] at akka.dispatch.Mailbox.run(Mailbox.scala:231) [540|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:541] at akka.dispatch.Mailbox.exec(Mailbox.scala:243) [541|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:542] at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) [542|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:543] at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) [543|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:544] at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692) [544|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:545] at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:175) [545|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:546]Caused by: java.io.IOException: Could not perform checkpoint 1 for operator aggregate -> *anonymous_datastream_source$658*[743] -> TableToDataSteam (1/1)#0. [546|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:547] at org.apache.flink.streaming.runtime.tasks.StreamTask.triggerCheckpointOnBarrier(StreamTask.java:1210) [547|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:548] at org.apache.flink.streaming.runtime.io.checkpointing.CheckpointBarrierHandler.notifyCheckpoint(CheckpointBarrierHandler.java:147) [548|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:549] at org.apache.flink.streaming.runtime.io.checkpointing.SingleCheckpointBarrierHandler.triggerCheckpoint(SingleCheckpointBarrierHandler.java:287) [549|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:550] at org.apache.flink.streaming.runtime.io.checkpointing.SingleCheckpointBarrierHandler.access$100(SingleCheckpointBarrierHandler.java:64) [550|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:551] at org.apache.flink.streaming.runtime.io.checkpointing.SingleCheckpointBarrierHandler$ControllerImpl.triggerGlobalCheckpoint(SingleCheckpointBarrierHandler.java:493) [551|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:552] at org.apache.flink.streaming.runtime.io.checkpointing.AbstractAlignedBarrierHandlerState.triggerGlobalCheckpoint(AbstractAlignedBarrierHandlerState.java:74) [552|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:553] at org.apache.flink.streaming.runtime.io.checkpointing.AbstractAlignedBarrierHandlerState.barrierReceived(AbstractAlignedBarrierHandlerState.java:66) [553|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:554] at org.apache.flink.streaming.runtime.io.checkpointing.SingleCheckpointBarrierHandler.lambda$processBarrier$2(SingleCheckpointBarrierHandler.java:234) [554|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:555] at org.apache.flink.streaming.runtime.io.checkpointing.SingleCheckpointBarrierHandler.markCheckpointAlignedAndTransformState(SingleCheckpointBarrierHandler.java:262) [555|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:556] at org.apache.flink.streaming.runtime.io.checkpointing.SingleCheckpointBarrierHandler.processBarrier(SingleCheckpointBarrierHandler.java:231) [556|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:557] at org.apache.flink.streaming.runtime.io.checkpointing.CheckpointedInputGate.handleEvent(CheckpointedInputGate.java:181) [557|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:558] at org.apache.flink.streaming.runtime.io.checkpointing.CheckpointedInputGate.pollNext(CheckpointedInputGate.java:159) [558|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:559] at org.apache.flink.streaming.runtime.io.AbstractStreamTaskNetworkInput.emitNext(AbstractStreamTaskNetworkInput.java:110) [559|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:560] at org.apache.flink.streaming.runtime.io.StreamOneInputProcessor.processInput(StreamOneInputProcessor.java:65) [560|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:561] at org.apache.flink.streaming.runtime.tasks.StreamTask.processInput(StreamTask.java:519) [561|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:562] at org.apache.flink.streaming.runtime.tasks.mailbox.MailboxProcessor.runMailboxLoop(MailboxProcessor.java:203) [562|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:563] at org.apache.flink.streaming.runtime.tasks.StreamTask.runMailboxLoop(StreamTask.java:804) [563|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:564] at org.apache.flink.streaming.runtime.tasks.StreamTask.invoke(StreamTask.java:753) [564|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:565] at org.apache.flink.runtime.taskmanager.Task.runWithSystemExitMonitoring(Task.java:948) [565|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:566] at org.apache.flink.runtime.taskmanager.Task.restoreAndInvoke(Task.java:927) [566|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:567] at org.apache.flink.runtime.taskmanager.Task.doRun(Task.java:741) [567|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:568] at org.apache.flink.runtime.taskmanager.Task.run(Task.java:563) [568|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:569] at java.lang.Thread.run(Thread.java:750) [569|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:570]Caused by: org.apache.flink.runtime.checkpoint.CheckpointException: Could not complete snapshot 1 for operator aggregate -> *anonymous_datastream_source$658*[743] -> TableToDataSteam (1/1)#0. Failure reason: Checkpoint was declined. [570|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:571] at org.apache.flink.streaming.api.operators.StreamOperatorStateHandler.snapshotState(StreamOperatorStateHandler.java:269) [571|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:572] at org.apache.flink.streaming.api.operators.StreamOperatorStateHandler.snapshotState(StreamOperatorStateHandler.java:173) [572|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:573] at org.apache.flink.streaming.api.operators.AbstractStreamOperator.snapshotState(AbstractStreamOperator.java:348) [573|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:574] at org.apache.flink.streaming.runtime.tasks.RegularOperatorChain.checkpointStreamOperator(RegularOperatorChain.java:227) [574|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:575] at org.apache.flink.streaming.runtime.tasks.RegularOperatorChain.buildOperatorSnapshotFutures(RegularOperatorChain.java:212) [575|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:576] at org.apache.flink.streaming.runtime.tasks.RegularOperatorChain.snapshotState(RegularOperatorChain.java:192) [576|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:577] at org.apache.flink.streaming.runtime.tasks.SubtaskCheckpointCoordinatorImpl.takeSnapshotSync(SubtaskCheckpointCoordinatorImpl.java:647) [577|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:578] at org.apache.flink.streaming.runtime.tasks.SubtaskCheckpointCoordinatorImpl.checkpointState(SubtaskCheckpointCoordinatorImpl.java:320) [578|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:579] at org.apache.flink.streaming.runtime.tasks.StreamTask.lambda$performCheckpoint$12(StreamTask.java:1253) [579|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:580] at org.apache.flink.streaming.runtime.tasks.StreamTaskActionExecutor$1.runThrowing(StreamTaskActionExecutor.java:50) [580|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:581] at org.apache.flink.streaming.runtime.tasks.StreamTask.performCheckpoint(StreamTask.java:1241) [581|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:582] at org.apache.flink.streaming.runtime.tasks.StreamTask.triggerCheckpointOnBarrier(StreamTask.java:1198) [582|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:583] ... 22 more [583|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:584]Caused by: java.lang.NullPointerException: You cannot add null to a ListState. [584|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:585] at org.apache.flink.util.Preconditions.checkNotNull(Preconditions.java:76) [585|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:586] at org.apache.flink.runtime.state.PartitionableListState.add(PartitionableListState.java:94) [586|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:587] at org.apache.flink.ml.common.datastream.DataStreamUtils$AggregateOperator.snapshotState(DataStreamUtils.java:463) [587|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:588] at org.apache.flink.streaming.api.operators.StreamOperatorStateHandler.snapshotState(StreamOperatorStateHandler.java:222) [588|https://github.com/apache/flink-ml/actions/runs/3459311341/jobs/5774576369#step:4:589] ... 33 more ``` -- This message was sent by Atlassian Jira (v8.20.10#820010)