Menu ▾ ▴

#30 System Error- Connection(__default) is NULL or incorrectly s

open
nobody
None
5
2014-08-14
2007-05-29
Anonymous
No

MY SQLUnit script(attached SQLUnit.xml) is throwing the following error-Connection(__default) is NULL or incorrectly specified. Which is a system bug.

My code is throwing following error-

D:\sqlunit>ant sqlunit-flat -Dtestfile=test/SQLUnit.xml
Buildfile: build.xml

init:

precompile:

compile:

def:

sqlunit-flat:
[sqlunit] *** Running SQLUnit file: test/SQLUnit.xml
[sqlunit] Getting connection(1)
[sqlunit] Setting up test...
[sqlunit] Running test[1]: select1 (0ms)
[sqlunit] Connection(__default) is NULL or incorrectly specified
[sqlunit] Tearing down test...
[sqlunit] Connection(__default) is NULL or incorrectly specified
[sqlunit] sqlunit-ant: Connection(__default) is NULL or incorrectly specified
[sqlunit] Connection(__default) is NULL or incorrectly specified

BUILD FAILED
D:\sqlunit\build.xml:163: Connection(__default) is NULL or incorrectly specified

Discussion

  • Nobody/Anonymous

    SQLUnit script file

     

Log in to post a comment.