Attempt to invoke virtual method 'java.lang.Class java.lang.Object.getClass()' on a null object reference

Hi all,
today i stuck with a error while doing a large project

this is the error

(on companion)

i tried to find the error but couldn’t

These are my blocks

you can refer these important blocks i think those are creating this error)

I Think so error is with these blocks only

thanks in advance

error was
i made dynamic component using kodular dynamic components but called via extension