You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2021/01/23 21:56:09 UTC

[GitHub] [beam] steveniemitz commented on pull request #13802: [BEAM-1474]. Adding MapState and SetState support for the Dataflow runner

steveniemitz commented on pull request #13802:
URL: https://github.com/apache/beam/pull/13802#issuecomment-766185749


   I tried using SetState, but get this:
   ```
   java.lang.NullPointerException
   	at org.apache.beam.runners.dataflow.worker.WindmillStateInternals$WindmillMap.getFuture(WindmillStateInternals.java:1533)
   	at org.apache.beam.runners.dataflow.worker.WindmillStateInternals$WindmillMap.access$2000(WindmillStateInternals.java:1175)
   	at org.apache.beam.runners.dataflow.worker.WindmillStateInternals$WindmillMap$4.readLater(WindmillStateInternals.java:1425)
   	at org.apache.beam.runners.dataflow.worker.WindmillStateInternals$WindmillMap$2.readLater(WindmillStateInternals.java:1339)
   	at org.apache.beam.runners.dataflow.worker.WindmillStateInternals$WindmillSet.readLater(WindmillStateInternals.java:1165)
   ```
   
   It looks like WindmillSet is missing an override on initializeForWorkItem to initialize the underlying windmillMap.


----------------------------------------------------------------
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:
users@infra.apache.org