跳转到主内容

WFA自定义数据源采集失败、并且第1行"id"列的整数值不正确:"?N"

适用场景

OnCommand Workflow Automation 5.1.1P1

Windows 2012R2

问题描述

数据源采集失败、并且第1行"id"列的整数值不正确:"?N"

Datasource acquisition failure log: Caused by: java.sql.SQLException: (conn=18661) Incorrect integer value: '?N' for column 'id' at row 1 at org.mariadb.jdbc//org.mariadb.jdbc.internal.util.exceptions.ExceptionMapper.get(ExceptionMapper.java:198) at org.mariadb.jdbc//org.mariadb.jdbc.internal.util.exceptions.ExceptionMapper.getException(ExceptionMapper.java:110) at org.mariadb.jdbc//org.mariadb.jdbc.MariaDbStatement.executeExceptionEpilogue(MariaDbStatement.java:228) at org.mariadb.jdbc//org.mariadb.jdbc.MariaDbStatement.executeInternal(MariaDbStatement.java:334) at org.mariadb.jdbc//org.mariadb.jdbc.MariaDbStatement.executeUpdate(MariaDbStatement.java:520) at org.jboss.ironjacamar.jdbcadapters@1.4.16.Final//org.jboss.jca.adapters.jdbc.WrappedStatement.executeUpdate(WrappedStatement.java:430) at deployment.wfa-0.5.ear.common-0.5.jar//com.netapp.wfa.util.SqlShell.loadFromFile(SqlShell.java:208) ... 210 more Caused by: java.sql.SQLException: Incorrect integer value: '?N' for column 'id' at row 1 Query is: LOAD DATA INFILE 'C:/Program Files/NetApp/WFA/jboss/standalone/tmp/wfa/clusterlocation.csv' INTO TABLE wfa_staging.clusterlocation_ns_clusterlocation at org.mariadb.jdbc//org.mariadb.jdbc.internal.util.LogQueryTool.exceptionWithQuery(LogQueryTool.java:119) at org.mariadb.jdbc//org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.executeQuery(AbstractQueryProtocol.java:200) at org.mariadb.jdbc//org.mariadb.jdbc.MariaDbStatement.executeInternal(MariaDbStatement.java:328) ... 213 more 

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.