Skip to Content
0
Former Member
Oct 13, 2011 at 09:03 AM

FlDataRecord.SetField() - Access Violation in User-Defined Transform

97 Views

Hi

I'm using a UserDefined transform DS4.0 SP01 Patch 2 (14.0.1.215) on Windows 7 with the following Python Code:

(mode = per Collection)

newRecord = DataManager.NewDataRecord(1)

#populate the record

newRecord.SetField(u'FIRSTNAME', u'ABC')

#add record to the collection

Collection.AddRecord(newRecord)

#clean up

del newRecord

.....However, the SetField() method causes an access violation (see below).

Is this a bug. or do I call the methods the wrong way?

Thanks for your response,

Martin

2320 9204 SYS-170101 13.10.2011 09:18:09 Process dump is written to <C:\Program Files (x86)\SAP BusinessObjects\Data Services\log\BODI_MINI20111013091807_2320.DMP> and

2320 9204 SYS-170101 13.10.2011 09:18:09 <C:\Program Files (x86)\SAP BusinessObjects\Data Services\log\BODI_FULL20111013091807_2320.DMP>

2320 9204 SYS-170101 13.10.2011 09:18:09 Call stack:

2320 9204 SYS-170101 13.10.2011 09:18:09 0x0000000000844989, icu::NumberFormat::format()+0041 byte(s)

2320 9204 SYS-170101 13.10.2011 09:18:09 0x0000000007DF2328, FlDataRecord::SetField()+0616 byte(s)

2320 9204 SYS-170101 13.10.2011 09:18:09 Registers:

2320 9204 SYS-170101 13.10.2011 09:18:09 RAX=0000000000000000 RBX=0000000000000005 RCX=0000000000000000 RDX=0000000000000005 RSI=0000000005718550

2320 9204 SYS-170101 13.10.2011 09:18:09 RDI=0000000000000008 RBP=0000000008871F00 RSP=0000000009D1E5B0 RIP=0000000000844989 FLG=0000000000010246

2320 9204 SYS-170101 13.10.2011 09:18:09 R8=0000000009D1E660 R9=0000000000000000 R10=0000000000650053 R11=0000000006C5B134 R12=0000000000000000

2320 9204 SYS-170101 13.10.2011 09:18:09 R13=0000000000000003 R14=0000000000000001 R15=0000000008871FC8

2320 9204 SYS-170101 13.10.2011 09:18:09 Exception code: C0000005 ACCESS_VIOLATION

2320 9204 SYS-170101 13.10.2011 09:18:09 Fault address: 0000000000844989 01:0000000000073989 C:\Program Files (x86)\SAP BusinessObjects\Data

2320 9204 SYS-170101 13.10.2011 09:18:09 Services\bin\bosap_icuin4.2.0.0_64.dll