You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Beam JIRA Bot (Jira)" <ji...@apache.org> on 2022/03/23 16:59:00 UTC
[jira] [Updated] (BEAM-13943) [Playground] Error output indicates to the wrong line number
[ https://issues.apache.org/jira/browse/BEAM-13943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Beam JIRA Bot updated BEAM-13943:
---------------------------------
Labels: beam-playground-backend stale-assigned (was: beam-playground-backend)
> [Playground] Error output indicates to the wrong line number
> ------------------------------------------------------------
>
> Key: BEAM-13943
> URL: https://issues.apache.org/jira/browse/BEAM-13943
> Project: Beam
> Issue Type: Bug
> Components: beam-playground
> Reporter: Aydar Zaynutdinov
> Assignee: Daria Malkova
> Priority: P3
> Labels: beam-playground-backend, stale-assigned
>
> Run the following code via Playground:
>
> {code:java}
> import org.apache.beam.sdk.Pipeline;
> import org.apache.beam.sdk.PipelineResult;
> import org.apache.beam.sdk.io.TextIO;
> import org.apache.beam.sdk.options.PipelineOptions;
> import org.apache.beam.sdk.options.PipelineOptionsFactory;
> public class Class {
> public static void main(String[] args) {
> PipelineOptions options = PipelineOptionsFactory.create();
> Pipeline p = Pipeline.create(options);
> p.run().waitUntilFinish();
> int a = 1 / 0; // 13 line
> }
> }
> {code}
>
>
> {*}Expected result{*}:
> output contains next error:
> _error: exit status 1_
> _output: Exception in thread "main" java.lang.ArithmeticException: / by zero_
> _at Class.main(fa2f3143-01cd-439f-9b23-51f3647313d9.java:13)_
> {*}Actual result{*}:
> output contains next error:
> _error: exit status 1_
> _output: Exception in thread "main" java.lang.ArithmeticException: / by zero_
> _at Class.main(fa2f3143-01cd-439f-9b23-51f3647313d9.java:20)_
--
This message was sent by Atlassian Jira
(v8.20.1#820001)