ctakes-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CTAKES-281) JdbcCollectionReader throw SQLException on empty input row from external param file
Date Sat, 25 Jan 2014 16:02:38 GMT

    [ https://issues.apache.org/jira/browse/CTAKES-281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13881935#comment-13881935
] 

ASF subversion and git services commented on CTAKES-281:
--------------------------------------------------------

Commit 1561330 from [~britt.fitch] in branch 'ctakes/trunk'
[ https://svn.apache.org/r1561330 ]

CTAKES-281
prevent SQLException on null row in external resource file.

> 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)

Mime
View raw message