You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apex.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/12/02 10:57:58 UTC

[jira] [Commented] (APEXMALHAR-2316) Cannot register tuple class in XmlParser Operator

    [ 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)