IP2014 - Full Compile Fails Because Of Error "Not All Control Paths Lead To A Return Statement...SBL-SCR-00128"
Last updated on MARCH 02, 2017
Applies to:Siebel Tools - Version 184.108.40.206.3 [IP2014] and later
Information in this document applies to any platform.
We have just upgraded to IP2014 patchset 3 and we are trying to perform a full compile. The full compile fails repeatedly with this error message:
"Script compilation failed at line XX in procedure 'methodName':
Semantic Error around line XXX:Not all control paths lead to a return statement.
If we fix this for one script, it just fails for the next script. This would be fine if the error message made sense, but for every single script so far, the error message seems to be false.
If we make sure every single return statement is within an "if", "else if" or "else" then the error message goes away and the fullcompile continues (and then fails at the next script). You can see this behavior with the attached file "bsfail.txt" which fails with this error, and "bsok.txt" that is "fixed". Please note the useless "if" statement added as workaround. Note also that the original "bsfail.txt" is semantically correct as it will always reach the return statement, unless an error is caught.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms