Hello Thushar,
Please use 'Start Prototyper with application class' to start the tests in Prototyper mode.
According to the described error, you want to 'Add' a view which was not created. Please check within th callstack why 'null' was passed to the parameter 'aView'.
With kind regards,
Rudolf