There are exceptions to the chain of dependent origination and it is in the Culavedallla Sutta in which former husband Visakha questions nun Dhammadina. Here is the excerpts:
In what way is pleasant feeling pleasant, lady, and in what way painful?"
"Pleasant feeling is pleasant in remaining, & painful in changing, friend Visakha. Painful feeling is painful in remaining & pleasant in changing. Neither-pleasant-nor-painful feeling is pleasant in occurring together with knowledge, and painful in occurring without knowledge."
"What latent tendency lies latent in pleasant feeling? What latent tendency lies latent in painful feeling? What latent tendency lies latent in neither-pleasant-nor-painful feeling?"
"The latent tendency to passion lies latent in pleasant feeling. The latent tendency to irritation lies latent in painful feeling. The latent tendency to ignorance lies latent in neither-pleasant-nor-painful feeling."
"Does the latent tendency to passion lie latent in all pleasant feeling? Does the latent tendency to irritation lie latent in all painful feeling? Does the latent tendency to ignorance lie latent in all neither-pleasant-nor-painful feeling?"
"No...."
"What is to be abandoned in pleasant feeling? What is to be abandoned in painful feeling? What is to be abandoned in neither-pleasant-nor-painful feeling?"
"The latent tendency to passion is to be abandoned in pleasant feeling. The latent tendency to irritation is to be abandoned in painful feeling. The latent tendency to ignorance is to be abandoned in neither-pleasant-nor-painful feeling."
"Is the latent tendency to passion to be abandoned in all pleasant feeling? Is the latent tendency to irritation to be abandoned in all painful feeling? Is the latent tendency to ignorance to be abandoned in all neither-pleasant-nor-painful feeling?"
"No .... There is the case where a monk -- quite withdrawn from sensuality, withdrawn from unskillful qualities -- enters & remains in the first jhana: rapture & pleasure born from withdrawal, accompanied by directed thought & evaluation. With that he abandons passion. No latent tendency to passion lies latent there.[4] There is the case where a monk considers, 'O when will I enter & remain in the sphere that those who are noble now enter & remain in?' And as he thus nurses this yearning for the unexcelled liberations, there arises within him sorrow based on that yearning. With that he abandons irritation. No latent tendency to irritation lies latent there.[5] There is the case where a monk, with the abandoning of pleasure & pain -- as with the earlier disappearance of elation & distress -- enters & remains in the fourth jhana: purity of equanimity & mindfulness, neither pleasure nor pain. With that he abandons ignorance. No latent tendency to ignorance lies latent there."
Depending on contact, feeling arises, depending on feeling, rapture (piti) & pleasure (sukha) arises, accompanied by direct thought (vitakka) and evaluation(vicara) - first jhanna factors. With that he abandons passion (*becomes an Arahant).
And as he thus nurses this yearning for the unexcelled liberations, there arises within him sorrow based on that yearning (disenchantment). With that he abandons irritation(*becomes an Anagami).
..enters & remains in the fourth jhana: purity of equanimity & mindfulness, neither pleasure nor pain. With that he abandons ignorance(* becomes an Arahant).