the coprocessor call will be invoked during coprocessor start up time, but it is not happening. This is resulting in CoprocessorEnvironment env value as null. There is no error in hbase coprocessor log and the co processor is loaded successfully.
This issue has been faced in 2.x version of hbase. In 1.1.2 it was working fine.