Config_db set/get is not working properly

In reply to sivasyammj:

You need to be using ‘this’ inside your environment. The only time you would use ‘null’ is when you are outside of the UVM environment, such as you HDL testbench.

Also, you need to ensure all set() calls are done prior to any create() calls. You are calling create() for your environment before you set() the configknobs.