Seems like your catalog xml is not being picked up.
Can you open your definitionFile at /atg/commerce/catalog/ProductCatalog in dyn/admin and see if your changes are present in that xml.
If not then you might have to see which all locations the xml is getting appended from and might have to add your path in the config path.
I couldnt find ProductCatalog.xml through dyn/admin, I tried making changes to /atg/commerce/catalog/custom/customCatalog.xml and all the changes are being reflected, now when i am querying i am getting NullPointerException for the below line of code:
RepositoryView rview = repository.getView("product");
Why are you not finding productCatalog.xml file??
-->Make sure server starts up with productCatalog repository without any errors.
-->Go to atg/commerce/catalog/ProductCatalog in dyn/admin. GO to property definitionFiles and click on it to view xml. Verify if your changes are present or not ( Make sure blacklisted property is present).
--> Click on view service configuration link at the top and verify all the modules from which productCatalog.xml is combined and verify that your module is present and your xml file from custom module is being picked up.
Getting the following warning on server StartUp:
[ProductCatalog]The GSACacheClientManager is not enabled. Service: /atg/dynamo/service/GSACacheClientManager
[ProductCatalog] The GSAInvalidatorService is not enabled for jms cache invalidation events. Service: /atg/dynamo/service/GSAInvalidatorService
In definitionFiles, I am able to see only 2 xml files: One is atg/commerce/catalog/custom/customCatalog.xml and the other being atg/commerce/pricing/pricingModels.xml. I am not able to see the productCatalog.xml files and there is no error on server startup.
That means your customCatalog.xml has not been picked up and hence that property is not found in repository.
First confirm that your module is present in the server start up logs where it initially prints all the modules. Then verify that your xml file is in the same path as OOTB.