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

Dian Fu commented on FLINK-27032:
---------------------------------

[~mapohl] It should have been fixed in release-1.15. Could you rebase the code 
and try again? I'm closing this ticket for now~

> PyFlink end-to-end test failed due to str object not having expected 
> attribute _j_expr
> --------------------------------------------------------------------------------------
>
>                 Key: FLINK-27032
>                 URL: https://issues.apache.org/jira/browse/FLINK-27032
>             Project: Flink
>          Issue Type: Bug
>          Components: API / Python
>    Affects Versions: 1.15.0
>            Reporter: Matthias Pohl
>            Priority: Critical
>              Labels: test-stability
>             Fix For: 1.15.0
>
>
> The PyFlink e2e test failed in [this 
> build|https://dev.azure.com/mapohl/flink/_build/results?buildId=926&view=logs&j=0e31ee24-31a6-528c-a4bf-45cde9b2a14e&t=ff03a8fa-e84e-5199-efb2-5433077ce8e2&l=7124]:
> {code:java}
> Apr 01 21:35:58 AttributeError: 'str' object has no attribute '_j_expr'
> org.apache.flink.client.program.ProgramAbortException: 
> java.lang.RuntimeException: Python process exits with code: 1
>       at 
> org.apache.flink.client.python.PythonDriver.main(PythonDriver.java:140)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>       at java.lang.reflect.Method.invoke(Method.java:498)
>       at 
> org.apache.flink.client.program.PackagedProgram.callMainMethod(PackagedProgram.java:355)
>       at 
> org.apache.flink.client.program.PackagedProgram.invokeInteractiveModeForExecution(PackagedProgram.java:222)
>       at 
> org.apache.flink.client.ClientUtils.executeProgram(ClientUtils.java:114)
>       at 
> org.apache.flink.client.cli.CliFrontend.executeProgram(CliFrontend.java:836)
>       at org.apache.flink.client.cli.CliFrontend.run(CliFrontend.java:247)
>       at 
> org.apache.flink.client.cli.CliFrontend.parseAndRun(CliFrontend.java:1078)
>       at 
> org.apache.flink.client.cli.CliFrontend.lambda$main$10(CliFrontend.java:1156)
>       at 
> org.apache.flink.runtime.security.contexts.NoOpSecurityContext.runSecured(NoOpSecurityContext.java:28)
>       at org.apache.flink.client.cli.CliFrontend.main(CliFrontend.java:1156)
> Caused by: java.lang.RuntimeException: Python process exits with code: 1
>       at 
> org.apache.flink.client.python.PythonDriver.main(PythonDriver.java:130)
>       ... 13 more {code}
> Also multiple tests in the Python module failed due to the same error.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to