It looks like you need to check your database constraints. If you have set user_id as not null for table "company_info".
Also, I am not sure what your actual requirement of the project is but having onetoone join with user_id in company_info & address table is not making sense to me. Why any company will have only one user? May it should be onetomany or manytomany depending upon your requirement.
My suggestion will be to check what should be your db design and correct the table joining in backend accrodingly.
(Edited) If you want it to stay as onetoone relation, mention foreign key in only one table is enough. Like, keep company_id & address_id in user or vice versa.