Error in solver in a dolfin adjoint problem

Yeah thanks for that! but i think i am using it correctly but still getting the same error. I have asked in a new post https://fenicsproject.discourse.group/t/petsc-error-code-is-63/14780