F9/Send Email causes OM crash if BusComp_PreQuery has RaiseErrorText method (Doc ID 1998003.1)

Last updated on MARCH 02, 2017

Applies to:

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


The following code is written in BusComp_PreQuery to prevent a query without search spec in All view:

BusComp_PreQuery ()
    var view_name = TheApplication().ActiveViewName();
    var search_spec = this.GetSearchExpr();
    if (view_name == "All view" || search_spec == "") {
        TheApplication().RaiseErrorText("You must search with search condition");

On the view which is based on BC which has above code, when you press F9 key or run 'Send Email' application menu, the object manager crashes with the following call stack:


sscaswbc +0xe7880 = CSSSWEFrameMgr::GetUdfLoader() +0x0
SSCMCLNT +0x327b5 = CSSSWEFramePickLangLocale::CreateObject() +0x115
sscaswbc +0x620ee = CSSSWEFrame::MakePopup() +0x1ae
sscaswbc +0x34c8e = CSSSWEFrame::MakeApplet() +0x22e
sscaswbc +0x3aa1b = CSSSWEFrame::OnActionsShowPopup() +0x49b
sscaswbc +0x38384 = CSSSWEFrame::DoInvokeMethod() +0x304
sscaswbc +0xb1b83 = CSSSWEFrameList::DoInvokeMethod() +0x2f3
sscaswbc +0x306f9 = CSSSWEFrame::InvokeMethod() +0x149
sscaswbc +0xe6370 = CSSSWEFrameMgrInternal::InvokeAppletMethod() +0xa80
sscaswbc +0xbbb4c = CSSSWECmdProcessor::InvokeMethod() +0x74c
sscaswbc +0xc1305 = CSSSWECmdProcessor::_ProcessCommand() +0x725
sscaswbc +0xc2668 = CSSSWECmdProcessor::ProcessCommand() +0xab8
sscaswbc +0xc2b74 = CSSSWECmdProcessor::ProcessCommand() +0xc4
sscaswbc +0x2654e9 = CSSServiceSWEIface::Request() +0x309
sscaswbc +0x267321 = CSSServiceSWEIface::DoInvokeMethod() +0xed1
sscfom +0x18cac = CSSService::InvokeMethod() +0x24c
sstcsiom +0x6d6a = CSSSIOMSession::ModInvokeSrvcMethod() +0x10a
sstcsiom +0x7613 = CSSSIOMSession::RPCMiscModel() +0x513
sstcsiom +0xe9dd = CSSSIOMSession::HandleRPC() +0x3ad
sssasos +0x6616 = CompCleanup() +0x3be6
sssasos +0x5a95 = CompCleanup() +0x3065
sssasos +0x1a35 = CSSSISObject::operator=() +0x9f5
sssasos +0x2135 = CompHandleMsg() +0x485
siebmtshmw +0x494e
siebmtshmw +0x20051 = GetSmiTaskAPI() +0x6d21
siebmtshmw +0x239d1 = SmiInProcMsgHandler() +0x2051
siebmtshmw +0x15f15 = SmiBeginTrace() +0x3195
siebmtshmw +0x174cf = GetSmiWorkQObj() +0x148f
siebmtshmw +0xc7f7 = SmiCleanupDetTask() +0x3be7
sslcosd +0x2152 = OSDThreadPrivIsInit() +0x1d2
sslcosd +0x21dc = OSDThreadPrivIsInit() +0x25c
MSVCR71 +0x9565 = endthreadex() +0xa0
kernel32 +0x1338a = BaseThreadInitThunk() +0x12
ntdll +0x3bf32 = RtlInitializeExceptionChain() +0x63
ntdll +0x3bf05 = RtlInitializeExceptionChain() +0x36




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