[jira] [Created] (FLINK-11373) CliFrontend cuts off reason for error messages

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-11373) CliFrontend cuts off reason for error messages

Shang Yuanchun (Jira)
Maximilian Michels created FLINK-11373:
------------------------------------------

             Summary: CliFrontend cuts off reason for error messages
                 Key: FLINK-11373
                 URL: https://issues.apache.org/jira/browse/FLINK-11373
             Project: Flink
          Issue Type: Bug
          Components: Startup Shell Scripts
    Affects Versions: 1.7.1, 1.6.3, 1.5.6
            Reporter: Maximilian Michels


The CliFrontend seems to only print the first message in the strace trace and not any of its causes.

{noformat}
bin/flink run /non-existing/path
Could not build the program from JAR file.

Use the help option (-h or --help) to get help on the command.
{noformat}

Notice, the underlying cause of this message is FileNotFoundException.

Consider changing
a) the error message for this particular case
b) the way the stack trace messages are trimmed



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)