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

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

     [ https://issues.apache.org/jira/browse/APEXMALHAR-2316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bhupesh Chawda resolved APEXMALHAR-2316.
----------------------------------------
       Resolution: Fixed
    Fix Version/s: 3.7.0

> 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
>             Fix For: 3.7.0
>
>
> 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)