Details
-
Bug
-
Status: Resolved
-
Resolution: Done
-
None
-
None
-
None
-
Operating System: All
Platform: All
-
2424
Description
My device schema is of size around 7MB. If i manually put that schema in cache/schema directory, controller is
able to compile this and establish connection with the device and able to respond to restconf queries.
But when controller fetches it from the device using get-schema, i see such exceptions
io.netty.handler.codec.DecoderException: org.xml.sax.SAXParseException; lineNumber: 18008; columnNumber: 83; The content of elements must consist of well-formed character data or markup.
at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:280) [bundlefile:4.0.23.Final]
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:149) [bundlefile:4.0.23.Final]
io.netty.handler.codec.DecoderException: org.xml.sax.SAXParseException; lineNumber: 2; columnNumber: 16; Content is not allowed in prolog.
at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:280) [bundlefile:4.0.23.Final]
at io.netty.handler.codec.ByteToMessageDecoder.channelInactive(ByteToMessageDecoder.java:205) [bundlefile:4.0.23.Final]
Just to verify that the schema which is being fetched by device does not have any issue, I downloaded that schema through
get-schema and compiled using pyang and it compiled well.
Attachments
Issue Links
- is duplicated by
-
CONTROLLER-1038 Message transfer halt while transfering big messages towards netconf client
- Resolved