You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Thomas Groh (JIRA)" <ji...@apache.org> on 2017/04/14 18:14:41 UTC
[jira] [Resolved] (BEAM-1977) PubsubIO fails with NPE on ACK when
running locally
[ https://issues.apache.org/jira/browse/BEAM-1977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Groh resolved BEAM-1977.
-------------------------------
Resolution: Fixed
Assignee: Thomas Groh (was: Davor Bonaci)
Fix Version/s: First stable release
> PubsubIO fails with NPE on ACK when running locally
> ---------------------------------------------------
>
> Key: BEAM-1977
> URL: https://issues.apache.org/jira/browse/BEAM-1977
> Project: Beam
> Issue Type: Bug
> Components: sdk-java-core
> Affects Versions: 0.6.0
> Reporter: Keith Berkoben
> Assignee: Thomas Groh
> Fix For: First stable release
>
>
> When running a PubsubIO-fed pipeline on a local machine, the pipeline runs for 10sec and then fails with a NPE (I'd guess when trying to ACK messages?).
> Logs confirm I am successfully reading messages and writing them out to pubsubIO, at least for a while.
> Stack trace:
> Exception in thread "main" java.lang.NullPointerException
> at org.apache.beam.sdk.io.PubsubUnboundedSource$PubsubReader.ackBatch(PubsubUnboundedSource.java:640)
> at org.apache.beam.sdk.io.PubsubUnboundedSource$PubsubCheckpoint.finalizeCheckpoint(PubsubUnboundedSource.java:313)
> at org.apache.beam.runners.direct.UnboundedReadEvaluatorFactory$UnboundedReadEvaluator.getReader(UnboundedReadEvaluatorFactory.java:174)
> at org.apache.beam.runners.direct.UnboundedReadEvaluatorFactory$UnboundedReadEvaluator.processElement(UnboundedReadEvaluatorFactory.java:127)
> at org.apache.beam.runners.direct.TransformExecutor.processElements(TransformExecutor.java:139)
> at org.apache.beam.runners.direct.TransformExecutor.run(TransformExecutor.java:107)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)