[ https://issues.apache.org/jira/browse/MINIFICPP-267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Christianson updated MINIFICPP-267: ------------------------------------------ Description: When launching minifi cmd direcly without setting MINIFI_HOME, minifi tries to infer MINIFI_HOME based on the exe path. This crashes the minifi (CentOS 7.4). {code} [main] [info] MINIFI_HOME was not found, determining based on executable path. terminate called after throwing an instance of 'std::logic_error' what(): basic_string::_S_construct null not valid Aborted (core dumped) {code} was: When launching minifi cmd direcly without setting MINIFI_HOME, minifi tries to infer MINIFI_HOME based on the exe path. This crashes the minifi (CentOS 7.4). ``` [main] [info] MINIFI_HOME was not found, determining based on executable path. terminate called after throwing an instance of 'std::logic_error' what(): basic_string::_S_construct null not valid Aborted (core dumped) ``` > MiNiFiMain crashes and fails to infer MINIFI_HOME if MINIFI_HOME not set > ------------------------------------------------------------------------ > > Key: MINIFICPP-267 > URL: https://issues.apache.org/jira/browse/MINIFICPP-267 > Project: NiFi MiNiFi C++ > Issue Type: Bug > Reporter: Andrew Christianson > Assignee: Andrew Christianson > Priority: Minor > > When launching minifi cmd direcly without setting MINIFI_HOME, minifi tries > to infer MINIFI_HOME based on the exe path. This crashes the minifi (CentOS > 7.4). > {code} > [main] [info] MINIFI_HOME was not found, determining based on executable path. > terminate called after throwing an instance of 'std::logic_error' > what(): basic_string::_S_construct null not valid > Aborted (core dumped) > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)