Question

Reading XML file in directory it shows error how to fix?

  • 9 August 2023
  • 1 reply
  • 14 views

Userlevel 2

 ERROR Shown Is:- ANy One SuGgest to fix ThIs ErRor

Timestamp Error Code Error Message
Aug 9, 2023, 5:41:08 PM SPOOLDIR_02 SPOOLDIR_02 - Object in file 'beautified.xml' at offset '0' exceeds maximum length (View Stack Trace... )
Aug 9, 2023, 5:41:08 PM SPOOLDIR_01 SPOOLDIR_01 - Failed to process file '/resources/beautified.xml' at position '0': com.streamsets.pipeline.lib.dirspooler.BadSpoolFileException: com.streamsets.pipeline.lib.parser.DataParserException: XML_PARSER_02 - XML object exceeded maximum length: readerId 'beautified.xml', offset '0', maximum length '4096' (View Stack Trace... )

 


1 reply

Userlevel 4
Badge

Hi @lakshmi_narayanan_t Would you  attempt to increase the value of "Max Record Length (chars)"? Ideally, if you click on the "view trace" option, you should be able to observe the length of the object. Please adjust this value greater then that.

 

Reply