You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by "Imesh Gunaratne (JIRA)" <ji...@apache.org> on 2014/02/04 18:38:11 UTC
[jira] [Assigned] (STRATOS-400) LB throws an Null pointer exception
when cep-stats-publisher set to false.
[ https://issues.apache.org/jira/browse/STRATOS-400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Imesh Gunaratne reassigned STRATOS-400:
---------------------------------------
Assignee: Imesh Gunaratne
> LB throws an Null pointer exception when cep-stats-publisher set to false.
> --------------------------------------------------------------------------
>
> Key: STRATOS-400
> URL: https://issues.apache.org/jira/browse/STRATOS-400
> Project: Stratos
> Issue Type: Bug
> Components: Load Balancer
> Affects Versions: 4.0.0 M6
> Reporter: Ramith Jayasinghe
> Assignee: Imesh Gunaratne
>
> This happens because,
> 1. LoadBalancerConfiguration.transform method doesn't read CEP IP configuration if cep-stats-publisher is set to false.
> 2. and afterwards in CEPConfigurator does following:
> System.setProperty("thrift.receiver.ip", configuration.getCepIp());
> - this throws a NPE.
> attached patch is a temporary fix to get things working for us quickly, therefore may not be the best solution.
>
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)