[
https://issues.apache.org/jira/browse/APEXMALHAR-2239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15878743#comment-15878743
]
Dongming Liang commented on APEXMALHAR-2239:
--------------------------------------------
[~Hitesh_]I'll work on the comments today.
> Null pointer exception in JDBCPojoInputOperator is thrown when we set a query
> to fetch rows and have additional columns in fieldInfos
> -------------------------------------------------------------------------------------------------------------------------------------
>
> 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.15#6346)