A longtime official is in hot water with the NBA.