Clib.qsort() Causing Application Crash (Doc ID 2025031.1)

Last updated on JULY 12, 2017

Applies to:

Siebel CRM - Version [IP2013] and later
Information in this document applies to any platform.


Clib.qsort() causing application crash

The issue can be reproduced at will with the following steps:

1. Data is requested from external system and hold in a VBC.
2. The applet, in which the data is displayed, should provide sorting functionality.

Sorting is done using Clib.qsort() function.

3. As described in Bookshelf , created the sorting function:

function AscSorter(latemp1, latemp2)
//Doing the case in-sensitive string compare & return the results to Clib.qsort().
  var lsCompareResult:String = Clib.stricmp(latemp1,latemp2);

This is then used with:

Clib.qsort(laTemp, "AscSorter");

While debugging the crash occurs exactly on this code line causing the following log:

EventContext EvtCtxApplet 4 0000000355522c5c:0 2015-05-12 15:36:29 CRMT Customer ISP Data Inclusive User List Applet (SortAscending)
ProcessRequest ProcessRequestDetail 4 0000000355522c5c:0 2015-05-12 15:36:29 SWE Frame Manager - Invoke Applet Method: applet=CRMT Customer ISP Data Inclusive User List Applet; method=SortAscending




Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms