Github user anuruddhal commented on a diff in the pull request:
https://github.com/apache/stratos/pull/298#discussion_r29824484
--- Diff:
components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/api/StratosApiV41Utils.java
---
@@ -2969,7 +2983,7 @@ public static void
updateExistingTenant(org.apache.stratos.common.beans.TenantIn
try {
bean = ObjectConverter
.convertCarbonTenantInfoBeanToTenantInfoBean(TenantMgtUtil.initializeTenantInfoBean(tenantId,
tenant));
- } catch (NullPointerException e) {
+ } catch (Exception e) {
log.error(String.format("Couldn't find tenant for provided
tenant domain. [Tenant Domain] %s", tenantDomain));
--- End diff --
Fixed with commit 881329fcb5d0f1d11c08923430020fac333aab9b
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---