apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (APEXMALHAR-2239) Null pointer exception in JDBCPojoInputOperator is thrown when we set a query to fetch rows and have additional columns in fieldInfos
Date Mon, 02 Oct 2017 16:26:00 GMT

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

ASF GitHub Bot commented on APEXMALHAR-2239:
--------------------------------------------

vrozov closed pull request #546: APEXMALHAR-2239 Handle Null pointer exception in JDBCPojoInputOperator
URL: https://github.com/apache/apex-malhar/pull/546
 
 
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> 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.4.14#64029)

Mime
View raw message