java.lang.IllegalStateException

This stub is not part of an iteration step function.

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web22305

  • via flink-user by Maximilian Alber, 9 months ago
    This stub is not part of an iteration step function.
  • via flink-user by Aljoscha Krettek, 9 months ago
    This stub is not part of an iteration step function.
  • via flink-user by Aljoscha Krettek, 9 months ago
    This stub is not part of an iteration step function.
  • Stack trace

    • java.lang.IllegalStateException: This stub is not part of an iteration step function. at org.apache.flink.api.common.functions.AbstractRichFunction.getIterationRuntimeContext(AbstractRichFunction.java:59) at bumpboost.BumpBoost$$anonfun$8$$anon$1.filter(BumpBoost.scala:40) at bumpboost.BumpBoost$$anonfun$8$$anon$1.filter(BumpBoost.scala:39) at org.apache.flink.api.java.operators.translation.PlanFilterOperator$FlatMapFilter.flatMap(PlanFilterOperator.java:47) at org.apache.flink.runtime.operators.chaining.ChainedFlatMapDriver.collect(ChainedFlatMapDriver.java:79) at org.apache.flink.runtime.operators.chaining.ChainedMapDriver.collect(ChainedMapDriver.java:78) at org.apache.flink.api.scala.UnfinishedJoinOperation$$anon$5.join(joinDataSet.scala:184) at org.apache.flink.runtime.operators.hash.BuildFirstHashMatchIterator.callWithNextKey(BuildFirstHashMatchIterator.java:140) at org.apache.flink.runtime.operators.MatchDriver.run(MatchDriver.java:148) at org.apache.flink.runtime.operators.RegularPactTask.run(RegularPactTask.java:484) at org.apache.flink.runtime.operators.RegularPactTask.invoke(RegularPactTask.java:359) at org.apache.flink.runtime.execution.RuntimeEnvironment.run(RuntimeEnvironment.java:235) at java.lang.Thread.run(Thread.java:745)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.