Hi all,

Hi this is issue came up with https://wso2.org/jira/browse/ESBJAVA-3364.

When statistics are enabled and persistence is enabled every time ESB tried
to send statistics to Carbon Registry following error comes up. I came
across many Jiras with the similar issues. Is this a problem with carbon
configuration? An y help will be useful.

[2015-07-26 21:10:16,304] ERROR - MediationStatisticsObserver Error while
accessing the registry for statistics persistence
java.lang.NullPointerException: Tenant domain has not been set in
CarbonContext
at
org.wso2.carbon.caching.impl.CacheManagerFactoryImpl.getCacheManager(CacheManagerFactoryImpl.java:79)
at
org.wso2.carbon.registry.core.utils.RegistryUtils.getCacheManager(RegistryUtils.java:324)
at
org.wso2.carbon.registry.core.utils.RegistryUtils.getResourcePathCache(RegistryUtils.java:307)
at
org.wso2.carbon.registry.core.caching.PathCache.getCache(PathCache.java:35)
at
org.wso2.carbon.registry.core.jdbc.dao.JDBCPathCache.getPathID(JDBCPathCache.java:298)
at
org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.getResourceID(JDBCResourceDAO.java:67)
at
org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.resourceExists(JDBCResourceDAO.java:151)
at
org.wso2.carbon.registry.core.jdbc.Repository.resourceExists(Repository.java:134)
at
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistry.put(EmbeddedRegistry.java:688)
at
org.wso2.carbon.registry.core.caching.CacheBackedRegistry.put(CacheBackedRegistry.java:508)
at
org.wso2.carbon.registry.core.session.UserRegistry.putInternal(UserRegistry.java:824)
at
org.wso2.carbon.registry.core.session.UserRegistry.access$1000(UserRegistry.java:60)
at
org.wso2.carbon.registry.core.session.UserRegistry$11.run(UserRegistry.java:800)
at
org.wso2.carbon.registry.core.session.UserRegistry$11.run(UserRegistry.java:797)
at java.security.AccessController.doPrivileged(Native Method)
at
org.wso2.carbon.registry.core.session.UserRegistry.put(UserRegistry.java:797)
at
org.wso2.carbon.mediation.statistics.persistence.PersistingStatisticsObserver.persistRecord(PersistingStatisticsObserver.java:113)
at
org.wso2.carbon.mediation.statistics.persistence.PersistingStatisticsObserver.access$400(PersistingStatisticsObserver.java:41)
at
org.wso2.carbon.mediation.statistics.persistence.PersistingStatisticsObserver$RegistryWriter.run(PersistingStatisticsObserver.java:158)

Thank you,

-- 
Viraj Senevirathne
Software Engineer; WSO2, Inc.

Mobile : +94 71 818 4742 <%2B94%20%280%29%20773%20451194>
Email : [email protected] <[email protected]>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to