Bug when doing matrix multiplication in opencv

I was trying to implement an gaussian 5*5 kernel by using <1,2,4,2,1> multiply by its transpose.
and it throws a weird bug

Please offer some help.

hello, your screenshot is useless here.

please post your code (as TEXT!) and the complete error msg (MRE required here), thank you.

catch the exception, inspect it.