[
https://issues.apache.org/jira/browse/BEAM-13943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17511371#comment-17511371
]
Beam JIRA Bot commented on BEAM-13943:
--------------------------------------
This issue is assigned but has not received an update in 30 days so it has been
labeled "stale-assigned". If you are still working on the issue, please give an
update and remove the label. If you are no longer working on the issue, please
unassign so someone else may work on it. In 7 days the issue will be
automatically unassigned.
> [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)