See 52916, where although a ClassCastException occured , sampler is marked as successful.
Date: Sat Mar 17 21:34:17 2012 New Revision: 1302016 URL: http://svn.apache.org/viewvc?rev=1302016&view=rev Log: JDBC Sampler : Sampler is not marked in error in an Exception which is not of class IOException, SQLException, IOException occurs Modified: jmeter/trunk/src/protocol/jdbc/org/apache/jmeter/protocol/jdbc/sampler/JDBCSampler.java jmeter/trunk/xdocs/changes.xml
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/2782