[ 
https://issues.apache.org/jira/browse/BEAM-13943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17514849#comment-17514849
 ] 

Beam JIRA Bot commented on BEAM-13943:
--------------------------------------

This issue was marked "stale-assigned" and has not received a public comment in 
7 days. It is now automatically unassigned. If you are still working on it, you 
can assign it to yourself again. Please also give an update about the status of 
the work.

> [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
>            Priority: P3
>              Labels: beam-playground-backend
>
> 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)

Reply via email to