ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 43413] - ant sql task tries to execute commented lines with keepformat="true" and fails
Date Tue, 18 Sep 2007 09:06:17 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43413>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43413





------- Additional Comments From barahlo@hot.ee  2007-09-18 02:06 -------
Attaching error stacktrace:

C:\myproject\build.xml:23: java.sql.SQLException: Invalid SQL type
        at org.apache.tools.ant.taskdefs.SQLExec.execute(SQLExec.java:454)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
        at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute
(DispatchUtils.java:105)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:357)
        at org.apache.tools.ant.Target.performTasks(Target.java:385)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets
(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
        at org.apache.tools.ant.Main.runBuild(Main.java:698)
        at org.apache.tools.ant.Main.startAnt(Main.java:199)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Caused by: java.sql.SQLException: Invalid SQL type
        at oracle.jdbc.driver.DatabaseError.throwSqlException
(DatabaseError.java:112)
        at oracle.jdbc.driver.DatabaseError.throwSqlException
(DatabaseError.java:146)
        at oracle.jdbc.driver.DatabaseError.throwSqlException
(DatabaseError.java:208)
        at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:67)
        at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:946)
        at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout
(OracleStatement.java:1168)
        at oracle.jdbc.driver.OracleStatement.executeInternal
(OracleStatement.java:1687)
        at oracle.jdbc.driver.OracleStatement.execute(OracleStatement.java:1653)
        at org.apache.tools.ant.taskdefs.SQLExec.execSQL(SQLExec.java:564)
        at org.apache.tools.ant.taskdefs.SQLExec.runStatements(SQLExec.java:532)
        at org.apache.tools.ant.taskdefs.SQLExec$Transaction.runTransaction
(SQLExec.java:768)
        at org.apache.tools.ant.taskdefs.SQLExec$Transaction.access$000
(SQLExec.java:707)
        at org.apache.tools.ant.taskdefs.SQLExec.execute(SQLExec.java:438)
        ... 16 more
--- Nested Exception ---
java.sql.SQLException: Invalid SQL type
        at oracle.jdbc.driver.DatabaseError.throwSqlException
(DatabaseError.java:112)
        at oracle.jdbc.driver.DatabaseError.throwSqlException
(DatabaseError.java:146)
        at oracle.jdbc.driver.DatabaseError.throwSqlException
(DatabaseError.java:208)
        at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:67)
        at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:946)
        at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout
(OracleStatement.java:1168)
        at oracle.jdbc.driver.OracleStatement.executeInternal
(OracleStatement.java:1687)
        at oracle.jdbc.driver.OracleStatement.execute(OracleStatement.java:1653)
        at org.apache.tools.ant.taskdefs.SQLExec.execSQL(SQLExec.java:564)
        at org.apache.tools.ant.taskdefs.SQLExec.runStatements(SQLExec.java:532)
        at org.apache.tools.ant.taskdefs.SQLExec$Transaction.runTransaction
(SQLExec.java:768)
        at org.apache.tools.ant.taskdefs.SQLExec$Transaction.access$000
(SQLExec.java:707)
        at org.apache.tools.ant.taskdefs.SQLExec.execute(SQLExec.java:438)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
        at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute
(DispatchUtils.java:105)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:357)
        at org.apache.tools.ant.Target.performTasks(Target.java:385)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets
(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
        at org.apache.tools.ant.Main.runBuild(Main.java:698)
        at org.apache.tools.ant.Main.startAnt(Main.java:199)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message