Hi Shravan,
Are you able to identify which place exactly the dump is happening?
You can keep break point in source code line from dump analysis in ST22 and traverse back to exact custom code logic.
May be there is some sort of code which is executing based on authorization afterwards we may use same entity for further code.
Best Regards,
Dharmakasi.