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

Hitesh Kapoor updated APEXMALHAR-2316:
--------------------------------------
    Description: 
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(). 

  was:
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)


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

Reply via email to