[
https://issues.apache.org/jira/browse/STRATOS-400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13890935#comment-13890935
]
Imesh Gunaratne edited comment on STRATOS-400 at 2/4/14 9:48 PM:
-----------------------------------------------------------------
Thanks for reporting this Ramith! I have now fixed this issue in git:master.
Commit revision: 4892f65434f9df3d1d66ed54d6ceaf9defadc874
was (Author: imesh):
Thanks for reporting this Ramith! I have now fixed this issue in git:master.
> 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)