This is the method I use. The product is added in the database but I can not get the Id of the product because the product is null all the time And this is the error I get w