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-2316) Cannot register tuple class in XmlParser Operator
Date Fri, 02 Dec 2016 10:57:58 GMT

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

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

Github user asfgit closed the pull request at:

    https://github.com/apache/apex-malhar/pull/506


> Cannot register tuple class in XmlParser Operator
> -------------------------------------------------
>
>                 Key: APEXMALHAR-2316
>                 URL: https://issues.apache.org/jira/browse/APEXMALHAR-2316
>             Project: Apache Apex Malhar
>          Issue Type: Bug
>            Reporter: Hitesh Kapoor
>            Assignee: Hitesh Kapoor
>
> Unable to set the tuple class attribute, getting the following stack trace 
> Abandoning deployment due to setup failure. java.lang.IllegalArgumentException
> 	at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:635)
> 	at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:584)
> 	at com.datatorrent.lib.parser.XmlParser.setup(XmlParser.java:135)
> 	at com.datatorrent.lib.parser.XmlParser.setup(XmlParser.java:63)
> 	at com.datatorrent.stram.engine.Node.setup(Node.java:187)
> 	at com.datatorrent.stram.engine.StreamingContainer.setupNode(StreamingContainer.java:1309)
> 	at com.datatorrent.stram.engine.StreamingContainer.access$100(StreamingContainer.java:130)
> 	at com.datatorrent.stram.engine.StreamingContainer$2.run(StreamingContainer.java:1388).
> The problem is we are trying to use TUPLE_CLASS before it is properly initialized.To
fix this issue some part of code should be moved to activate() from setup(). 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message