KRACOEUS-7250_1

-Updated code to fix exception 
How does this fix the stack trace about the view Id being unknown?