[
https://issues.apache.org/jira/browse/MINIFI-180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15821207#comment-15821207
]
ASF GitHub Bot commented on MINIFI-180:
---------------------------------------
Github user apiri commented on the issue:
https://github.com/apache/nifi-minifi-cpp/pull/36
reviewing
> Duplicate Variable causes MINIFI_HOME to be NULL if ENV variable is not
> present
> -------------------------------------------------------------------------------
>
> Key: MINIFI-180
> URL: https://issues.apache.org/jira/browse/MINIFI-180
> Project: Apache NiFi MiNiFi
> Issue Type: Bug
> Components: C++
> Affects Versions: cpp-0.1.0
> Reporter: Jeremy Dyer
> Assignee: Jeremy Dyer
> Fix For: cpp-0.2.0
>
>
> If the MiNiFi-CPP binary is invoked without the MINIFI_HOME ENV variable
> being present on the system there is a condition where a duplicate
> std::string with the same name is declared and causes the resulting value of
> MINIFI_HOME to always be NULL. This subsequently causes MiNiFi to seg fault
> and not startup since no configuration files can be found.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)