"INFINITE LOOP DETECTION WITHIN APPLICATION ER" Error Received when Running Custom Application

Purpose of Document

When running one custom interactive application, we are getting the following error in the e1root_xxx.log :

27 Oct 2010 08:19:34,313[SEVERE][1000183][RUNTIME]*** INFINITE LOOP DETECTION WITHIN APPLICATION ER:****
Form Name :P58S011_W58S011B_ZJDE0001
On Event: Row is Exit & Changed - Asynch, at ER Line = 39
While Statement: VA[25] == LI[String] = N && VA[24] == GC[23]
On Control-ID: 1
***********

What does this error mean?

The error is a result of an Infinite While loop experienced within the application program code.

To resolve the error, it is important to review the event rules of the problematic application, looking for issues where an infinite loop occurs. 

The following is an example of this type of problematic event rule.


0037 F4101.Select
       GC Search Text = TK Search Text - Compressed
0038 F4101.Fetch Next
       VA frm_LITM <- TK 2nd Item Number
       VA frm_SearchText <- TK Search Text
       VA frm_SRP8 <- TK Category Code 8
0039 //
0040 While VA frm_ChkFlag is equal to "N" And VA frm_SearchText is equal to GC Search Text
0041    If VA frm_LITM is not equal to GC Search Text And VA frm_SRP8 is equal to "1,2,3"
0042      VA frm_ChkFlag = Y
0043      GC Short Item No = VA frm_ITM
0044      GC 2nd Item Number = VA frm_LITM
0045 //
0046   Else
0047     F4101.Fetch Next
            VA frm_LITM <- TK 2nd Item Number
            VA frm_SearchText <- TK Search Text
            VA frm_SRP8 <- TK Category Code 8
0048   End If
0049 End While



NOTE:

 

 

NOTE:  Oracle is not responsible for incorrectly implemented custom event rules.  You can debug your custom application by capturing the jasdebug.log and then refine your application code so that it meets your requirement.