[NETCONF-202] No netconf connector can be spawned due to TransformerException: Can't transform to a Result of type javax.xml.transform.stax.StAXResult Created: 18/May/16  Updated: 15/Mar/19  Resolved: 20/May/16

Status: Resolved
Project: netconf
Component/s: netconf
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Jozef Behran Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Attachments: File bug1.tgz     File bug2.tgz    
Issue Links:
Duplicate
duplicates YANGTOOLS-614 master fails mounting controller-config Resolved
External issue ID: 5910

 Description   

Tested on: Beryllium, snapshot build 2315

When I configure a Netconf device (testtool with md-sal to be exact), I can see the device in the topology but any attempt to access its data will end up with "404: Mount point does not exist". Looking through the logs I can see error"Initialization in sal failed, disconnecting from device" with exception "IllegalStateException: Unable to serialize AbsoluteSchemaPath

{...some json blob, see the attachment at time...}

".



 Comments   
Comment by Jozef Behran [ 18/May/16 ]

Attachment bug2.tgz has been added with description: Test run exhibiting the bug

Comment by Jozef Behran [ 18/May/16 ]

Different test run, same symptoms, same bug.

Comment by Jozef Behran [ 18/May/16 ]

Attachment bug1.tgz has been added with description: Another test run exhibiting the bug

Comment by Tomas Cere [ 19/May/16 ]

Not clustering related currently no connectors can be spawned due to :
https://gist.github.com/cerko2/2a383fdf103895f098fb65113a52e1d3

seems like something has changed in yangtools.

Comment by Tomas Cere [ 19/May/16 ]

The offending anyxml's DOMSource looks valid:
<?xml version="1.0" encoding="UTF-8"?><filter xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" type="subtree">
<netconf-state xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">
<schemas/>
</netconf-state>
</filter>

Need to figure out why the transformer is failing with the above exception

Comment by Tomas Cere [ 20/May/16 ]

5917 has more info

Generated at Wed Feb 07 20:14:25 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.