<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/sqlunit/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/sqlunit/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Wed, 08 Sep 2010 11:19:41 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/sqlunit/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>Too many open cursors when processing large include .sql</title><link>https://sourceforge.net/p/sqlunit/bugs/33/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi:&lt;br /&gt;
I found that if need to process a large .sql file for example with many insert sentences the tag include fails with too-many open cursors in Oracle databases.&lt;br /&gt;
The problem is that in net.sourceforge.sqlunit.handlers.IncludeHandler the Statement are not closed after their are used, for example:&lt;br /&gt;
line 156:&lt;br /&gt;
Statement statement = conn.createStatement();&lt;br /&gt;
statement.execute(stmt);&lt;br /&gt;
ConnectionRegistry.safelyCommit(connectionId, conn);&lt;br /&gt;
I added a close() method and now it works properly:&lt;br /&gt;
Statement statement = conn.createStatement();&lt;br /&gt;
statement.execute(stmt);&lt;br /&gt;
statement.close();&lt;br /&gt;
ConnectionRegistry.safelyCommit(connectionId, conn);&lt;br /&gt;
similar problem is in methods:&lt;br /&gt;
executeCallableSQL&lt;br /&gt;
executeOtherSQL&lt;br /&gt;
for cs and ps variables.&lt;br /&gt;
Best regards, Marcelo.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Marcelo F. Ochoa</dc:creator><pubDate>Wed, 08 Sep 2010 11:19:41 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netdedf339315f59f41b14b57e60a204b9970d1fad2</guid></item><item><title>With pgsql: Cannot build Connection (connection-id=null) bec</title><link>https://sourceforge.net/p/sqlunit/bugs/32/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I successfully installed (and rebuilt) sqlunit 5.0 and tried to run the postgresql test (test/postgresql/test.xml). I also tried to write my own tests with always the same results: I get an "sqlunit-ant: Cannot build Connection (connection-id=null) because null" error and that stops the process. It's not a configuration problem (sqlunit.properties or inside the &amp;lt;connection&amp;gt; statement), because if I write a wrong database/username/password, the above error message becomes more explicit (ie: "the role doesn't exist", "the database doesn't exist", ...).&lt;/p&gt;
&lt;p&gt;I debug sqlunit, and found that in any case, it tries to dereference a null object in net/sourceforge/sqlunit/handlers/ConnectionHandler.java (lines ~253).&lt;/p&gt;
&lt;p&gt;I issued the following attached patch, that makes my tests work (as same as sqlunit tests). Take care: I only tested it against one database, not multiple.&lt;/p&gt;
&lt;p&gt;FYI, I used postgresql jdbc3 and jdbc4 drivers (release 604).&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Patrick MARIE</dc:creator><pubDate>Tue, 17 Mar 2009 07:56:17 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net587c97566acaa42cea86b034dc18b77fa67c0d6e</guid></item><item><title>Problems to use Multiple ResultSets with MSSQL Server</title><link>https://sourceforge.net/p/sqlunit/bugs/31/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I have problems to use ResultSets with MSSQL Server.&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;No have example tests to this and test fail because system receive only the first resultset.&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;Can anyone help-me?&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;Follow the example of my Procedure and Test XML.&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;I´m debugging the java code to find problem, but whether anyone know that. &lt;/p&gt;
&lt;p&gt;Tks&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;PROCEDURE&lt;br /&gt;
-----------------&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;CREATE PROCEDURE pr_test&lt;br /&gt;
BEGIN&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;SELECT&lt;br /&gt;
'Abc' AS field1,&lt;br /&gt;
'Def' AS field2&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;SELECT&lt;br /&gt;
0 AS code,&lt;br /&gt;
'Ghi' AS field1&lt;br /&gt;
'Jkl' AS field2&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;END&lt;br /&gt;
GO&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;TEST XML&lt;br /&gt;
------------------&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;&amp;lt;?xml version="1.0"?&amp;gt;&lt;br /&gt;
&amp;lt;!DOCTYPE sqlunit SYSTEM "file:docs/sqlunit.dtd" [&lt;br /&gt;
&amp;lt;!ENTITY con SYSTEM "test/xpto/connection.xml"&amp;gt;&lt;br /&gt;
]&amp;gt;&lt;br /&gt;
&amp;lt;sqlunit&amp;gt;&lt;br /&gt;
&amp;lt;!-- ***************************** ** //--&amp;gt;&lt;br /&gt;
&amp;lt;!-- Connection set-up information //--&amp;gt;&lt;br /&gt;
&amp;lt;!-- ***************************** ** //--&amp;gt;&lt;br /&gt;
&amp;amp;con;&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;&amp;lt;test name="TestResultSets"&amp;gt;&lt;br /&gt;
&amp;lt;sql&amp;gt;&lt;br /&gt;
&amp;lt;stmt&amp;gt;&lt;br /&gt;
----------------------------------------------------&lt;br /&gt;
-- Exec proc&lt;br /&gt;
----------------------------------------------------&lt;br /&gt;
EXEC pr_test&lt;br /&gt;
&amp;lt;/stmt&amp;gt;&lt;br /&gt;
&amp;lt;/sql&amp;gt;&lt;br /&gt;
&amp;lt;result&amp;gt;&lt;br /&gt;
&amp;lt;resultset id="1"&amp;gt;&lt;br /&gt;
&amp;lt;row id="1"&amp;gt;&lt;br /&gt;
&amp;lt;col id="01" name="field1" type="VARCHAR"&amp;gt;Abc&amp;lt;/col&amp;gt;&lt;br /&gt;
&amp;lt;col id="02" name="field2" type="VARCHAR"&amp;gt;Def&amp;lt;/col&amp;gt;&lt;br /&gt;
&amp;lt;/row&amp;gt;&lt;br /&gt;
&amp;lt;/resultset&amp;gt;&lt;br /&gt;
&amp;lt;resultset id="2"&amp;gt;&lt;br /&gt;
&amp;lt;row id="1"&amp;gt;&lt;br /&gt;
&amp;lt;col id="01" name="code" type="INTEGER"&amp;gt;3&amp;lt;/col&amp;gt;&lt;br /&gt;
&amp;lt;col id="02" name="field1" type="VARCHAR"&amp;gt;Ghi&amp;lt;/col&amp;gt;&lt;br /&gt;
&amp;lt;col id="03" name="field2" type="VARCHAR"&amp;gt;jkl&amp;lt;/col&amp;gt;&lt;br /&gt;
&amp;lt;/row&amp;gt;&lt;br /&gt;
&amp;lt;/resultset&amp;gt;&lt;br /&gt;
&amp;lt;/result&amp;gt;&lt;br /&gt;
&amp;lt;/test&amp;gt;&lt;br /&gt;
&amp;lt;/sqlunit&amp;gt; &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reinaldo Coelho Sartorelli</dc:creator><pubDate>Fri, 13 Mar 2009 18:34:48 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netdc95bcc2b4483a1a1a18ac3431d48b9a747ce194</guid></item><item><title>System Error- Connection(__default) is NULL or incorrectly s</title><link>https://sourceforge.net/p/sqlunit/bugs/30/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;MY SQLUnit script(attached SQLUnit.xml) is throwing the following error-Connection(__default) is NULL or incorrectly specified. Which is a system bug.&lt;/p&gt;
&lt;p&gt;My code is throwing following error-&lt;/p&gt;
&lt;p&gt;D:\sqlunit&amp;gt;ant sqlunit-flat -Dtestfile=test/SQLUnit.xml&lt;br /&gt;
Buildfile: build.xml&lt;/p&gt;
&lt;p&gt;init:&lt;/p&gt;
&lt;p&gt;precompile:&lt;/p&gt;
&lt;p&gt;compile:&lt;/p&gt;
&lt;p&gt;def:&lt;/p&gt;
&lt;p&gt;sqlunit-flat:&lt;br /&gt;
[sqlunit] *** Running SQLUnit file: test/SQLUnit.xml&lt;br /&gt;
[sqlunit] Getting connection(1)&lt;br /&gt;
[sqlunit] Setting up test...&lt;br /&gt;
[sqlunit] Running test[1]: select1 (0ms)&lt;br /&gt;
[sqlunit] Connection(__default) is NULL or incorrectly specified&lt;br /&gt;
[sqlunit] Tearing down test...&lt;br /&gt;
[sqlunit] Connection(__default) is NULL or incorrectly specified&lt;br /&gt;
[sqlunit] sqlunit-ant: Connection(__default) is NULL or incorrectly specified&lt;br /&gt;
[sqlunit] Connection(__default) is NULL or incorrectly specified&lt;/p&gt;
&lt;p&gt;BUILD FAILED&lt;br /&gt;
D:\sqlunit\build.xml:163: Connection(__default) is NULL or incorrectly specified&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Tue, 29 May 2007 06:09:41 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net79bb3abfb64c85f1b19f8d6bb2a7ce702c9ceffc</guid></item><item><title>PL/SQL scirpts inluded by include tag.</title><link>https://sourceforge.net/p/sqlunit/bugs/29/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I use sqlunit 5.0 and I cant insert a PL/SQL script into file which was included by include tag.&lt;br /&gt;
When I do this, a sqlunit send to database a statement which was ended by first semicolon. So it sends to database something like: "DECLARE id NUMBER", when I want to send "DECLARE id NUMBER; BEGIN id := 1; END;".&lt;br /&gt;
This behave cause many errors.&lt;/p&gt;
&lt;p&gt;I cant put PL/SQL scripts which was good in &amp;lt;sql&amp;gt;&amp;lt;stmt&amp;gt;statement&amp;lt;/sql&amp;gt;&amp;lt;/stmt&amp;gt; into file which was included by &amp;lt;include file="path_to_file_with_statement"/&amp;gt; tag.&lt;/p&gt;
&lt;p&gt;Sorry for my poor english.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Wed, 31 Jan 2007 12:04:08 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netbb3c4df025e4858d24839ac9b5bbf671d77c4340</guid></item><item><title>Statements not closed in IncludeHandler, Version 4.9</title><link>https://sourceforge.net/p/sqlunit/bugs/28/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I am using SQLUnit with an Oracle database.&lt;br /&gt;
My test setup is done by including a file. This setup&lt;br /&gt;
inserts much data into the database.&lt;br /&gt;
When I run the test, i get an Oracle Error that the&lt;br /&gt;
maximum number of open cursors is exceeded.&lt;br /&gt;
I had a look into the code of the InputHandler and&lt;br /&gt;
found  that the PreparedStatements used in&lt;br /&gt;
executeOtherSQL never get closed. This also is the case&lt;br /&gt;
in executeMultilineSQL and executeCallableSQL.&lt;br /&gt;
I don't know if this is the case in other classes too&lt;br /&gt;
or in version 5.0, which I can't use because of problem&lt;br /&gt;
1524748.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Josef Gmeineder</dc:creator><pubDate>Tue, 07 Nov 2006 16:42:34 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net593f342fe313a3a49245087bf991620dfbb93967</guid></item><item><title>org.jdom.Element.addContent(Lorg/jdom/Element;)Lorg/jdom/Ele</title><link>https://sourceforge.net/p/sqlunit/bugs/27/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Version 5.0&lt;/p&gt;
&lt;p&gt;I am getting what appears to be a reflection related &lt;br /&gt;
exception (InvocationTargetException):&lt;/p&gt;
&lt;p&gt;[sqlunit] Running test[1]: &lt;br /&gt;
TestSQLUnit_TestDefaultParameterValues_1: Call stored &lt;br /&gt;
proc using all default parameters values (0ms)&lt;br /&gt;
[sqlunit] DEBUG [main] (SQLUnitResult.java:108) - &lt;br /&gt;
&amp;gt;&amp;gt; getLastException()&lt;br /&gt;
[sqlunit] org.jdom.Element.addContent&lt;br /&gt;
(Lorg/jdom/Element;)Lorg/jdom/Element;&lt;br /&gt;
[sqlunit] DEBUG [main] (SymbolTable.java:148) - &amp;gt;&amp;gt; &lt;br /&gt;
getSymbols()&lt;br /&gt;
[sqlunit] Tearing down test...&lt;/p&gt;
&lt;p&gt;org.jdom.Element.addContent(Lorg/jdom/Element;)&lt;br /&gt;
Lorg/jdom/Element;&lt;/p&gt;
&lt;p&gt;This only happens when the test fails.  I think this &lt;br /&gt;
is caused by the method Assertions.invokeAssertions:&lt;/p&gt;
&lt;p&gt;try {&lt;br /&gt;
Method method = &lt;br /&gt;
Assertions.class.getDeclaredMethod(&lt;br /&gt;
methodName, paramClasses);&lt;br /&gt;
method.invoke(null, params);&lt;br /&gt;
} catch (InvocationTargetException e) {&lt;br /&gt;
// this will be an SQLUnitException&lt;br /&gt;
throw new SQLUnitException(e.getCause&lt;br /&gt;
().getMessage(),&lt;br /&gt;
e.getCause());&lt;/p&gt;
&lt;p&gt;I believe this to be versioning issue between the &lt;br /&gt;
compiled version and the released dependent jdom libs.&lt;/p&gt;
&lt;p&gt;Additional information when running my build.xml&lt;/p&gt;
&lt;p&gt;[sqlunit] FATAL [main] (SQLUnit.java:223) - SQLUnit &lt;br /&gt;
Tests Failed: In file: C:\My &lt;br /&gt;
Code\OASISServiceDatabaseUnitTest\test\first.xml, &lt;br /&gt;
tests: 1, failures: 1, errors = 0&lt;br /&gt;
[sqlunit] net.sourceforge.sqlunit.SQLUnitException: &lt;br /&gt;
SQLUnit Tests Failed: In file: C:\My &lt;br /&gt;
Code\OASISServiceDatabaseUnitTest\test\first.xml, &lt;br /&gt;
tests: 1, failures: 1, errors = 0&lt;br /&gt;
[sqlunit] at &lt;br /&gt;
net.sourceforge.sqlunit.SQLUnit.testWrapper&lt;br /&gt;
(SQLUnit.java:245)&lt;br /&gt;
[sqlunit] at net.sourceforge.sqlunit.SQLUnit.runTest&lt;br /&gt;
(SQLUnit.java:220)&lt;br /&gt;
[sqlunit] at &lt;br /&gt;
net.sourceforge.sqlunit.ant.SqlunitTask.execute&lt;br /&gt;
(SqlunitTask.java:115)&lt;br /&gt;
[sqlunit] at &lt;br /&gt;
org.apache.tools.ant.UnknownElement.execute&lt;br /&gt;
(UnknownElement.java:275)&lt;br /&gt;
[sqlunit] at org.apache.tools.ant.Task.perform&lt;br /&gt;
(Task.java:364)&lt;br /&gt;
[sqlunit] at org.apache.tools.ant.Target.execute&lt;br /&gt;
(Target.java:341)&lt;br /&gt;
[sqlunit] at &lt;br /&gt;
org.apache.tools.ant.Target.performTasks&lt;br /&gt;
(Target.java:369)&lt;br /&gt;
[sqlunit] at &lt;br /&gt;
org.apache.tools.ant.Project.executeSortedTargets&lt;br /&gt;
(Project.java:1216)&lt;br /&gt;
[sqlunit] at &lt;br /&gt;
org.apache.tools.ant.Project.executeTarget&lt;br /&gt;
(Project.java:1185)&lt;br /&gt;
[sqlunit] at &lt;br /&gt;
org.apache.tools.ant.helper.DefaultExecutor.executeTar&lt;br /&gt;
gets(DefaultExecutor.java:40)&lt;br /&gt;
[sqlunit] at &lt;br /&gt;
org.eclipse.ant.internal.ui.antsupport.EclipseDefaultE&lt;br /&gt;
xecutor.executeTargets(EclipseDefaultExecutor.java:32)&lt;br /&gt;
[sqlunit] at &lt;br /&gt;
org.apache.tools.ant.Project.executeTargets&lt;br /&gt;
(Project.java:1068)&lt;br /&gt;
[sqlunit] at &lt;br /&gt;
org.eclipse.ant.internal.ui.antsupport.InternalAntRunn&lt;br /&gt;
er.run(InternalAntRunner.java:423)&lt;br /&gt;
[sqlunit] at &lt;br /&gt;
org.eclipse.ant.internal.ui.antsupport.InternalAntRunn&lt;br /&gt;
er.main(InternalAntRunner.java:137)&lt;br /&gt;
[sqlunit] Caused by: &lt;br /&gt;
net.sourceforge.sqlunit.SQLUnitException: &lt;br /&gt;
org.jdom.Element.addContent(Lorg/jdom/Element;)&lt;br /&gt;
Lorg/jdom/Element;&lt;br /&gt;
[sqlunit] at &lt;br /&gt;
net.sourceforge.sqlunit.Assertions.invokeAssertion&lt;br /&gt;
(Assertions.java:832)&lt;br /&gt;
[sqlunit] at &lt;br /&gt;
net.sourceforge.sqlunit.Assertions.assertIsTrue&lt;br /&gt;
(Assertions.java:120)&lt;br /&gt;
[sqlunit] at &lt;br /&gt;
net.sourceforge.sqlunit.handlers.TestHandler.process&lt;br /&gt;
(TestHandler.java:234)&lt;br /&gt;
[sqlunit] at &lt;br /&gt;
net.sourceforge.sqlunit.SQLUnit.processDoc&lt;br /&gt;
(SQLUnit.java:327)&lt;br /&gt;
[sqlunit] at &lt;br /&gt;
net.sourceforge.sqlunit.SQLUnit.testWrapper&lt;br /&gt;
(SQLUnit.java:243)&lt;br /&gt;
[sqlunit] ... 13 more&lt;br /&gt;
[sqlunit] Caused by: &lt;br /&gt;
net.sourceforge.sqlunit.SQLUnitException: &lt;br /&gt;
org.jdom.Element.addContent(Lorg/jdom/Element;)&lt;br /&gt;
Lorg/jdom/Element;&lt;br /&gt;
[sqlunit] at &lt;br /&gt;
net.sourceforge.sqlunit.Assertions.invokeAssertion&lt;br /&gt;
(Assertions.java:832)&lt;br /&gt;
[sqlunit] at &lt;br /&gt;
net.sourceforge.sqlunit.Assertions.assertIsTrue&lt;br /&gt;
(Assertions.java:120)&lt;br /&gt;
[sqlunit] at &lt;br /&gt;
net.sourceforge.sqlunit.Assertions.assertEqual&lt;br /&gt;
(Assertions.java:195)&lt;br /&gt;
[sqlunit] at &lt;br /&gt;
sun.reflect.NativeMethodAccessorImpl.invoke0(Native &lt;br /&gt;
Method)&lt;br /&gt;
[sqlunit] at &lt;br /&gt;
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown &lt;br /&gt;
Source)&lt;br /&gt;
[sqlunit] at &lt;br /&gt;
sun.reflect.DelegatingMethodAccessorImpl.invoke&lt;br /&gt;
(Unknown Source)&lt;br /&gt;
[sqlunit] at java.lang.reflect.Method.invoke&lt;br /&gt;
(Unknown Source)&lt;br /&gt;
[sqlunit] at &lt;br /&gt;
net.sourceforge.sqlunit.Assertions.invokeAssertion&lt;br /&gt;
(Assertions.java:829)&lt;br /&gt;
[sqlunit] ... 17 more&lt;br /&gt;
[sqlunit] Caused by: java.lang.NoSuchMethodError: &lt;br /&gt;
org.jdom.Element.addContent(Lorg/jdom/Element;)&lt;br /&gt;
Lorg/jdom/Element;&lt;br /&gt;
[sqlunit] at &lt;br /&gt;
net.sourceforge.sqlunit.beans.Row.toElement&lt;br /&gt;
(Row.java:160)&lt;br /&gt;
[sqlunit] at &lt;br /&gt;
net.sourceforge.sqlunit.beans.ResultSetBean.toElement&lt;br /&gt;
(ResultSetBean.java:265)&lt;br /&gt;
[sqlunit] at &lt;br /&gt;
net.sourceforge.sqlunit.beans.DatabaseResult.toElement&lt;br /&gt;
(DatabaseResult.java:242)&lt;br /&gt;
[sqlunit] at &lt;br /&gt;
net.sourceforge.sqlunit.beans.DatabaseResult.toString&lt;br /&gt;
(DatabaseResult.java:255)&lt;br /&gt;
[sqlunit] at &lt;br /&gt;
net.sourceforge.sqlunit.Assertions.subAssertResultSets&lt;br /&gt;
Equal(Assertions.java:990)&lt;br /&gt;
[sqlunit] at &lt;br /&gt;
net.sourceforge.sqlunit.Assertions.assertResultSetsEqu&lt;br /&gt;
al(Assertions.java:464)&lt;br /&gt;
[sqlunit] at &lt;br /&gt;
sun.reflect.NativeMethodAccessorImpl.invoke0(Native &lt;br /&gt;
Method)&lt;br /&gt;
[sqlunit] at &lt;br /&gt;
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown &lt;br /&gt;
Source)&lt;br /&gt;
[sqlunit] at &lt;br /&gt;
sun.reflect.DelegatingMethodAccessorImpl.invoke&lt;br /&gt;
(Unknown Source)&lt;br /&gt;
[sqlunit] at java.lang.reflect.Method.invoke&lt;br /&gt;
(Unknown Source)&lt;br /&gt;
[sqlunit] at &lt;br /&gt;
net.sourceforge.sqlunit.Assertions.invokeAssertion&lt;br /&gt;
(Assertions.java:829)&lt;br /&gt;
[sqlunit] ... 24 more&lt;br /&gt;
[sqlunit] sqlunit-ant: SQLUnit Tests Failed: In &lt;br /&gt;
file: C:\My &lt;br /&gt;
Code\OASISServiceDatabaseUnitTest\test\first.xml, &lt;br /&gt;
tests: 1, failures: 1, errors = 0&lt;br /&gt;
[sqlunit] net.sourceforge.sqlunit.SQLUnitException: &lt;br /&gt;
One or more SQLUnit Tests failed, see the console for &lt;br /&gt;
details&lt;br /&gt;
[sqlunit] at &lt;br /&gt;
net.sourceforge.sqlunit.ant.SqlunitTask.execute&lt;br /&gt;
(SqlunitTask.java:132)&lt;br /&gt;
[sqlunit] at &lt;br /&gt;
org.apache.tools.ant.UnknownElement.execute&lt;br /&gt;
(UnknownElement.java:275)&lt;br /&gt;
[sqlunit] at org.apache.tools.ant.Task.perform&lt;br /&gt;
(Task.java:364)&lt;br /&gt;
[sqlunit] at org.apache.tools.ant.Target.execute&lt;br /&gt;
(Target.java:341)&lt;br /&gt;
[sqlunit] at &lt;br /&gt;
org.apache.tools.ant.Target.performTasks&lt;br /&gt;
(Target.java:369)&lt;br /&gt;
[sqlunit] at &lt;br /&gt;
org.apache.tools.ant.Project.executeSortedTargets&lt;br /&gt;
(Project.java:1216)&lt;br /&gt;
[sqlunit] at &lt;br /&gt;
org.apache.tools.ant.Project.executeTarget&lt;br /&gt;
(Project.java:1185)&lt;br /&gt;
[sqlunit] at &lt;br /&gt;
org.apache.tools.ant.helper.DefaultExecutor.executeTar&lt;br /&gt;
gets(DefaultExecutor.java:40)&lt;br /&gt;
[sqlunit] at &lt;br /&gt;
org.eclipse.ant.internal.ui.antsupport.EclipseDefaultE&lt;br /&gt;
xecutor.executeTargets(EclipseDefaultExecutor.java:32)&lt;br /&gt;
[sqlunit] at &lt;br /&gt;
org.apache.tools.ant.Project.executeTargets&lt;br /&gt;
(Project.java:1068)&lt;br /&gt;
[sqlunit] at &lt;br /&gt;
org.eclipse.ant.internal.ui.antsupport.InternalAntRunn&lt;br /&gt;
er.run(InternalAntRunner.java:423)&lt;br /&gt;
[sqlunit] at &lt;br /&gt;
org.eclipse.ant.internal.ui.antsupport.InternalAntRunn&lt;br /&gt;
er.main(InternalAntRunner.java:137)&lt;br /&gt;
[sqlunit] One or more SQLUnit Tests failed, see the &lt;br /&gt;
console for details&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Tue, 18 Jul 2006 18:49:25 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net2a7ecec8e36be295df2eb82962594055b3d2289f</guid></item><item><title>There's no mapping for Oracle's DATE type.</title><link>https://sourceforge.net/p/sqlunit/bugs/26/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;given test case:&lt;/p&gt;
&lt;p&gt;&amp;lt;test name="date"&amp;gt;&lt;br /&gt;
&amp;lt;sql&amp;gt;&lt;br /&gt;
&amp;lt;stmt&amp;gt;select sysdate from dual&amp;lt;/stmt&amp;gt;&lt;br /&gt;
&amp;lt;/sql&amp;gt;&lt;br /&gt;
&amp;lt;result echo="true"&amp;gt;&lt;br /&gt;
&amp;lt;/result&amp;gt;&lt;br /&gt;
&amp;lt;/test&amp;gt;&lt;/p&gt;
&lt;p&gt;breaks down with message:&lt;/p&gt;
&lt;p&gt;Setting up test...&lt;br /&gt;
(0ms)&lt;br /&gt;
At ${result[1,1,1]}, could not convert&lt;br /&gt;
java.sql.Timestamp returned from database to DATE(91)&lt;br /&gt;
Tearing down test...&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Wed, 14 Jun 2006 13:18:58 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netfab9ff9b35149888eb847605c40b0664e035815d</guid></item><item><title>java.lang.NullPointerException with canoo reporter</title><link>https://sourceforge.net/p/sqlunit/bugs/25/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;If your test fails then you get nullpointer if using&lt;br /&gt;
logformat="canoo".&lt;/p&gt;
&lt;p&gt;-------&lt;br /&gt;
[java.lang.NullPointerException&lt;br /&gt;
at&lt;br /&gt;
net.sourceforge.sqlunit.reporters.CanooWebTestReporter.addElement(CanooWebTestReporter.java:313)&lt;br /&gt;
at&lt;br /&gt;
net.sourceforge.sqlunit.reporters.CanooWebTestReporter.finishedTest(CanooWebTestReporter.java:204)&lt;br /&gt;
at&lt;br /&gt;
net.sourceforge.sqlunit.SQLUnit.processDoc(SQLUnit.java:350)&lt;br /&gt;
at&lt;br /&gt;
net.sourceforge.sqlunit.SQLUnit.testWrapper(SQLUnit.java:243)&lt;br /&gt;
at&lt;br /&gt;
net.sourceforge.sqlunit.SQLUnit.runTest(SQLUnit.java:220)&lt;br /&gt;
at&lt;br /&gt;
net.sourceforge.sqlunit.ant.SqlunitTask.execute(SqlunitTask.java:112)&lt;br /&gt;
at&lt;br /&gt;
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Mon, 12 Dec 2005 13:29:45 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net19031bdb0cb68f02255db673e42ed7dee1674552</guid></item><item><title>Out-of-bounds bug in outparam</title><link>https://sourceforge.net/p/sqlunit/bugs/24/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Using the following test (from the Sybase example tests):&lt;/p&gt;
&lt;p&gt;&amp;lt;test name="Running sp_TestDataDump"&amp;gt;&lt;br /&gt;
&amp;lt;call&amp;gt;&lt;br /&gt;
&amp;lt;stmt&amp;gt;{? = call&lt;br /&gt;
TestDataDump(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}&amp;lt;/stmt&amp;gt;&lt;br /&gt;
&amp;lt;param id="1" type="INTEGER"&lt;br /&gt;
inout="out"&amp;gt;${status}&amp;lt;/param&amp;gt;&lt;br /&gt;
&amp;lt;param id="2" type="CHAR"&amp;gt;1097130112605841&amp;lt;/param&amp;gt;&lt;br /&gt;
&amp;lt;param id="3" type="VARCHAR"&amp;gt;C1&amp;lt;/param&amp;gt;&lt;br /&gt;
&amp;lt;param id="4" type="VARCHAR"&amp;gt;1234&amp;lt;/param&amp;gt;&lt;br /&gt;
&amp;lt;param id="5" type="CHAR"&amp;gt;D&amp;lt;/param&amp;gt;&lt;br /&gt;
&amp;lt;param id="6" type="TIMESTAMP"&amp;gt;2003-09-29&lt;br /&gt;
00:00:00.000&amp;lt;/param&amp;gt;&lt;br /&gt;
&amp;lt;param id="7" type="NUMERIC"&amp;gt;1000&amp;lt;/param&amp;gt;&lt;br /&gt;
&amp;lt;param id="8" type="NUMERIC"&amp;gt;1&amp;lt;/param&amp;gt;&lt;br /&gt;
&amp;lt;param id="9" type="NUMERIC"&amp;gt;4&amp;lt;/param&amp;gt;&lt;br /&gt;
&amp;lt;param id="10" type="CHAR"&amp;gt;1097130112605841&amp;lt;/param&amp;gt;&lt;br /&gt;
&amp;lt;param id="11" type="VARCHAR"&amp;gt;Testing&amp;lt;/param&amp;gt;&lt;br /&gt;
&amp;lt;param id="12" type="TIMESTAMP"&amp;gt;1900-01-01&lt;br /&gt;
00:00:00.000&amp;lt;/param&amp;gt;&lt;br /&gt;
&amp;lt;param id="13" type="NUMERIC"&amp;gt;0&amp;lt;/param&amp;gt;&lt;br /&gt;
&amp;lt;param id="14" type="VARCHAR"&lt;br /&gt;
inout="out"&amp;gt;${ReqIdV}&amp;lt;/param&amp;gt;&lt;br /&gt;
&amp;lt;param id="15" type="INTEGER"&lt;br /&gt;
inout="out"&amp;gt;${errorCode}&amp;lt;/param&amp;gt;&lt;br /&gt;
&amp;lt;param id="16" type="VARCHAR"&lt;br /&gt;
inout="out"&amp;gt;${errorDesc}&amp;lt;/param&amp;gt;&lt;br /&gt;
&amp;lt;/call&amp;gt;&lt;br /&gt;
&amp;lt;result&amp;gt;&lt;br /&gt;
&amp;lt;outparam id="1" type="INTEGER"&amp;gt;0&amp;lt;/outparam&amp;gt;&lt;br /&gt;
&amp;lt;outparam id="14"&lt;br /&gt;
type="VARCHAR"&amp;gt;1234567890&amp;lt;/outparam&amp;gt;&lt;br /&gt;
&amp;lt;outparam id="15" type="INTEGER"&amp;gt;0&amp;lt;/outparam&amp;gt;&lt;br /&gt;
&amp;lt;outparam id="16" type="VARCHAR"&amp;gt;success&amp;lt;/outparam&amp;gt;&lt;br /&gt;
&amp;lt;resultset id="1"&amp;gt;&lt;br /&gt;
&amp;lt;row id="1"&amp;gt;&lt;br /&gt;
&amp;lt;col id="1" name=""&lt;br /&gt;
type="VARCHAR"&amp;gt;${ReqIdV}&amp;lt;/col&amp;gt;&lt;br /&gt;
&amp;lt;/row&amp;gt;&lt;br /&gt;
&amp;lt;/resultset&amp;gt;&lt;br /&gt;
&amp;lt;resultset id="2"&amp;gt;&lt;br /&gt;
&amp;lt;row id="1"&amp;gt;&lt;br /&gt;
&amp;lt;col id="1" name="RequestTypeId"&lt;br /&gt;
type="INTEGER"&amp;gt;4&amp;lt;/col&amp;gt;&lt;br /&gt;
&amp;lt;/row&amp;gt;&lt;br /&gt;
&amp;lt;/resultset&amp;gt;&lt;br /&gt;
&amp;lt;/result&amp;gt;&lt;br /&gt;
&amp;lt;/test&amp;gt;&lt;/p&gt;
&lt;p&gt;I'm getting the following error message:&lt;/p&gt;
&lt;p&gt;[sqlunit] Running test[3]: Running sp_TestDataDump (0ms)&lt;br /&gt;
[sqlunit] outparam[2].id(14) out of bounds&lt;br /&gt;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^&lt;/p&gt;
&lt;p&gt;If I comment out the outparam line for id="14" from the&lt;br /&gt;
test, then I get the following result:&lt;/p&gt;
&lt;p&gt;[sqlunit] Running test[3]: Running sp_TestDataDump (0ms)&lt;br /&gt;
[sqlunit] Assertion "number-outparams-equal" failed&lt;br /&gt;
(3 != 4)&lt;br /&gt;
[sqlunit] *** expected:&lt;br /&gt;
[sqlunit] &amp;lt;result&amp;gt;&lt;br /&gt;
[sqlunit]   &amp;lt;outparam id="1" type="INTEGER"&amp;gt;0&amp;lt;/outparam&amp;gt;&lt;br /&gt;
[sqlunit]   &amp;lt;outparam id="15" type="INTEGER"&amp;gt;0&amp;lt;/outparam&amp;gt;&lt;br /&gt;
[sqlunit]   &amp;lt;outparam id="16"&lt;br /&gt;
type="VARCHAR"&amp;gt;success&amp;lt;/outparam&amp;gt;&lt;br /&gt;
[sqlunit]   &amp;lt;resultset id="1"&amp;gt;&lt;br /&gt;
[sqlunit]     &amp;lt;row id="1"&amp;gt;&lt;br /&gt;
[sqlunit]       &amp;lt;col id="1" name=""&lt;br /&gt;
type="VARCHAR"&amp;gt;NULL&amp;lt;/col&amp;gt;&lt;br /&gt;
[sqlunit]     &amp;lt;/row&amp;gt;&lt;br /&gt;
[sqlunit]   &amp;lt;/resultset&amp;gt;&lt;br /&gt;
[sqlunit]   &amp;lt;resultset id="2"&amp;gt;&lt;br /&gt;
[sqlunit]     &amp;lt;row id="1"&amp;gt;&lt;br /&gt;
[sqlunit]       &amp;lt;col id="1" name="RequestTypeId"&lt;br /&gt;
type="INTEGER"&amp;gt;4&amp;lt;/col&amp;gt;&lt;br /&gt;
[sqlunit]     &amp;lt;/row&amp;gt;&lt;br /&gt;
[sqlunit]   &amp;lt;/resultset&amp;gt;&lt;br /&gt;
[sqlunit] &amp;lt;/result&amp;gt;&lt;br /&gt;
[sqlunit] *** but got:&lt;br /&gt;
[sqlunit] &amp;lt;result&amp;gt;&lt;br /&gt;
[sqlunit]   &amp;lt;outparam id="1" type="INTEGER"&amp;gt;0&amp;lt;/outparam&amp;gt;&lt;br /&gt;
[sqlunit]   &amp;lt;outparam id="14"&lt;br /&gt;
type="VARCHAR"&amp;gt;NULL&amp;lt;/outparam&amp;gt;&lt;br /&gt;
[sqlunit]   &amp;lt;outparam id="15" type="INTEGER"&amp;gt;0&amp;lt;/outparam&amp;gt;&lt;br /&gt;
[sqlunit]   &amp;lt;outparam id="16"&lt;br /&gt;
type="VARCHAR"&amp;gt;NULL&amp;lt;/outparam&amp;gt;&lt;br /&gt;
[sqlunit]   &amp;lt;resultset id="1"&amp;gt;&lt;br /&gt;
[sqlunit]     &amp;lt;row id="1"&amp;gt;&lt;br /&gt;
[sqlunit]       &amp;lt;col id="1" name="@chardata6"&lt;br /&gt;
type="VARCHAR"&amp;gt;NULL&amp;lt;/col&amp;gt;&lt;br /&gt;
[sqlunit]     &amp;lt;/row&amp;gt;&lt;br /&gt;
[sqlunit]   &amp;lt;/resultset&amp;gt;&lt;br /&gt;
[sqlunit]   &amp;lt;resultset id="2"&amp;gt;&lt;br /&gt;
[sqlunit]     &amp;lt;row id="1"&amp;gt;&lt;br /&gt;
[sqlunit]       &amp;lt;col id="1" name="RequestTypeId"&lt;br /&gt;
type="adaptive_server_anywhere.SMALLINT"&amp;gt;4&amp;lt;/col&amp;gt;&lt;br /&gt;
[sqlunit]     &amp;lt;/row&amp;gt;&lt;br /&gt;
[sqlunit]   &amp;lt;/resultset&amp;gt;&lt;br /&gt;
[sqlunit] &amp;lt;/result&amp;gt;&lt;/p&gt;
&lt;p&gt;I get exactly the same result if I comment out any&lt;br /&gt;
other outparam line instead. It seems that the&lt;br /&gt;
out-of-bounds conditions occurs when more than 3&lt;br /&gt;
outparam lines are included in result.&lt;/p&gt;
&lt;p&gt;I'm using Sybase SQLAnywhere 9 with the jConnect 5.5&lt;br /&gt;
JDBC drivers, on Windows 2000.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Fernando Cuenca</dc:creator><pubDate>Tue, 28 Jun 2005 18:29:50 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net7d390a0cde147e1b5163e3650a269de3b30769d4</guid></item></channel></rss>