ERROR in validate_data: Lower bound at index 0 is greater than upper bound:

I am developing an MPC (Model Predictive Control) where I am getting the following error from time to time, not all the time. I’ve added sample lower and upper bound for reference when I am getting the following error.

ERROR in validate_data: Lower bound at index 0 is greater than upper bound: 6.9450e-310 > 6.9450e-310
ERROR in osqp_setup: Problem data validation.

The lower bound (equality and inequality)

-0 -0 -0 0 1.9891e-13 -0.802745 0 1.97133e-13 -0.802745 0 2.00686e-13 -0.802745 0 2.09568e-13 -0.802745 0 1.97133e-13 -0.802745 0 2.00686e-13 -0.802745 0 1.84255e-13 -0.802745 -1e+06 -1e+06 -1e+06 -1e+06 -1e+06 -1e+06 -1e+06 -1e+06 -1e+06 -1e+06 -1e+06 -1e+06 -1e+06 -1e+06 -1e+06 -1e+06 -1e+06 -1e+06 -1e+06 -1e+06 -1e+06 -1e+06 -1e+06 -1e+06 -1e+06 -1e+06 -1e+06 -1e+06 -1e+06 -1e+06 -1e+06 -1e+06 -1e+06 0 -1.55221 0 -1.55221 0 -1.55221 0 -1.55221 0 -1.55221 0 -1.55221 0 -1.55221 0 -1.55221 0 -1.55221 0 -1.55221

upper bound (equality and inequality)

-0 -0 -0 0 1.95357e-13 -0.802745 0 2.06015e-13 -0.802745 0 2.00686e-13 -0.802745 0 1.9891e-13 -0.802745 0 1.97133e-13 -0.802745 0 2.00686e-13 -0.802745 0 2.09568e-13 -0.802745 0 1.97133e-13 -0.802745 0 2.00686e-13 -0.802745 0 1.84255e-13 -0.802745 1e+06 1e+06 1e+06 1e+06 1e+06 1e+06 1e+06 1e+06 1e+06 1e+06 1e+06 1e+06 1e+06 1e+06 1e+06 1e+06 1e+06 1e+06 1e+06 1e+06 1e+06 1e+06 1e+06 1e+06 1e+06 1e+06 1e+06 1e+06 1e+06 1e+06 1e+06 1e+06 1e+06 0.5 1.55221 0.5 1.55221 0.5 1.55221 0.5 1.55221 0.5 1.55221 0.5 1.55221 0.5 1.55221 0.5 1.55221 0.5 1.55221 0.5 1.55221

Still not sure why I keep getting this error?

Just a guess, but I suggest checking that you are correctly initializing the first element of your lower and upper bounds. The value reported could be a garbage entry from an uninitialized array.