Sun Apr 21, 2019 8:09 pm
Login Register Lost Password? Contact Us


Error:CMemoryBufferSerialStream::get read past end of stream

Comments and questions related to the Enterprise Control Language

Tue Apr 02, 2019 12:56 pm Change Time Zone

Hi,
I published the code given below in Thor
Code: Select all
InChildRec := RECORD
   STRING20 Child1;
END;

InRec := RECORD
   STRING20 Col1;
   DATASET(InChildRec) Children;
END;


DATASET(InRec) InDs := DATASET([],InRec) :STORED('InputData');

OUTPUT(InDs, NAMED('barf'));


and it throws the exception:

Code: Select all
Exception
Reported by: eclagent
Message: System error: -1: Graph[1], workunitread[2]: SLAVE #1 [XXX.XXX.XXX.XXX:PPPPP]: CMemoryBufferSerialStream::get read past end of stream (20,8),


The same code works fine in Roxie. I guess it is not allocating space for storing the dataset while compiling. Can you help?

Cheers
Srini
omnibuzz
 
Posts: 94
Joined: Wed Feb 06, 2013 2:02 pm

Tue Apr 02, 2019 1:49 pm Change Time Zone

Srini,

Since it works in Roxie but not in Thor, I can only suggest a JIRA report requesting Thor support for DATASET parameters.

HTH,

Richard
rtaylor
Community Advisory Board Member
Community Advisory Board Member
 
Posts: 1444
Joined: Wed Oct 26, 2011 7:40 pm

Tue Apr 02, 2019 2:15 pm Change Time Zone

Sure. Thanks, Richard.
Regards
Srini
omnibuzz
 
Posts: 94
Joined: Wed Feb 06, 2013 2:02 pm


Return to ECL

Who is online

Users browsing this forum: No registered users and 0 guests