My Oracle Support Banner

Script Compilation Failed - Semantic Error around line nnn:Not all control paths lead to a return statement. (Doc ID 1970438.1)

Last updated on APRIL 30, 2018

Applies to:

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


Siebel version :
Database version : Oracle
OS version : Windows 2012

Customer has run Incremental Repository Merge (IRM) on IP2014 and tried to compile the full repository. Following error occurs :-

SBL-SCR-00125: Script compilation failed at line 5557307 in declarations section:
Syntax error at File "" Line 5557307 position 13:Invalid return statement. Return statement can't be used outside the function body.

SBL-SCR-00128: Script compilation failed at line 50 in procedure 'sortFilter':
Semantic Error around line 106:Not all control paths lead to a return statement.


To view full details, 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 a vibrant support community of peers and Oracle experts.