Free memory pointer BSFN ending UBE in error

Hi,
Free memory pointer BSFN(B4000460) ending UBE in error, has anyone faced this earlier? Please advise.
We are on Enterprise One 8.12, release 8.98.4.2.

We have a UBE to create local(Brazil) tax lines for a voucher and for creating these lines we are using a custom BSFN (copied from B76B0431). The UBE creates these tax lines for multiple vouchers and we have noticed that when the Voucher count in going more than 600 some of the insert statements(thru in the custom BSFN) are throwing primary key violation errors.
In the logs we found that Remove data ptr is missing and also as the Vouchers as many the pointer value is exceeding 999. We have then used the B4000460 to free the data pointer after the Custom BSFN. When testing on local(fat client) the pointer is initialized and the UBE completes successfully but when we run the same on web the UBE ends immediately in error when the B4000460 is triggered.


We found the below errors in logs.


---------------------
jde.log

INFO: Entering kernel signal handler, process exiting soon: iParam: 1421707665
Last Debug Time Stamp: Mon Jan 19 17:47:46.066403
INFO: In kernel signal handler, starting alarm handler: iParam: 1421707666
Last Debug Time Stamp: Mon Jan 19 17:47:46.066403
INFO: Done setting IPC Handle State structures to abandoned, process exiting immediately: iParam: 1421707666
---------------------------------
jdedebug.log
******************************************************************
Jan 19 17:47:45.059854 jdeobj.c2647 - 16810/-165333296 WRK:Starting jdeCallObject *** Start dumping data structure for business function FreeDataPointerCustom
Jan 19 17:47:45.059863 jdeobj.c2649 - 16810/-165333296 WRK:Starting jdeCallObject **********************************************************************************
Jan 19 17:47:45.059882 jdeobj.c2739 - 16810/-165333296 WRK:Starting jdeCallObject IN->[ 1] <Item>: idGenericLong <type>: ID <Value>: [1001]
Jan 19 17:47:45.059892 jdeobj.c2746 - 16810/-165333296 WRK:Starting jdeCallObject **********************************************************************************
Jan 19 17:47:45.059901 jdeobj.c2749 - 16810/-165333296 WRK:Starting jdeCallObject *** End dumping data structure for business function FreeDataPointerCustom
Jan 19 17:47:45.059910 jdeobj.c2751 - 16810/-165333296 WRK:Starting jdeCallObject **********************************************************************************
Jan 19 17:47:45.059918 jdeddapi.c315 - 16810/-165333296 WRK:Starting jdeCallObject Entering jdeCloseDictionary
Jan 19 17:47:45.059926 jdeddapi.c349 - 16810/-165333296 WRK:Starting jdeCallObject Exited jdeCloseDictionary with DDType 0
Jan 19 17:47:45.059948 jdb_ctl.c6449 - 16810/-165333296 WRK:Starting jdeCallObject Entering JDB_InitBhvr
Jan 19 17:47:45.059956 jdb_ctl.c6538 - 16810/-165333296 WRK:Starting jdeCallObject Exiting JDB_InitBhvr with Success (UserHandle 09b5fa28)
Jan 19 17:47:45.059973 jdb_utl1.c12800 - 16810/-165333296 WRK:Starting jdeCallObject Decremented DataPointer count to 0
Jan 19 17:47:45.062444 jdecallstk.c525 - 16810/-165333296 WRK:Starting jdeCallObject Entering jdeGetCallStack: PID=16810
Jan 19 17:47:46.066403 jdecallstk.c537 - 16810/-165333296 WRK:Starting jdeCallObject Exiting jdeGetCallStack (succeeded): PID=16810
-----------------------------

When we executed the Custom BSFN thru object browser we see the below error in the jde.log. (Only store and retrieve pointer used in this Custom BSFN, remove pointer not used as we want to read the cache seperately)

1168/1976 WRK:Starting jdeCallObject Mon Feb 23 11:30:48.082001 Jdb_utl1.c2884
JDB9900859 - The pointer handle (1001) is outside the allowable range.
This most likely means that the pointer was allocated on the server but this is running on the client.
To fix this business function mappings need to be modified.
----------------------------
 

Chan Rana

Legendary Poster
from log it looks like the function is designed to run on fat client only. Else check the OCM mapping if it is only mapped to run locally.

Chan
 
Top