C0000005 memory violation in a specific UBE

ybuffetaud

ybuffetaud

Active Member
Hi all i'm using JDE XE B7333 SP22

I'm facing a problem on a unique case.
My UBE is a launcher and it crashes for one case

Here is the log :
Opening UBE Log for report R5642535, version ZOL0002
--UBE--[0]-- Start Time : 11:20:36
--UBE--[0]-- EventRule : The ER line [50] for Event [13] in Section [Batch Lanceur] has caused a memory violation.

Here is the code for the launcher :
Listing of ER for Report: Batch lanceur de la confirmation automatique Exp (R564215C)


=======================================================================
SECTION: Batch Lanceur [GROUP SECTION] (S5)
=======================================================================
OBJECT: SECTION
EVENT: Do Section
-----------------------------------------------------------------------
0001 //
0002 // ============= Appel du batch d'dition des tiquettes de colisage
0003 // ============= Appel systmatique en cration - la premire fois
0004 If RI cFlageInsertModifEtiquette is equal to "I"
0005 If RI szVersion_R56ETCOL is not equal to <Blank>
And RI szVersion_R56ETCOL is not equal to <Null>
0006 CALL( UBE:R56ETCOL , Ver: RI szVersion_R56ETCOL )
RI mnPickSlipNumber -> mnPickSlipNumber
RI szVersion_R56ETCOL X Version
0007 Else
0008 // <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
0009 // YBUF UNILOG 13/07/2007
0010 // ZOLDEV08 : Etiquettes Zolpan
0011 If RI szVersion_R56ETCOLZ is not equal to <Blank>
And RI szVersion_R56ETCOLZ is not equal to <Null>
0012 CALL( UBE:R56ETCOLZ , Ver: RI szVersion_R56ETCOLZ )
RI mnPickSlipNumber -> mnPickSlipNumber
RI szVersion_R56ETCOLZ X Version
0013 End If
0014 // <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
0015 End If
0016 Else
0017 If RI cFlageInsertModifEtiquette is equal to "M"
0018 // ============= Appel conditionn en modification
0019 If RI cEdition_R56ETCOL is equal to "Y"
0020 If RI szVersion_R56ETCOL is not equal to <Blank>
And RI szVersion_R56ETCOL is not equal to <Null>
0021 CALL( UBE:R56ETCOL , Ver: RI szVersion_R56ETCOL )
RI mnPickSlipNumber -> mnPickSlipNumber
RI szVersion_R56ETCOL X Version
0022 Else
0023 // <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
0024 // YBUF UNILOG 13/07/2007
0025 // ZOLDEV08 : Etiquettes Zolpan
0026 If RI szVersion_R56ETCOLZ is not equal to <Blank>
And RI szVersion_R56ETCOLZ is not equal to <Null>
0027 CALL( UBE:R56ETCOLZ , Ver: RI szVersion_R56ETCOLZ )
RI mnPickSlipNumber -> mnPickSlipNumber
RI szVersion_R56ETCOLZ X Version
0028 End If
0029 // <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
0030 End If
0031 Else
0032 End If
0033 End If
0034 End If
0035 //
0036 // ============= Appel du batch d'dition du BPR
0037 If RI szVersion_R56472 is not equal to <Blank>
And RI szVersion_R56472 is not equal to <Null>
0038 CALL( UBE:R56472 , Ver: RI szVersion_R56472 )
RI mnPickSlipNumber -> mnUserReservedNumber
RI szVersion_R56472 X Version
0039 Else
0040 End If
0041 //
0042 // ============= Appel du batch de confirmation automatique de BL
0043 If RI szVersion_R42500 is not equal to <Blank>
And RI szVersion_R42500 is not equal to <Null>
0044 CALL( UBE:R42500 , Ver: RI szVersion_R42500 )
UNDEFINED X mnDocumentOrderInvoiceE
UNDEFINED X szOrderType
UNDEFINED X szCompanyKeyOrderNo
RI mnPickSlipNumber -> mnPickSlipNumber
"P564612B" -> szNameObject
RI szVersion_R42500 X Version
0045 Else
0046 End If
0047 //
0048 // ============= Appel du batch d'dition de BL
0049 If RI szVersion_R5642535 is not equal to <Blank>
And RI szVersion_R5642535 is not equal to <Null>
0050 CALL( UBE:R5642535 , Ver: RI szVersion_R5642535 )
UNDEFINED X mnDocumentOrderInvoiceE
UNDEFINED X szOrderType
UNDEFINED X szCompanyKeyOrderNo
"P564612B" -> szNameObject
UNDEFINED X szCommodityCode
UNDEFINED X mnAddressNumber
UNDEFINED X szCostCenter
UNDEFINED X mnLineNumber
RI mnPickSlipNumber -> mnPickSlipNumber
UNDEFINED X szReference1
"999" -> szStatusCodeNext
UNDEFINED X mnUnitsQuantityFuture
UNDEFINED X cSalesOrderStatus02
RI szVersion_R5642535 X Version
0051 Else
0052 End If
0053 //
0054 // ============= Appel du batch de contrle des expditions
0055 If RI szVersion_R564205C is not equal to <Blank>
And RI szVersion_R564205C is not equal to <Null>
0056 CALL( UBE:R564205C , Ver: RI szVersion_R564205C )
UNDEFINED X mnCarrier
RI mnShipmentNumber -> mnShipmentNumber
RI szVersion_R564205C X Version
0057 Else
0058 End If
0059 //

Friday April 11, 2008 14:29

My data selection for the R5642535 is only 335 records.
All the report interconnect and versions are good.

Do you have any idea for this problem?
Thanks
 
Hi,

Have you tried stopping JDE services, deleting
dddict, ddtext, glbltbl specs on the server and then
restarting JDE services?
 
Yes but the result was the same after on this case.
We made another full package.
I hope it will solve this problem
 
Yann,

I have had the occasional corruption problem where I had to delete the offending ER Line (50 in your case) and re-enter it, build and deploy a package to fix it. This may work for you.
 
Hi Peterbruce,

We faced the same problem. When calling another report, the report gets memory violation. We tried the solution you mentioned but it did not help. We deleted the line, reentered it, we also created a new version and used it, but the result was the same. Memory violation. Have you been able to solve this problem?

Thanks,
 
tkafadar,

Have you got a debug log for when the error occurs? If so, are there any errors or anything that may identify the cause of the memory violation?
 
Hi Peter,
Since the error occurs randomly, I do not have a debug log. I tried to get the same error in PY environment, but I was not successful. Users in PD environment randomly gets that error. I checked the line that the report got memory violation and saw that the error is created when calling another UBE. Any suggestion?

Thanks,
 
We had a similar issue but with table conversions and a later release (E810) but this fixed it ...

Do not use any literal strings in the report interconnect data structure. Instead create a variable, assign the value, and pass that.

Maybe it will help.
 
tkafadar,

What is your system config/release versions/etc?

Does Craig's suggestion help? Is the UBE that is being called when the error occurs a Table Conversion?
 
Hi,

I am sending jde.log below. As you see RUNBATCH.C1463 is giving Job of type UBE failed with rcode = 0 error. What does this mean? By the way, this UBE is working on enterprise server and is a table conversion.

6496/1476 Sat Nov 15 08:48:32 2008 JDEKPRNT.C1024
KNT0000119 - PRTTable_GetDefaultPrinterInfo failed to find printer: User: JDE Host: TRISTADB02

6496/1476 Sat Nov 15 08:48:32 2008 PrtPDFGen.C5354
UBE0000086 Warning: TrueType Font MS Sans Serif not found, font substituted: Adobe Type 1 font ArialMT

6496/1476 Sat Nov 15 08:48:32 2008 PrtPDFGen.C5354
UBE0000086 Warning: TrueType Font MS Sans Serif not found, font substituted: Adobe Type 1 font ArialMT

6496/1476 Sat Nov 15 08:48:32 2008 PrtPDFGen.C5354
UBE0000086 Warning: TrueType Font MS Sans Serif not found, font substituted: Adobe Type 1 font ArialMT

6496/1476 Sat Nov 15 08:48:32 2008 PrtPDFGen.C5354
UBE0000086 Warning: TrueType Font MS Sans Serif not found, font substituted: Adobe Type 1 font ArialMT

6496/1476 Sat Nov 15 08:48:32 2008 PrtPDFGen.C5354
UBE0000086 Warning: TrueType Font MS Sans Serif not found, font substituted: Adobe Type 1 font ArialMT

6496/1476 Sat Nov 15 08:48:33 2008 JDEKPRNT.C1024
KNT0000119 - PRTTable_GetDefaultPrinterInfo failed to find printer: User: JDE Host: LOCAL

6496/1476 Sat Nov 15 08:48:34 2008 JDEKPRNT.C1024
KNT0000119 - PRTTable_GetDefaultPrinterInfo failed to find printer: User: JDE Host: LOCAL

6496/1476 Sat Nov 15 08:48:34 2008 IPCPUB.C3515
API ipcSawUnregisterProcV1 : process 6496 unregistered in entry 24

6496/1476 Sat Nov 15 08:48:34 2008 RUNBATCH.C1463
Job of type UBE failed with rcode = 0

6496/1476 Sat Nov 15 08:48:34 2008 JDB_CTL.C4692
JDB4200003 - OPEN TABLE NOT CLOSED = F986110
 
tkafadar,

Any change of a debug log - it provides a bit more detail and should help in diagnosing and resolving the problem.
 
Do you have specs on Local ? or Are you submitting UBE locally did you
deployed specs on your local Machine?




--
Regards,
Nitin Shetye
 
Back
Top