How to Create Any Design Using Dynamic Components Extension

I am getting “Attempt to invoke virtual method ‘java.lang.Class java.lang.Object.getClass()’ on a null object reference” error.
Searched forum and found

and understand what should I do, but I am checking my code and can not find error.
I am trying to copy this:


components:

blocks: