Problem with cvx_end

Hello all
At the last end of my cvx optimization problem, cvx_end I mean, an error happens
where these10 is my main code.
I checked the cvx_end .m file and there the error occurs at line 269 as below

Could anyone help me?

This is probably a bug or a screwed up MATLAN session or installation. What is the output of cvx_version ? Use CVX 2.2., do not use CVX 3.0beta, which is riddled with bugs.

Things you can try.

Different solver

Try it in a mew MATLAB session

Reinstall CVX 2.2 in a new MATLAB session