You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ctakes.apache.org by "britt fitch (JIRA)" <ji...@apache.org> on 2014/01/25 17:02:38 UTC

[jira] [Created] (CTAKES-281) JdbcCollectionReader throw SQLException on empty input row from external param file

britt fitch created CTAKES-281:
----------------------------------

             Summary: JdbcCollectionReader throw SQLException on empty input row from external param file
                 Key: CTAKES-281
                 URL: https://issues.apache.org/jira/browse/CTAKES-281
             Project: cTAKES
          Issue Type: Bug
          Components: ctakes-core
    Affects Versions: 3.1.1
            Reporter: britt fitch
            Assignee: britt fitch
             Fix For: 3.1.2


When supplying an external input file for the JdbcCollectionReader if there are blank lines at the end of the input file defined in the xml descriptor for variable 'ValueFileResrcName' the reader will throw SQLException attempting to assign 'null' to input param.

Caused by: java.sql.SQLException: No value specified for parameter 1
	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1078)
	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:989)
	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:975)
	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:920)
	at com.mysql.jdbc.PreparedStatement.checkAllParametersSet(PreparedStatement.java:2612)
	at com.mysql.jdbc.PreparedStatement.fillSendPacket(PreparedStatement.java:2587)
	at com.mysql.jdbc.PreparedStatement.fillSendPacket(PreparedStatement.java:2511)
	at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2260)



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)