Wsas 1727

Support Tomcat Virtual Hosts in WSO2 AS - WSAS-1727
You have to do a null check after acquiring an OSGi service from DataHolder