Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 1.6.5
-
Fix Version/s: 1.7-beta-2, 1.6.6
-
Component/s: SQL processing
-
Labels:None
-
Number of attachments :
Description
Sql.java, line 2255 contains the following assertion, which is always false:
assert (null != statement);
This pretty much renders class Sql unusable if assertions are enabled, which for example is the case when running tests with Maven.
I'm pretty sure that my fix is in line with the author's original intentions. To facilitate the detection of failing Java assertions, I've enabled assertions for all unit tests run by the Ant build.