You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apex.apache.org by "Hitesh Kapoor (JIRA)" <ji...@apache.org> on 2017/01/28 08:26:24 UTC
[jira] [Updated] (APEXMALHAR-2239) Null pointer exception in
JDBCPojoInputOperator when the field names do not match in Pojo, table
[ https://issues.apache.org/jira/browse/APEXMALHAR-2239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hitesh Kapoor updated APEXMALHAR-2239:
--------------------------------------
Attachment: testJdbcPojoInputOperator.txt
Refer my comment of 28th Jan
> Null pointer exception in JDBCPojoInputOperator when the field names do not match in Pojo, table
> ------------------------------------------------------------------------------------------------
>
> Key: APEXMALHAR-2239
> URL: https://issues.apache.org/jira/browse/APEXMALHAR-2239
> Project: Apache Apex Malhar
> Issue Type: Bug
> Affects Versions: 3.5.0
> Reporter: Venkatesh Kottapalli
> Assignee: Dongming Liang
> Priority: Minor
> Attachments: testJdbcPojoInputOperator.txt
>
>
> The following exception is thrown in JDBCPojoInputOperator when the field names for the table provided in the FieldInfo mapping don't match with the column names of the table.
> Exception:
> Abandoning deployment due to setup failure. java.lang.NullPointerException
> at com.datatorrent.lib.db.jdbc.JdbcPOJOInputOperator.activate(JdbcPOJOInputOperator.java:366)
> at com.datatorrent.lib.db.jdbc.JdbcPOJOInputOperator.activate(JdbcPOJOInputOperator.java:67)
> at com.datatorrent.stram.engine.Node.activate(Node.java:619)
> at com.datatorrent.stram.engine.StreamingContainer.setupNode(StreamingContainer.java:1336)
> at com.datatorrent.stram.engine.StreamingContainer.access$100(StreamingContainer.java:130)
> at com.datatorrent.stram.engine.StreamingContainer$2.run(StreamingContainer.java:1388)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)