Resin duct cells do secrete resin when mechanically damaged, and seal wounds when resin components polymerize; this process does trap insects (amber is fossilized resin).
They don't get cancer, but they're sicker overall because they're less capable of detoxifying aflatxoin — leading to fun stuff like fatty liver, liver necrosis (cell death), proliferation of bile duct tissue, and early death.