LOS ANGELES (KABC) -- A judge ruled that Starbucks and other coffee sellers in California must provide a cancer warning on their products for customers.A nonprofit group sued several companies that sell coffee, including Starbucks, coffee distributors and retailers in 2010.The lawsuit claimed those companies violated state law, which requires them to warn consumers about chemicals in the roasting process that may cause cancer. One of those chemicals is acrylamide, which is a carcinogen.Attorneys for about 90 companies said the chemical is present in the process, but that it's at harmless levels and is outweighed by the benefits of drinking a cup of coffee.The ruling came despite eased concerns in recent years about the possible dangers of coffee, with some studies finding health benefits. In 2016, the International Agency for Research on Cancer - the cancer agency of the World Health Organization - moved coffee off its "possible carcinogen" list.