Chesnay Schepler created FLINK-4845:
---------------------------------------

             Summary: Fix Job Exceptions page
                 Key: FLINK-4845
                 URL: https://issues.apache.org/jira/browse/FLINK-4845
             Project: Flink
          Issue Type: Bug
          Components: Webfrontend
    Affects Versions: 1.2.0
            Reporter: Chesnay Schepler
             Fix For: 1.2.0


The job exceptions page in the WebFrontend is currently broken, displaying 
(null) for every task even if no exception has occurred.

The JobExceptionsHandlers checks whether an exception has occurred, and thus 
displayed, by checking whether the rootException is null. This worked until 
recently since we worked directly on Throwables, this was jhowever changed to 
stringified version of the exceptions. This had the side-effect that the 
exception is now never null, but "(null)", leading the handler to believe that 
an exception has occurred.

The checks should be changed to {code}!exception.equals("(null)"){code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to