Question: Jeremiah 22:30 prophesies that Coniah will have no children and no descendant of his will ever sit upon the throne of David. But his sons are listed in 1 Chr.3:17, and Matthew (1:12) lists Jeconiah as an ancestor of Jesus, who according to Luke 1:32 must sit on the throne of David.
Response: No. Jeremiah 22:30 doesn't say that Coniah would have no children. It says that it would be as if Coniah had no children, in that his children would not prosper on the throne of Judah, as they otherwise should have, given the laws of succession. (And, in fact, they did not prosper on the throne). And, as for the question of whether this prophecy affects all of Coniah's descendants, or just his children, the prophecy itself uses the phrase "in his lifetime."
Jeremiah 22:30 (NIV) says: This is what the LORD says: "Record this man as if childless, a man who will not prosper in his lifetime, for none of his offspring will prosper, none will sit on the throne of David or rule anymore in Judah."