You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/01/02 22:01:01 UTC
[jira] [Commented] (MINIFI-180) Duplicate Variable causes
MINIFI_HOME to be NULL if ENV variable is not present
[ https://issues.apache.org/jira/browse/MINIFI-180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15793575#comment-15793575 ]
ASF GitHub Bot commented on MINIFI-180:
---------------------------------------
GitHub user jdye64 opened a pull request:
https://github.com/apache/nifi-minifi-cpp/pull/36
MINIFI-180
Duplicate Variable causes MINIFI_HOME to be NULL if ENV variable is not
present
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jdye64/nifi-minifi-cpp MINIFI-180
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nifi-minifi-cpp/pull/36.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #36
----
commit 6c3a0cd99da0c813312a97d56031a8cf05a56f67
Author: Jeremy Dyer <jd...@gmail.com>
Date: 2017-01-02T22:00:31Z
MINIFI-180
Duplicate Variable causes MINIFI_HOME to be NULL if ENV variable is not
present
----
> 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: 0.1.0
> Reporter: Jeremy Dyer
> Assignee: Jeremy Dyer
> Fix For: 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)