Ramith Jayasinghe created STRATOS-400:
-----------------------------------------
Summary: 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
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)