Ending an Endless Loop

          while (! source.nextTokenIs('}'))
               dec = new ClassMemberDeclaration();         
               dec.compile(source);
          }basically this question is regarding the above loop. This is a while loop that is looking for curly braces (i.e. } ) . But if there are no curly braces of that kind in the file that i am reading then this while loop becomes an endless loop. hence is there any way of timing this method, and after certain time (say 20 seconds the while loop is aborted and a message is displayed saying that the closing curly brace was not found????
please ignore the body of the method as it was just put there so that you could understand what i was on about.
please do reply, thank you
best regards
alpha

Endless loop? See this thread: http://forum.java.sun.com/thread.jsp?forum=31&thread=531136&tstart=0&trange=15

Similar Messages

  • How do I end an endless loop of Terms and Conditions pages?

    I'm trying to purchase an item from the store and am stuck in an endless loop on the new terms and condition page. I check the box and click agree- and the terms and condition page is reloaded. Please help me spend money on music. Thanks

    I tried going through all 60+ pages of agreement already on my phone, even scrolled all the way through in iTunes. Even tried some of the older fixes from the loops in iOS 5 and before. Anyone else have other ideas? Hopefully before reports of iPads and iPhones being smashed. Lol

  • Endless loop condition

    Hi there,
    Working on a client/server chat application. On the client side app, everytime I want to send a message I create a new Thread called "SendingThread". See below.
    import java.io.*;
    import java.net.*;
    public class SendingThread extends Thread
      private Socket clientSocket;
      private String messageToSend;
      public SendingThread(Socket socket, String userName, String message)
           super("SendingThread: " + socket);
           clientSocket = socket;
           messageToSend = userName + Constants.MESSAGE_SEPERATOR + message;
      public void run()
           try
                PrintWriter writer = new PrintWriter(clientSocket.getOutputStream());
                writer.println(messageToSend);
                writer.flush();
                writer.close();
           catch(IOException ioe)
                System.out.println("Server must have closed connection");
                ioe.printStackTrace();
    }As you can see the line writer.close() is important in regard to a Thread that is running on the server app called "ReceivingThread" (see below). In the ReceivingThread there is a line:
    if((temp = input.readLine()) != null)
    It blocks until I actually send a message to read in. This is expected. However, now I have a catch 22 situation. On the client side app, since I called writer.close(), this was necessary in order to get a null value during the readLine() call on the ReceivingThread on the server. The one line gets processed as expected. The stream is now closed and on the server side app, since this is true, the next iteration of the while loop attempts to read in another line but now it is alway null and thus I wind up with an endless loop condition. I introduced a "count" variable and a condition only so that the loop wouldn't get away too far. I was hoping it would block again, but it isn't. I believe the ReceivingThread is written correctly, but I need to somehow obtain a null value on the stream for message completion and also have the ReceivingThread block for the next message coming in.
    Please advise,
    Alan
    public class ReceivingThread extends Thread
      private BufferedReader input;
      private MessageListener messageListener;
      private boolean keepListening = true;
      public ReceivingThread(MessageListener listener, Socket clientSocket)
           super("ReceivingThread: " + clientSocket);
           messageListener = listener;
           try
                clientSocket.setSoTimeout(50000);
                input = new BufferedReader(new InputStreamReader(clientSocket.getInputStream()));
           catch(IOException ioe){ioe.printStackTrace();}
      public void run()
           StringBuffer messageBuffer = new StringBuffer();
           String temp = "";
           int messageCount = 0;
           int count = 0;
             //START:
             while(keepListening)
               while(true)
                  try
                    //In order to receive a null, the client app
                    //has to close the stream!  Otherwise, this
                    //will block indefinitely.
                    System.out.println("blocking...");
                    if((temp = input.readLine()) != null)
                       if(messageCount == 0)
                            messageBuffer.append(temp);
                            messageCount++;
                            System.out.println("temp: " + temp);
                       else
                         //When we use the readLine method, it strips
                         //off the newline character, so we need to
                         //put it back.
                         messageBuffer.append("\n" + temp);
                         System.out.println("temp: " + temp);
                    else
                         break;
                  catch(IOException ioe)
                       System.out.println("IOException...");
                       ioe.printStackTrace();
                       //break;
               }//end while
                //System.out.println("out of inner while loop...message:\n" + messageBuffer.toString());
                String message = messageBuffer.toString();
                System.out.println("message: " + message);
                StringTokenizer tokenizer = new StringTokenizer(message, Constants.MESSAGE_SEPERATOR);
                if(tokenizer.countTokens() == 2)
                     System.out.println("message received");
                     messageListener.messageReceived(tokenizer.nextToken(), tokenizer.nextToken());
                     //reset string variables
                     messageCount = 0;
                     temp = "";
                     messageBuffer.delete(0, messageBuffer.length());
                     message = "";
                else
                    //System.out.println("checking disconnect string: " + message);
                   if(message.equalsIgnoreCase(Constants.MESSAGE_SEPERATOR + Constants.DISCONNECT_STRING))
                          stopListening();
                count++;
                if(count > 3)break;
             }//end while
             try
               //System.out.println("closing ReceivingThread");
               input.close();        
             catch(IOException ioe){ioe.printStackTrace();}
      public void stopListening()
           keepListening = false;
    }Edited by: ashiers on Nov 21, 2007 7:33 AM
    Edited by: ashiers on Nov 21, 2007 7:34 AM

    I'm not quite sure what you want to happen here. Here is what I would expect from the code you posted:
    *1.* The client connects and sends its message to the server.
    *2.* The server iterates through the line-reading loop until it exhausts the input (input.readLine() == null) and breaks out of the while (true) loop. The "temp: foo" messages are written to standard output accordingly.
    *3.* The server reaches the message portion of the loop and writes the "message: foo" to standard output.
    *4.* The server hits the end of the "while (keepListening)" loop and (assuming that you didn't receive a disconnect message) keepListening is still true. So it loops back around.
    *5.* The first time through the while (true) loop, the input is still empty (of course). So you get a null.
    *6.* Next, you get a "message: foo" output.
    *7.* Repeat *4* through *6* until your computer hardware fails or you abort the program. (Except that you added that count thing, so it'll loop three times and then break.)
    What are you trying to make the "keepListening" loop do? It doesn't seem like it should be there at all. At no point does this reading thread get the opportunity to read from any other socket. It almost seems like you want to spawn one ReceivingThread for each Socket you receive from the ServerSocket; if that's the case, the main thread (or whichever thread you have running that code and spawning the ReceivingThreads should be inside of the while (keepListening) loop.
    Any help?

  • Data load results in Endless loop

    hi guys
    i have a infopackage in a process chain it was working fine, until i retransported the process chain without the info package, now when i run the process chain or the info package(without process chain) it goes into an endless loop. i get a short dump "MESSAGE_TYPE_X" after hours, it just keeps on loading 2000 rec's in every data packet. any ideas what happeend and what went wrong.
    i have tried re trasporting the same infopackage from DEV again i get the same error, please suggest any thing else i can try to check whats going on why is the load not ending.
    thanks

    Hi,
    this error may occure when there is shortage of resource, work processor.
    may be the IDOC are stocked in Source system needs to passed to BW.
    use the BD87 and process manually or may be you can check in the Sm58 also for the stocked LUWs and process manually.
    Regards,
    Vishwa

  • Run script in endless loop

    This seems to be asked from time to time and I haven't seen a viable solution (so it probably doesnt exist)
    I have a script I want to run forever on a dedicated box.  I basically want ae to read through a directory every minute or so looking for a certain file.
    If I just keep looping the function AE quickly crashes.  I tried putting $.sleep(10000) at the end, which didn't crash as quickly, but eventually it did too.
    Is there any way to run a script in an endless loop (and why doesnt setInterval work as it is part of the javacsript language)
    Mike Cardeiro
    Editor/Animator/Compositor                
    D4 Creative Group - Philadelphia, PA   
    http://www.michaelcardeiro.com/resume/
    http://www.youtube.com/user/mcardeiro

    got it to work using app.scheduleTask("main()", 20000, true);
    seems to work perfectly (much better than $.sleep...I thought I had read that scheduleTask() doesnt work in ae.  It seems like exactly what I needed.
    Mike Cardeiro
    Editor/Animator/Compositor                
    D4 Creative Group - Philadelphia, PA   
    http://www.michaelcardeiro.com/resume/
    http://www.youtube.com/user/mcardeiro

  • Endless loop when clicking on ADF TreeTable Node with multiple Parents

    Using Jdev 11.1.2.2.0.
    I have been using the ADF Tree Table to render a parent/child relationship table(using EO's and VO's); this table allows a child node to have many parents. I've followed the example from Code Corner #32 "How to create a tree table from a single View Object and how to access selected rows" but my example is a little different. I have a Hierarchy Table that lists it's TopNode and then I have a Relationship (parent/child) table that includes the relationships for that hierarchy. I've created the ViewLinks between the Hierarchy VO and the Relationship VO and everything shows up fine in the ADF BC Tester.
    The tables look like the following (Note: the node 5 has multiple parents (4&3)
    Hierarchy Table:
    ID NAME TOPNODEID
    1 HIER1 1
    PARENTCHILDTABLE
    PARENT_ID CHILD_ID
    1 2
    1 3
    2 4
    4 5
    3 5
    -1 1
    The View Links I have setup are the (TopNodeID to ChildID... 1 to 1) as well as the (Child_Id to Parent_ID.. 1 to *).
    I added a tree table to a jsf page; I setup the bindings correctly with the Hierarchy vo as the top level object and the relationship VO as the parent/child (self referencing) table.
    However, when I start expanding some of the nodes at runtime in the JSF page and when I click on the child 5 an hour glass appears and it seems to be in an endless loop. Has anyone seen this before or anyone know why this gets into an endless loop.
    Edited by: user623583 on Aug 21, 2012 7:26 AM

    No exceptions occur but I was able to turn on logging (oracle.adf*) and this shows up. This is only a portion of what gets logged as it seems to log the same thing over and over while in the endless loop. The loop is intermittent too; it doesn't occur all the time. It seems to occur when I click on one of the duplicate nodes OR try to expand one of the duplicate nodes and/or one of their parents.
    <UIXRegion> <processEvent> RegionModel associated with component client ID: pt1:pt_region11
    <UIXRegion> <processEvent> RegionModel associated with component client ID: pt1:pt_region12
    <UIXRegion> <processEvent> RegionModel associated with component client ID: pt1:pt_region13
    <UIXRegion> <processEvent> RegionModel associated with component client ID: pt1:pt_region14
    <UIXInclude> <_tearDownIncludeContext> UIXInclude._tearDownIncludeContext() - Client ID: pt1
    <UIXPageTemplate> <_tearDownPageTemplateContext> UIXPageTemplate._tearDownPageTemplateContext()
    <UIXPageTemplate> <_tearDownPageTemplateContext> UIXPageTemplate._tearDownPageTemplateContext() - model var was being managed by the component.
    <LoggingRequestWrapper> <setAttribute> Setting the value of 'bindings' to oracle_epm_view_view1PageDef
    <UIXPageTemplate> <_setupPageTemplateContext> UIXPageTemplate._setupPageTemplateContext()
    <UIXInclude$ContextualFacesBeanWrapper> <getProperty> UIXInclude$ContextualFacesBeanWrapper.getProperty() - _inContext = false and key.getName() = value
    <UIXPageTemplate> <_setupPageTemplateContext> UIXPageTemplate._setupPageTemplateContext() - model var is being managed by the component.
    <LoggingRequestWrapper> <setAttribute> Setting the value of 'bindings' to ptb1
    <UIXInclude> <_setupIncludeContext> UIXInclude._setupIncludeContext() - Client ID: pt1
    <UIXInclude> <_tearDownIncludeContext> UIXInclude._tearDownIncludeContext() - Client ID: pt1
    <UIXPageTemplate> <_tearDownPageTemplateContext> UIXPageTemplate._tearDownPageTemplateContext()
    <UIXPageTemplate> <_tearDownPageTemplateContext> UIXPageTemplate._tearDownPageTemplateContext() - model var was being managed by the component.
    <LoggingRequestWrapper> <setAttribute> Setting the value of 'bindings' to oracle_epm_view_view1PageDef
    <UIXPageTemplate> <_setupPageTemplateContext> UIXPageTemplate._setupPageTemplateContext()
    <UIXInclude$ContextualFacesBeanWrapper> <getProperty> UIXInclude$ContextualFacesBeanWrapper.getProperty() - _inContext = false and key.getName() = value
    <UIXPageTemplate> <_setupPageTemplateContext> UIXPageTemplate._setupPageTemplateContext() - model var is being managed by the component.
    <LoggingRequestWrapper> <setAttribute> Setting the value of 'bindings' to ptb1
    <UIXInclude> <_setupIncludeContext> UIXInclude._setupIncludeContext() - Client ID: pt1
    <UIXInclude> <tearDownChildrenVisitingContext> UIXInclude.tearDownChildrenVisitingContext() - Client ID: pt1, called by oracle.adf.view.rich.component.fragment.UIXPageTemplate.tearDownChildrenVisitingContext at 275
    <UIXInclude> <_tearDownIncludeContext> UIXInclude._tearDownIncludeContext() - Client ID: pt1
    <UIXPageTemplate> <_tearDownPageTemplateContext> UIXPageTemplate._tearDownPageTemplateContext()
    <UIXPageTemplate> <_tearDownPageTemplateContext> UIXPageTemplate._tearDownPageTemplateContext() - model var was being managed by the component.
    <LoggingRequestWrapper> <setAttribute> Setting the value of 'bindings' to oracle_epm_view_view1PageDef
    <UIXPageTemplate> <_setupPageTemplateContext> UIXPageTemplate._setupPageTemplateContext()
    <UIXInclude$ContextualFacesBeanWrapper> <getProperty> UIXInclude$ContextualFacesBeanWrapper.getProperty() - _inContext = false and key.getName() = value
    <UIXPageTemplate> <_setupPageTemplateContext> UIXPageTemplate._setupPageTemplateContext() - model var is being managed by the component.
    <LoggingRequestWrapper> <setAttribute> Setting the value of 'bindings' to ptb1
    <UIXInclude> <setupChildrenVisitingContext> UIXInclude.setupChildrenVisitingContext() - Client ID: pt1, called by oracle.adf.view.rich.component.fragment.UIXPageTemplate.setupChildrenVisitingContext at 249
    <UIXInclude> <_setupIncludeContext> UIXInclude._setupIncludeContext() - Client ID: pt1
    <UIXInclude> <_tearDownIncludeContext> UIXInclude._tearDownIncludeContext() - Client ID: pt1
    <UIXPageTemplate> <_tearDownPageTemplateContext> UIXPageTemplate._tearDownPageTemplateContext()
    <UIXPageTemplate> <_tearDownPageTemplateContext> UIXPageTemplate._tearDownPageTemplateContext() - model var was being managed by the component.
    <LoggingRequestWrapper> <setAttribute> Setting the value of 'bindings' to oracle_epm_view_view1PageDef
    <UIXPageTemplate> <_setupPageTemplateContext> UIXPageTemplate._setupPageTemplateContext()
    <UIXInclude$ContextualFacesBeanWrapper> <getProperty> UIXInclude$ContextualFacesBeanWrapper.getProperty() - _inContext = false and key.getName() = value
    <UIXPageTemplate> <_setupPageTemplateContext> UIXPageTemplate._setupPageTemplateContext() - model var is being managed by the component.
    <LoggingRequestWrapper> <setAttribute> Setting the value of 'bindings' to ptb1
    <UIXInclude> <_setupIncludeContext> UIXInclude._setupIncludeContext() - Client ID: pt1
    <UIXInclude> <tearDownChildrenVisitingContext> UIXInclude.tearDownChildrenVisitingContext() - Client ID: pt1, called by oracle.adf.view.rich.component.fragment.UIXPageTemplate.tearDownChildrenVisitingContext at 275
    <UIXInclude> <_tearDownIncludeContext> UIXInclude._tearDownIncludeContext() - Client ID: pt1
    <UIXPageTemplate> <_tearDownPageTemplateContext> UIXPageTemplate._tearDownPageTemplateContext()
    <UIXPageTemplate> <_tearDownPageTemplateContext> UIXPageTemplate._tearDownPageTemplateContext() - model var was being managed by the component.
    <LoggingRequestWrapper> <setAttribute> Setting the value of 'bindings' to oracle_epm_view_view1PageDef
    <LoggingRequestWrapper> <setAttribute> Setting the value of 'bindings' to oracle_epm_view_view1PageDef
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ADFContext> <getADFFacesViewScopeMap> oracle.adf.view.rich.context.AdfFacesContext used to get ViewScope
    <LoggingRequestWrapper> <setAttribute> Setting the value of 'bindings' to oracle_epm_view_view1PageDef
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ADFContext> <getADFFacesViewScopeMap> oracle.adf.view.rich.context.AdfFacesContext used to get ViewScope
    <DCBindingContainer> <internalRefreshControl> Lifecycle:BindingContainer.refresh type:prepare for:oracle_epm_view_view1PageDef
    <DCBindingContainer> <internalRefreshControl> Lifecycle:BindingContainer.refresh type:prepare for:ptb1
    <ADFLogger> <begin> Region refresh
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ADFContext> <getADFFacesViewScopeMap> oracle.adf.view.rich.context.AdfFacesContext used to get ViewScope
    <ADFLogger> <end> Region refresh
    <ADFLogger> <begin> Region refresh
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ADFContext> <getADFFacesViewScopeMap> oracle.adf.view.rich.context.AdfFacesContext used to get ViewScope
    <ADFLogger> <end> Region refresh
    <ADFLogger> <begin> Region refresh
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ADFContext> <getADFFacesViewScopeMap> oracle.adf.view.rich.context.AdfFacesContext used to get ViewScope
    <ADFLogger> <end> Region refresh
    <ADFLogger> <begin> Region refresh
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ADFContext> <getADFFacesViewScopeMap> oracle.adf.view.rich.context.AdfFacesContext used to get ViewScope
    <ADFLogger> <end> Region refresh
    <ADFLogger> <begin> Region refresh
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ADFContext> <getADFFacesViewScopeMap> oracle.adf.view.rich.context.AdfFacesContext used to get ViewScope
    <ADFLogger> <end> Region refresh
    <ADFLogger> <begin> Region refresh
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ADFContext> <getADFFacesViewScopeMap> oracle.adf.view.rich.context.AdfFacesContext used to get ViewScope
    <ADFLogger> <end> Region refresh
    <ADFLogger> <begin> Region refresh
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ADFContext> <getADFFacesViewScopeMap> oracle.adf.view.rich.context.AdfFacesContext used to get ViewScope
    <ADFLogger> <end> Region refresh
    <ADFLogger> <begin> Region refresh
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ADFContext> <getADFFacesViewScopeMap> oracle.adf.view.rich.context.AdfFacesContext used to get ViewScope
    <ADFLogger> <end> Region refresh
    <ADFLogger> <begin> Region refresh
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ADFContext> <getADFFacesViewScopeMap> oracle.adf.view.rich.context.AdfFacesContext used to get ViewScope
    <ADFLogger> <end> Region refresh
    <ADFLogger> <begin> Region refresh
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ADFContext> <getADFFacesViewScopeMap> oracle.adf.view.rich.context.AdfFacesContext used to get ViewScope
    <ADFLogger> <end> Region refresh
    <ADFLogger> <begin> Region refresh
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ADFContext> <getADFFacesViewScopeMap> oracle.adf.view.rich.context.AdfFacesContext used to get ViewScope
    <ADFLogger> <end> Region refresh
    <ADFLogger> <begin> Region refresh
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ADFContext> <getADFFacesViewScopeMap> oracle.adf.view.rich.context.AdfFacesContext used to get ViewScope
    <ADFLogger> <end> Region refresh
    <ADFLogger> <begin> Region refresh
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ADFContext> <getADFFacesViewScopeMap> oracle.adf.view.rich.context.AdfFacesContext used to get ViewScope
    <ADFLogger> <end> Region refresh
    <ADFLogger> <begin> Region refresh
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ADFContext> <getADFFacesViewScopeMap> oracle.adf.view.rich.context.AdfFacesContext used to get ViewScope
    <ADFLogger> <end> Region refresh
    <ADFLogger> <begin> Region refresh
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ADFContext> <getADFFacesViewScopeMap> oracle.adf.view.rich.context.AdfFacesContext used to get ViewScope
    <ADFLogger> <end> Region refresh
    <LoggingRequestWrapper> <setAttribute> Setting the value of 'bindings' to oracle_epm_view_view1PageDef
    <LoggingRequestWrapper> <setAttribute> Setting the value of 'bindings' to oracle_epm_view_view1PageDef
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ADFContext> <getADFFacesViewScopeMap> oracle.adf.view.rich.context.AdfFacesContext used to get ViewScope
    <FacesPageLifecycle> <getToken> ADFc: State-token for 'oracle_epm_view_view1PageDef' has been restored and is not null.
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ServletADFContext> <findApplicationScopeMap> The applicationScope Map returned
    <ADFContext> <getADFFacesViewScopeMap> oracle.adf.view.rich.context.AdfFacesContext used to get ViewScope
    <FacesPageLifecycle> <getToken> ADFc: State-token for 'oracle_epm_view_view1PageDef' has been restored and is not null.
    <UIXInclude$ContextualFacesBeanWrapper> <getProperty> UIXInclude$ContextualFacesBeanWrapper.getProperty() - _inContext = false and key.getName() = rendered
    <UIXPageTemplate> <_setupPageTemplateContext> UIXPageTemplate._setupPageTemplateContext()
    <UIXInclude$ContextualFacesBeanWrapper> <getProperty> UIXInclude$ContextualFacesBeanWrapper.getProperty() - _inContext = false and key.getName() = value
    <UIXPageTemplate> <_setupPageTemplateContext> UIXPageTemplate._setupPageTemplateContext() - model var is being managed by the component.
    <LoggingRequestWrapper> <setAttribute> Setting the value of 'bindings' to ptb1
    <UIXInclude> <setupChildrenVisitingContext> UIXInclude.setupChildrenVisitingContext() - Client ID: pt1, called by oracle.adf.view.rich.component.fragment.UIXPageTemplate.setupChildrenVisitingContext at 249
    <UIXInclude> <_setupIncludeContext> UIXInclude._setupIncludeContext() - Client ID: pt1
    <UIXInclude$ContextualFacesBeanWrapper> <getProperty> UIXInclude$ContextualFacesBeanWrapper.getProperty() - _inContext = true and key.getName() = rendered
    <UIXInclude> <_tearDownIncludeContext> UIXInclude._tearDownIncludeContext() - Client ID: pt1
    <UIXPageTemplate> <_tearDownPageTemplateContext> UIXPageTemplate._tearDownPageTemplateContext()
    <UIXPageTemplate> <_tearDownPageTemplateContext> UIXPageTemplate._tearDownPageTemplateContext() - model var was being managed by the component.
    <LoggingRequestWrapper> <setAttribute> Setting the value of 'bindings' to oracle_epm_view_view1PageDef
    <UIXPageTemplate> <_setupPageTemplateContext> UIXPageTemplate._setupPageTemplateContext()
    <UIXInclude$ContextualFacesBeanWrapper> <getProperty> UIXInclude$ContextualFacesBeanWrapper.getProperty() - _inContext = false and key.getName() = value
    <UIXPageTemplate> <_setupPageTemplateContext> UIXPageTemplate._setupPageTemplateContext() - model var is being managed by the component.
    <LoggingRequestWrapper> <setAttribute> Setting the value of 'bindings' to ptb1
    <UIXInclude> <_setupIncludeContext> UIXInclude._setupIncludeContext() - Client ID: pt1
    <UIXInclude> <_tearDownIncludeContext> UIXInclude._tearDownIncludeContext() - Client ID: pt1
    <UIXPageTemplate> <_tearDownPageTemplateContext> UIXPageTemplate._tearDownPageTemplateContext()
    <UIXPageTemplate> <_tearDownPageTemplateContext> UIXPageTemplate._tearDownPageTemplateContext() - model var was being managed by the component.
    <LoggingRequestWrapper> <setAttribute> Setting the value of 'bindings' to oracle_epm_view_view1PageDef
    <UIXPageTemplate> <_setupPageTemplateContext> UIXPageTemplate._setupPageTemplateContext()
    <UIXInclude$ContextualFacesBeanWrapper> <getProperty> UIXInclude$ContextualFacesBeanWrapper.getProperty() - _inContext = false and key.getName() = value
    <UIXPageTemplate> <_setupPageTemplateContext> UIXPageTemplate._setupPageTemplateContext() - model var is being managed by the component.
    <LoggingRequestWrapper> <setAttribute> Setting the value of 'bindings' to ptb1
    <UIXInclude> <_setupIncludeContext> UIXInclude._setupIncludeContext() - Client ID: pt1
    <UIXInclude$ContextualFacesBeanWrapper> <getProperty> UIXInclude$ContextualFacesBeanWrapper.getProperty() - _inContext = true and key.getName() = logoImagePath
    <UIXInclude$ContextualFacesBeanWrapper> <getProperty> UIXInclude$ContextualFacesBeanWrapper.getProperty() - _inContext = true and key.getName() = logoImagePath
    <UIXInclude> <_tearDownIncludeContext> UIXInclude._tearDownIncludeContext() - Client ID: pt1
    <UIXPageTemplate> <_tearDownPageTemplateContext> UIXPageTemplate._tearDownPageTemplateContext()
    <UIXPageTemplate> <_tearDownPageTemplateContext> UIXPageTemplate._tearDownPageTemplateContext() - model var was being managed by the component.
    <LoggingRequestWrapper> <setAttribute> Setting the value of 'bindings' to oracle_epm_view_view1PageDef
    <UIXPageTemplate> <_setupPageTemplateContext> UIXPageTemplate._setupPageTemplateContext()
    <UIXInclude$ContextualFacesBeanWrapper> <getProperty> UIXInclude$ContextualFacesBeanWrapper.getProperty() - _inContext = false and key.getName() = value
    <UIXPageTemplate> <_setupPageTemplateContext> UIXPageTemplate._setupPageTemplateContext() - model var is being managed by the component.
    <LoggingRequestWrapper> <setAttribute> Setting the value of 'bindings' to ptb1
    <UIXInclude> <_setupIncludeContext> UIXInclude._setupIncludeContext() - Client ID: pt1
    <UIXInclude> <_tearDownIncludeContext> UIXInclude._tearDownIncludeContext() - Client ID: pt1

  • LMS4.1 soft appliance: Topology Java Install Endless Loop

    Hello,
    The installation of the Java Applet is in an installation endless loop. Also after closing all Browser windows many times, Im still kept in the same step as shown in the screenshot of Topology Applet installation. Never experienced the problem in this manner for Windows and Solaris versions of LMS before. Need help.
    Did before:
    1. installed the offered new version of JRE
    2. cleared the JavaCache
    thx for help, Steffen

    Hello Michael,
    With creating endorsed and copying those files manual it still doesn’t work.
    So it doesnt works without providing write access for endorsed. But I can’t change the permissions of endorsed without having the real local Administrator Account for my company PC. This is just a test from my PC to a LMS Linux appliance in our Lab. But the real end customer will have the same problem: staff from networking department have typical not the original “Administrator” password of the company PC’s given by the PC department.
    PowerShell:
    PS C:\Program Files (x86)\Java\jre6\lib> attrib -R endorsed
    PS C:\Program Files (x86)\Java\jre6\lib> attrib -R endorsed /S /D
    Other ideas to can change permissions of “endorsed” with a user that is just in the local administrator group, but with no chance to get to the original “Administrator” user?
    JRE Version:1.6.0_24
    Recommended JRE Version:1.6.0_24
    Endorsed dir is:C:\Program Files (x86)\Java\jre6\lib\endorsed
    EXT DIR:C:\Program Files (x86)\Java\jre6\lib\endorsed
    C:\Program Files (x86)\Java\jre6\lib\endorsed\jacorb-sign-1-3.jar
    http://172.16.10.73:1741/JSP/CAMPUS/campus/res/jacorb-sign-1-3.jar
    java.io.FileNotFoundException: C:\Program Files (x86)\Java\jre6\lib\endorsed\jacorb-sign-1-3.jar (Zugriff verweigert)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.(Unknown Source)
    at com.cisco.nm.ani.clients.lib.ui.windows.CampusAppletInit.downloadJarExt(CampusAppletInit.java:70)
    at com.cisco.nm.ani.clients.lib.ui.windows.CampusAppletInit.setOrbEnv(CampusAppletInit.java:243)
    at com.cisco.nm.ani.clients.lib.ui.windows.CampusAppletInit.doIt(CampusAppletInit.java:123)
    at com.cisco.nm.ani.clients.lib.ui.windows.CampusApplet.init(CampusApplet.java:125)
    at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    java.lang.Exception: DOWNLOADFAIL: Download of file logkit-1.2-sign-1-3.jar failed with error:
    C:\Program Files (x86)\Java\jre6\lib\endorsed\logkit-1.2-sign-1-3.jar (Zugriff verweigert)
    at com.cisco.nm.ani.clients.lib.ui.windows.CampusAppletInit.downloadJarExt(CampusAppletInit.java:98)
    at com.cisco.nm.ani.clients.lib.ui.windows.CampusAppletInit.setOrbEnv(CampusAppletInit.java:243)
    at com.cisco.nm.ani.clients.lib.ui.windows.CampusAppletInit.doIt(CampusAppletInit.java:123)
    at com.cisco.nm.ani.clients.lib.ui.windows.CampusApplet.init(CampusApplet.java:125)
    at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Steffen

  • Endless loops

    I have an endless loop in my program
    while (waitForSerial)
    This has caused me nothing but problems. I cannot find a better way to stop this program to let it wait for the data that it is supposed to recieve. waitFor serial is initialized to TRUE and when it becomes false this loop ends.
    Is there a TIMED way to do this?
    like wait(1500) or something. I have spent 2 weeks modularizing my programonly to be slapped in the face by an old problem that I can not get rid of.

    That method throws a checked exception. Use it like this:
    try {
        Thread.sleep(1000);
    } catch (InterruptedException e) {
    }You can find information on this (and all other standard classes and methods) in the API docs at http://java.sun.com/docs
    If you don't know how to read the API docs or catch exceptions, you should probably post your questions in the "New to Java" forum with the other beginners.

  • Stuck in endless loop for new line logic

    below code return endless output, loop didnot exit.
    pls help..
    DECLARE
    var01 VARCHAR2(1000);
    var02 VARCHAR2(1000);
    var03_error VARCHAR2(1000);
    cnt number(3);
    CURSOR cur is
    SELECT * from temp_merge01
    begin
    FOR i IN cur
    var01 := i.action01;
    LOOP
    var02 := substr(replace(var01,''),1, (instr(replace(var01,''),chr(10))));
    IF var02 IS NOT NULL THEN
    dbms_output.put_line('var02: '|| var02);
    END IF;
    var01 := replace(substr(replace(var01,''),(instr(replace(var01,''),chr(10)))+1),'');
    dbms_output.put_line('var01: '|| var01);
    cnt := instr(var01, '<');
    if cnt <> 0 then
    null;
    else
    dbms_output.put_line('var02: '|| var02);
    end if;
    EXIT WHEN cnt = 0;
    END LOOP;
    EXCEPTION
    WHEN OTHERS THEN
    var03_error := SQLERRM;
    dbms_output.put_line ('Error: ' || var03_error);
    end;

    Sure, just as soon as you come round to my house and do the laundry for me ;)
    Alternatively, you could put a bit of effort in and fix the basic errors. You say that you are stuck in an endless loop. That is not possible from the code that you have supplied, there are therefore two possibilities.
    1. You lied i.e. you are actually trying to run the above code, it errors and you want someone to fix it, but thou8ght that somehow implying a different error in the code would get someone to do your work for you.
    2. You Poste d code different to that which you are actuially running and your code does indeed have an infinite loop. In which case, post the code that actually runs but drops into an endless loop.
    GL

  • Stuck in endless loop checking for IMAP mail

    My ISP that I have my domain name on for some reason is having real problems with Mac OS X 10.8.0 that weren't there before:
    Dovecot Exim version 4.80 is my server.
    My Drafts, Drafts Cache, and a subfolder of Drafts all are checking messages through IMAP with no end in sight after 10 minutes on the Activity dialog. Safari, Chrome, and Mail are all that are open.  They claim the server load is all of 5% load.  Would upgrading to 10.8.1, 10.8.2, or 10.8.3 help (after of course backing up)?

    Sure, just as soon as you come round to my house and do the laundry for me ;)
    Alternatively, you could put a bit of effort in and fix the basic errors. You say that you are stuck in an endless loop. That is not possible from the code that you have supplied, there are therefore two possibilities.
    1. You lied i.e. you are actually trying to run the above code, it errors and you want someone to fix it, but thou8ght that somehow implying a different error in the code would get someone to do your work for you.
    2. You Poste d code different to that which you are actuially running and your code does indeed have an infinite loop. In which case, post the code that actually runs but drops into an endless loop.
    GL

  • ITunes Match in an endless loop?

    Recently my iTunes Match got stuck in an endless loop. It's been working well for the most part for the past year, but it just suddenly decided to stop and I'm not sure why. Basically, it goes through the first step in matching, "Gathering information about your iTunes library." The bar gets to the end and then goes to send the information to Apple, then it gets stuck on "Waiting for Apple to deliver your iTunes Match information." After that it just stops completely for a few seconds as if nothing happened, then automatically starts all over again. It just keeps doing this over and over. I tried turning Match off and on, same thing. I tried deleting the files it was attempting to match, still the same. I tried restoring the "iTunes Library.itl" file from a Time Machine backup. All don't fix the issue.

    I'm having the exact same issue here. Worked GREAT on Lion, and actually worked "ok" on Mountain lion even though I had a few 4001 and 4002 problems... overall was fine. But since last week, there's nothing working. I stuck in this loop of step one and step 2 and it just never stops and since it's NEVER going to step 3, all my new songs are never uploaded. It's stops on the very LAST song, the text becomes a little grey and then it starts back to step one again and again.
    I'm also getting this weird error: -9810
    I tried everything I could find in the forum by turning off iTunes match, and Genius and turning it back on again... nothing is working.
    Would be nice if they could fix that... because whether you like it or not, Apple made iTunes the central point of all iOS devices and if it's not working, then better find something else that would actually work.

  • Windows Update in Endless Loop of 'Installing updates" and "Undoing changes" on New Windows 8.1 Pro Install

    I am setting new Windows 8.1 Pro computers, and am installing Windows 8.1 Pro to bare drives.  Everything goes fine until Windows Update starts installing updates, and then the computer goes for hours installing updates, and then "We
    could not complete the updates Undoing changes".   It's an endless loop. It seems to be the same 38 updates.  This is a recent phenomenon.  I have not run into this until the last week or two on several new computer installs.
    Again these are brand new installs, so something is clearly wrong with the Windows updates.
    If anyone can please tell me how to avoid this, it would be much appreciated.
    Michael

    Hi Michael,
    "  This is a recent phenomenon"
    Have you made any modifications to the machines ?
    To resolve this issue ,running the built-in troubleshoot tool is a very good beginning .It will automatically diagnostic the windows update components and check the configurations for us .
     Control Panel\All Control Panel Items\Troubleshooting\Fix problems with Windows Update
    If there are antivirus software installed in these machines, please turn off them temporarily to have a check.
    The command line included in the link as S.Sengupta posted is very useful and convenient to repair the windows corrupted files .We can have a try .
    "sfc /scannow" ,"DISM.EXE /online /cleanup-image /restorehealth "
    We also can check the windowsupdate.log for more information to troubleshoot this issue .
     Run "windowsupdate.log"
    If you have trouble in analyzing the log ,please upload them to the OneDrive and paste the link here .
    Best regards

  • Is there a phone number to call Adobe.  I go around an endless loop pressing their contact info tabs?  Maybe someone at this sight can help. I am new to digital photo - I have been a B&W film photographer for many years. I have a problem with a Macbook Ai

    Is there a phone number to call Adobe.  I go around an endless loop pressing their contact info tabs?  Maybe someone at this sight can help. I am new to digital photo - I have been a B&W film photographer for many years. I have a problem with a Macbook Air.  It was working fine - I was using LR and a message came on the screen that said something like the memory was dangerously low.  I stopped and tried to delete LR files.  I couldn't do it.  I closed the program and tried reopening and got the message that there is not enough memory available to open LR.  I contacted Apple.  They spent a half hour on the phone with me and eventually told me they didn't know how to help. The tech said that LR had gobbled up all the memory and said I should contact Adobe and ask where and how my photo files are stored and to delete them.  I have several back-ups.  Thanks - Arthur

    This sort of error message only comes up for Lightroom when your hard disk is full. Indeed this has nothing to do with internal memory as that will be intelligently be dealt with. If you have a mac Book Air that is not so surprising as the cheapest versions come with very small hard disks and if you shoot raw with any recent camera, you'll fill up your hard disk very quickly and you can probably only store a few months of pictures if you are a typical photographer. So the bottom line is that you need to create some room on your hard disk. You should move some of your originals to an external hard disk. You can also delete some of your backup copies of your catalog file that Lightroom automatically generates every few days and that quickly gobble up hard disk space. So first figure out how full your hard disk is. To see that, go to the apple menu, hit -> About this Mac -> More info->Storage. You should see your internal hard disk on top and you'll find that it is almost entirely full with photos. Now find your Lightroom catalog file using Finder. It is usually in a folder in the Pictures folder in your home directory. You should see a Lightroom 5 Catalog.lrcat file, a previews file and a folder called backups. Inside the backups folder, you'll find a lot of subfolders. They have names that show the dates the backups were created. If you have backups of your entire hard disk, you can delete these backups when they are older than a few months. I usually only keep the last 4 around. Just drag the folders into the trash can on the dock on the bottom of your screen and empty the trash. This will probably free up enough space that Lightroom will already run again. Now start thinking about where you will want to store older images. If you have a good USB3 or Thunderbolt hard disk that is probably the best option. There is a video here by Adobe that has some instructions on how to do this: Is Your Hard Drive Full? Here’s How to Move Images to Another Drive in Lightroom. « Julieanne Kost's Blog If that doesn't work because you don't have enough hard drive space to run Lightroom yet, here is another set of instructions to move your files using the finder to the other hard disk: How do I move only my photos to another hard drive, leaving the catalog where it is? - The Lightroom Queen. If you follow that, as soon as you confirm all your images are on the new hard disk, you can delete them from your internal one. She is not so clear about that part but if you don't delete the originals that you moved off you don't free up space. You should move the folder structure over to the new hard disk and then reconnect the folders in Lightroom. That should make it refind all your images.
    That said, if you are uncomfortable with the computer in itself, your best bet is to find a local photography club. There is invariably a Lightroom savvy person in there that could help you move your files. That might be your best bet if you are uncomfortable moving these yourself. A general mac savvy person like you would find at an Apple store or so generally will not be able to help you with this except when they are photographers themselves and know Lightroom. You might get lucky with that.

  • Pop up states i'm being directed to a phishing site and to call "this" number, after I click on OK it just keeps popping up again and will not let me out of an endless loop

    I am in an endless loop on my other iMac computer.  I happened upon a page where it said "phishing site ahead" and then a pop up comes on screen telling me to call a certain number and then I click okay and of course do not call and it will not let me out of this endless loop.  Shut down computer, quit Safari, but when I reopen Safari it still takes me to that same page and will not let me out or use any menu items or toolbar items. Just the same little popup box telling me to call a certain number with an OK button and I can't go anywhere or do anything on Safari. What can I do?

    Also I copied this from my other computer web page:
    Reported Phishing website ahead.  Your network ha been monitored.  Your network has been compromised due to Browser hijacking.The browser hijacking software may redirect you towards phishing websites that try to access your Login Password details.  To fix this browser redirection issue we recommend you ask for instant help.  Help Line 1 877 899 1824.
    Then another smaller popup window pops up
    http://www.pcassists.info
    Security Error
    Call Helpline 1877 899 1824
    So this is what I was talking  about, and the small popup window plus the larger  Window stating "Reported Phishing website ahead" will not go away and I cannot use Safari anymore even after I shut down my computer, disconnected it, and then signed on again and reopened Safari, it still takes me to that page and I cannot get out of it.
    PLEASE HELP!!!!!!!!

  • Mac 10.6.8 ical "server responded with an error" endless loop

    I get an endless loop. "The Server Responded with an Error "--click OK. Next window "The Server Respnded with an Error"--whether click "go offline" or "return to server" takes me back to first window, ad infinitum. Can't change anything on calendar; cannot access ical Preferences. basically cannot do anything except Force Quit, whether logged into my account or my wife's [registered to my wife's yahoo! email].
    Also cannot synch calendars now between imac, iphone, and ipad like we could in beginning. Using 10.6.8 because some of my peripherals not compatible with later.
    This problem just started a couple of days ago [the server problem freezing the calendar, it hasn't been working properly for awhile and the calendar synch was lost when a friend upgraded the iphone software.]
    What can I do to restore 1] the functionality of the ical? and 2] synching the imac, ipad, and iphone icals?

    I read another response to a similar question posted a couple of years ago. I turned off the Wifi, restarted iCal offline, and that eliminated the message. However, as soon as I turned on the Wifi the message again appeared, the app froze requiring a Force Quit, and the game is still afoot. NO SOLUTIONS ANYONE?

Maybe you are looking for