Quick Migrate Creates a Trigger with Infinite Loop

Quick Migrate did a good job at nicely converting my MS SQL Database to Oracle. The only problem that I have is triggers. I have a table with the companies and when the table is just created and there are no rows in the table, on the very first insert it goes into a constant loop. There is no code I have altered after the migration has been completed.
So, there is:
table: RA_COMPANY
sequence: SEQ_RA_COMPANY_ID
trigger: TRG_RA_COMPANY_ID
table has no rows, trigger has been compiled and sequence hasn't been accessed so on the first insert, the trigger should put 1 into the newly added row. Here is the migration code for the trigger:
CREATE OR REPLACE TRIGGER TRG_RA_COMPANY_ID BEFORE INSERT OR UPDATE ON RA_COMPANY
FOR EACH ROW
DECLARE
v_newVal NUMBER(12) := 0;
v_incval NUMBER(12) := 0;
BEGIN
  IF INSERTING AND :new.ID IS NULL THEN
    SELECT SEQ_RA_COMPANY_ID.NEXTVAL INTO v_newVal FROM DUAL;
    -- If this is the first time this table have been inserted into (sequence == 1)
    IF v_newVal = 1 THEN
      --get the max indentity value from the table
      SELECT max(ID) INTO v_newVal FROM RA_COMPANY;
      v_newVal := v_newVal + 1;
      --set the sequence to that value
      LOOP
           EXIT WHEN v_incval>=v_newVal;
           SELECT SEQ_RA_COMPANY_ID.nextval INTO v_incval FROM dual;
      END LOOP;
    END IF;
   -- assign the value from the sequence to emulate the identity column
   :new.ID := v_newVal;
  END IF;
END;
ALTER TRIGGER TRG_RA_COMPANY_ID ENABLE;
/and on the first insert, the loop that is in the middle will be an infinite loop.
I do need only the inserts and I removed the UPDATE part and the loop itself but I am just wondering why is migration process creating this loop.
thanks

Hi Tridy,
I look into this for you.
I can see that this line
SELECT max(ID) INTO v_newVal FROM RA_COMPANY;
Is going to cause an issue if there are no rows.
I wonder if
SELECT NVL(max(ID),0) INTO v_newVal FROM RA_COMPANY;
Solve the issue?
Ill do some tests latter today and get back to you.
Regards,
Dermot.

Similar Messages

  • A problem with infinite loop

    Hi there! My program has to get data on two species in any order and respond by telling how many years it will take for the species with lower population outnumber the species that starts with higher population. If the species with the smaller population never outnumbers the species with the higher population I'll get an infinite loop. What is the right approach here?
    Thanks.
    public class Species
    private String name1;name2
    private int population1, population2;
    private double growthRate1, growthRate2;
    public void readInput( )
    System.out.println("What is the first species' name?");
    name1 = SavitchIn.readLine( );
    System.out.println("What is the population of the species?");
    population1 = SavitchIn.readLineInt( );
    while (population1 < 0)
    System.out.println("Population cannot be negative.");
    System.out.println("Reenter population:");
    population1 = SavitchIn.readLineInt( );
    System.out.println(
    "Enter growth rate (percent increase per year):");
    growthRate1 = SavitchIn.readLineDouble( );
    ystem.out.println("What is the second species' name?");
    name2 = SavitchIn.readLine( );
    System.out.println("What is the population of
    the species?");
    population2 = SavitchIn.readLineInt( );
    while (population2 < 0)
    System.out.println("Population cannot be negative.");
    System.out.println("Reenter population:");
    population2 = SavitchIn.readLineInt( );
    System.out.println(
    "Enter growth rate (percent increase per year):");
    growthRate2 = SavitchIn.readLineDouble( );
    public void writeOutput( )
    System.out.println("Name of the species' = " + name1);
    System.out.println("Population = " + population1);
    System.out.println("Growth rate = " + growthRate1 + "%");
    System.out.println("Name of the species' = " + name2);
    System.out.println("Population = " + population2);
    System.out.println("Growth rate = " + growthRate2 + "%");
    public void OutnumbersPopulation()
    double max, min;
    int years=0
    if(population1>population2)// this is to determine which population is smaller
    max=population1;
    min=population2;
    else if (population2>population1)
    max=population2;
    min=population1;
    while ((years > 0) && (min <=max))//This could be an infinite loop if min never outnumbers max
    min= (min +
    (growthRate/100) * min);
    max=(max + (growthRate/100) * max);
    years ++;
    System.out.println("The species with the lower population will outnumber the species with higher population
    in" + (years+1) + "years");

    Cross post. original is in "New to Java Technology".

  • Need help with infinite loop in recovery mode in Creative Zen 20

    hi,
    I'm having this problem with my Creative Zen 20 GB:
    When I turned it on, it goes immediately to the rescue/recovery mode. Not sure why. Will do that even when I reset the device.
    So, I selected cleanup. After cleanup, it remained showing the menu of the recovery mode. I selected reboot. After reboot, it went back to the rescue/recovery mode. And it goes on and on like an infinite loop.
    Finally, I decided to do a formatAll. Again, it remained in the recovery mode menu after the formatAll action. After reboot, it again went back to the rescue/recovery mode.
    I have never updated the firmware. So, I thought maybe that will help. However, when I connected the device to my PC, the device went to rescue/recovery mode and the PC could not detect the device connected via USB. In short, I am currently not able to do anything at all with the device except charging it.
    Would appreciate help/advise.
    Tks in advance.

    huggiebear wrote:
    I connected the device to the PC and after the PC tried to load the library, it said "Player is not connected".
    What library are you loading? After you have run that reload os option, you need to connect the player to the computer and run the firmware update software. If you haven't download that, you can go to the download section and download it. If all else fail, the player is probably faulty and you would need to get in contact with Customer Support then.
    Jason

  • Is it possible to create a trigger with a trigger?

    Hi,
    I'd like to create an AFTER CREATE system trigger that will create a BEFORE INSERT trigger on a certain table once it is created.
    Is this possible, or is there a better way? The problem I am having is that I'm getting an error when I put a trigger body inside a trigger body; the "/" is causing problems.

    You could create a prcoedure that is responsible for building the trigger body in a varchar2 and then issue an execute immediate on the string....and call it from your trigger.

  • Neep help with infinite loop! Please Help

    I currently have a program that allows a user to enter a password protected site and it will return all the images on that page.
    I�m trying to allow the user to type in the root URL, i.e. http://stage.diabetescontrolforlife.com/ and have the program pull all the images in all of the child directories. i.e. http://stage.diabetescontrolforlife.com/tool.aspx
    I got an inner class similar to the one pulling the <IMG> tag, that pulls the <A> tag. The class adds all the links to a linkList Arraylist. In my main method I call image.getInfo(image.getLinkList()); hoping that I can just pass all the links back through the program and find all the <IMG> tags.
    The problem is that, I get the desired output but it displays in an infinite loop, and the program never ends as it searches linkList over and over for <IMG> tags.
    So, I tried to adding two different Do, While loops.
    Main Method:
    do
                image.getInfo(image.getLinkList());
                test=1;
    }while(test != 1);This one does not change the output. Infinite loop continues.
    Inner Class:
    HTMLEditorKit.ParserCallback callback;
    callback = new HTMLEditorKit.ParserCallback ()
               public void handleStartTag(HTML.Tag tag, MutableAttributeSet attributes, int position)
                            do
                                        if (tag == HTML.Tag.A)
                                                    link = (String)attributes.getAttribute (HTML.Attribute.HREF);
                                                   if(link != null && !link.startsWith("javascript") && !link.startsWith("#") &&        link.startsWith("/"))
                                                                link = root + link;
                                                                linkList.add(link);
                                                               test=1; 
                    }while(test!=1);
    public void handleSimpleTag (HTML.Tag tag,MutableAttributeSet aset,int pos)
    {if (tag == HTML.Tag.IMG )This one never allows the first URL to be checked, and the program just sits there.
    Do you see anything I�m doing wrong, or anyway I can stop the infinite loop?
    I think the problem is that both of the searching tag classes are inner classes but I don�t know how to make them their own classes without messing up the whole password checking.
    Any advice would be helpful!

    HTMLEditorKit.ParserCallback callback;
              callback = new HTMLEditorKit.ParserCallback ()
                public void handleSimpleTag (HTML.Tag tag,MutableAttributeSet aset,int pos)
                        if (tag == HTML.Tag.IMG )
                            src = (String)
                                         aset.getAttribute (HTML.Attribute.SRC);
                            alt = (String)
                                         aset.getAttribute (HTML.Attribute.ALT);
                            height = (String)
                                         aset.getAttribute (HTML.Attribute.HEIGHT);
                            width = (String)
                                         aset.getAttribute (HTML.Attribute.WIDTH);
                            //System.out.println("SRC = " + src);
                            //System.out.println("ALT = " + alt);
                            System.out.println("ROOT2"+root);
                            System.out.println("SRC1"+src);
                            if(src.startsWith("http"))
                            else
                            if(src.startsWith("../"))
                                src = src.replace("../", "");
                                src = root +"/"+ src;
                            else
                            if(src.startsWith("/"))
                                src = root + src;
                            else
                                src = root +"/"+ src;
                            System.out.println("SRC2"+src);
                            altList.add(alt);
                            srcList.add(src);
                            heightList.add(height);
                            widthList.add(width);
                            currentUrl.add(passUrl);
                            if(alt == null)
                                altPresent.add("No");
                            else
                                altPresent.add("Yes");
                            URI uri = null;
                            try
                                if (!uriBase.toString ().endsWith ("/") &&
                                    !src.startsWith ("/"))
                                    src = "/" + src;
                              uri = new URI (src);
                                uri = uriBase.resolve (uri);
                                System.out.println("URL"+passUrl);
                                System.out.println ("uri being " +
                                                    "processed ... " + uri);
                                System.out.println("ROOT3"+root);
                            catch (URISyntaxException e)                           
                               System.err.println ("Bad URI");
                               return;
                            // Convert the URI to a URL so that its input
                            // stream can be obtained.
                            URL url = null;
                            try
                                url = uri.toURL ();
                            catch (MalformedURLException e)
                              System.err.println ("Bad URL");
                                return;
                            //InputStream is;
                            //String filename = url.getFile ();
                            //int i = filename.lastIndexOf ('/');
                            //if (i != -1)
                            //    filename = filename.substring (i+1);
                    @Override
               public void handleStartTag(HTML.Tag tag, MutableAttributeSet attributes, int position)
                            //while(test!=1)
                                System.out.println("TEST"+test);
                            if (tag == HTML.Tag.A)
                                link = (String)
                                             attributes.getAttribute (HTML.Attribute.HREF);
                                if(link != null && !link.startsWith("javascript") && !link.startsWith("#") && link.startsWith("/"))
                                    /*if(link.startsWith("/"))
                                        link = root + link;
                                    else
                                    if(!link.startsWith("http"))
                                        link = root +"/"+ link;
                                    //if(link.contains(root))
                                        link = root + link;
                                       test=1;
                                          linkList.add(link);
              try
                         HttpURLConnection urlConn = null;
                        //URL url = new URL(server);
                        // Build the string to be used for Basic Authentication <username>:<password>
                        String userPassword =  "testmlr" + ":" + "stage1-7000";
                        // Base64 encode the authentication string
                        String encoding = new sun.misc.BASE64Encoder().encode (userPassword.getBytes());
                        //URLConnection
                        urlConn = (HttpURLConnection) url.openConnection();
                        // Enable writing to server ( to write request )
                        urlConn.setDoOutput(true);
                        // Enable reading from server ( to read response )
                        urlConn.setDoInput(true);
                        // Disable cache
                        urlConn.setUseCaches(false);
                        urlConn.setDefaultUseCaches(false);
                        // Set Basic Authentication parameters
                        urlConn.setRequestProperty ("Authorization", "Basic " + encoding);
                       // test(server);
                        BufferedReader in = new BufferedReader(new InputStreamReader(urlConn.getInputStream()));
                  new ParserDelegator().parse(in, callback, false);
                  System.out.println(in + "test123412341234");
              catch (ChangedCharSetException e)
                  String csspec = e.getCharSetSpec ();
                 Pattern p = Pattern.compile ("charset=\"?(.+)\"?\\s*;?",
                                             Pattern.CASE_INSENSITIVE);
                  Matcher m = p.matcher (csspec);
                  String charset = m.find () ? m.group (1) : "ISO-8859-1";
                  // Read and parse HTML document using appropriate character set.
    public ArrayList getLinkList()
           return linkList;
       }

  • I've created a button with an looped animation...

    ... that I want to only play when mousedover, and stop (hide) on mouseout.
    Right now it does stop and start once I mouseover the button the first time. But when it loads it's playing not hidden. Here's the code I have at this point:
    MouseOver
    var mySymbolObject = sym.getSymbol("ButtonSlider");
    sym.$("ButtonSlider").css({opacity:1});
    MouseOut
    var mySymbolObject = sym.getSymbol("ButtonSlider");
    sym.$("ButtonSlider").css({opacity:0});
    Click
    sym.play(0000);
    I've tried a hide trigger on the time line with the same code on the buttons, but the ButtonSlider stays hidden.
    Thanks for you help in advance.

    OK. You need to take off the autoplay in your button annimation. When you create a symbol you have the choice to choose autoplay or not. If you forget to do it at creation when you get the dialog box, you can always remove it later. If you are going to control the timeline of symbols, you need to check autoplay off. I wrote a blog about symbol's scope that will help you: 
    http://www.edgehero.com/tutorials/scope
    So, enter the button annimation (ButtonSlider and double click ButtonAnimPassion and then check off autoplay.
    Then you will need to start the animation on your mouseenter and add this line:
    Somehow I cannot get it to work on the mouseenter but it works on the click event
    sym.$("ButtonSlider").mouseenter(function(){
         sym.$("ButtonSlider").$('Button').show();
         //sym.getSymbol("ButtonSlider").getSymbol('ButtonAnimPassion').play();
    sym.$("ButtonSlider").mouseleave(function(){
         sym.$("ButtonSlider").$('Button').hide();
    sym.$("ButtonSlider").click(function(){
         sym.play(0);
              sym.getSymbol("ButtonSlider").getSymbol('ButtonAnimPassion').play();

  • How to create a trigger with Labview

    Hi all,
    i've this strobo lamp Perkin Elmer MVS 4100
    (http://pki8.mondosearch.com/cgi-bin/MsmGo.exe?grab_id=0&EXTRA_ARG=&host_id=42&page_id=20717&query=4100)
    and it does have a 9pin connector for the External Trigger.
    Do you think is possibile to connect it to the serial port of the pc
    and create via Labview the Trigger?
    The strobe needs a +5V, 20mA,10-100µsec pulse to be triggered.
    THanks in Advance.

    Hi COmpa,
    Do you think is possibile to connect it to the serial port of the pc
    and create via Labview the Trigger?
    The strobe needs a +5V, 20mA,10-100µsec pulse to be triggered.
    I think the 9-pin serial port on a PC swings between +/- 12V - if that's OK for your trigger, then a pulse of precise duration might be generated by configuring the port for serial output, a suitable baud-rate, careful selection of start or stop bit, and then sending a single byte byte where all bits are the same.  I've never done this, but I think it's possible!
    If the +/- 12V is a show-stopper, then consider using a parallel-port instead.  Its pins swing between 0 and 5V.
    http://zone.ni.com/devzone/conceptd.nsf/webmain/72C6FC6CE4AD4D1386256B1800794596
    Also, a "quick and dirty" way to control pins on either the serial port or parallel port is by writing to a VISA property node:
    Have fun!
    Message Edited by tbd on 06-28-2006 11:52 PM
    "Inside every large program is a small program struggling to get out." (attributed to Tony Hoare)
    Attachments:
    VISAProp.jpg ‏3 KB

  • Maverick upgrade: Can't create recovery partition and infinite loop

    Hi,
    I'm using MacBook Air Mid 2011 with 256 GB SSD (~30 GB free disk space) running MacOS 10.7.4. So far I never followed the suggestion to upgrade to MacOS Maverick but yesterday I thought, OK, let's do it.
    After the first reboot the setup started working, but after about 5 minutes it quit with the error message, it can't create the recovery partition and said, after a reboot, I would be sent back to my old MacOS.
    However, it booted again into the setup, worked a few minutes, quite with the error message and said, I have to reboot. I tried this a few times but didn't find a way to cancel the setup, but boot into my existing MacOS installation.
    I found no other solution than to make a full restore with TimeMachine.
    I'm now wondering what the problem was. One point may be that I use FileVault for hard disk encryption and it never asked me for my hard disk password. This is in particular remarkable because TimeMachine didn't show me my internal hard disk as a restore target until I went to the disk utility and used Unlock on my hard disk where I had to enter my password. So maybe this is related?
    I know I could run the upgrade without creating a recovery partition but now I'm concerned that other problems could occur if I don't identify the root cause.
    Best regards,
    Dominik

    You can try making a Recovery Volume using the 2nd link if you still have the installer.
    Recovery Partition – Recreate Without Reinstalling
    Recovery Partition – Recreate Without Reinstalling (Requires Installer)
    You can also try installing in the Safe Mode.
    Safe Mode
    Safe Mode - About
    Do you have a Boot Camp partition?

  • Problem with infinitive loop for a socket listening

    I want my server program to respond different clients by means of listening the socket via a thread. If I write the thread as a different class j2sdk1.4.0 gives a compile error, but as a method in the class it works well. Will you please show me the way how to use them as separete classes. Thanks in advance.
    import java.io.*;
    import java.net.*;
    import java.sql.*;
    public class MyServer {
         private ServerSocket s;
         private final int PORT=8888;
    public void MyServer(){
    try{
    s=new ServerSocket(PORT);
    System.out.println("Server started to listen..");
    try{
    while(true){
    new MainThread(s.accept());
    }catch(Exception ex){ex.printStackTrace();}
    }catch(Exception ex){
    System.err.println("Server failed!"+ex.getMessage());
    finally{
    try{
    s.close();
    }catch(Exception ex){
    ex.printStackTrace();
    AND MY MAINTHREAD CLASS IS AS BELOWS:
    import java.io.*;
    import java.net.*;
    import java.sql.*;
    public class MainThread extends Thread{
         public Socket socket;
         private BufferedReader in;
         private PrintWriter out;
         private int index;
         private String countryName;
         private String countryCode;
         private Connection con;
         private final String url="jdbc:odbc:MyDB";
         private CountryEnterence conEnt;
    public void MainThread(Socket socket){
    this.socket=socket;
    start();
    public void run() {
    try{
    in=new BufferedReader(new InputStreamReader(socket.getInputStream()));
    out=new PrintWriter(new BufferedWriter(new OutputStreamWriter(socket.getOutputStream())),true);
    index=Integer.parseInt(in.readLine());
    countryName=in.readLine();
    countryCode=in.readLine();
    }catch(IOException ex){
    ex.printStackTrace();
    switch(index){
    case(1001):
    System.out.println("New entry request");
    makeConnection();
    int r=conEnt.CountryEnterence(con,countryName,countryCode);
    if(r==1){out.println("Country "+countryName+" is added to database");
    }else{out.println(countryName+" is not added to database");}
    releaseConnection();
    break;
    default:out.println("Operation can not continue");
    /*************DATABASE CONNECTION***************/
    public void makeConnection(){     
    try{
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    }catch(java.lang.ClassNotFoundException ex){
    System.out.println("Connection to database is failed: "+ex.getMessage());     
    try{
    con=DriverManager.getConnection(url,"","");
    }catch(SQLException ex){ex.printStackTrace();
    public void releaseConnection() {
    try{
    con.close();
    }catch(SQLException ex){ex.printStackTrace();
    THE ERROR MESSAGE I GET IS AS BELOWS:
    MyServer.java:20:cannot resolve symbol
    symbol:class MainThread
    location:class MyServer
    new MainThread(s.accept());
    Any help will be appriciated.
    Regards,
    Dirgen

    1. public void MainThread(Socket socket) : Procedure??
    2. MainThread(Socket socket) : Constructor of your class.
    I think i would use the constructor approach. (2.).

  • Help on how to make an infinite loop with the same space on all images

    HI:
    I made a movie clip with infinite  loop in which there are images that move from right to left something simple like a marquee, and each image has a blank space between  them, but between last and first image there is a more space, how I can do to  make all images have an equal space between each one and that the motion never stops.

    Thanks for your time and answers my friend, but I'm still not be able to achieve what I want, I forgot to tell that I'm doing this by layers, let's say, I have 5 images, (in fact I have like 50 images converted to movie clip symbols) each image has it's own layer, layer 1, layer 2, layer 3, layer 4, layer 5, then I put a 200 frame motion tween on all layers at 30 fps, then I arranged layer 1 on the first frame to the frame 200, the second layer from frame 50 to frame 250, third layer from frame 100 to frame 300, fourth layer from frame 150 to frame 350, and fifth layer from frame 200 to frame 400, by this I mean I put a 50 frame of space on each image but if you can see, the last image has a duration from frame 200 to frame 400, and there's nothing on frame 250 where it is supposed to be another image to match the same blank space of all the others, the movie clip restarts on the frame 400, and there's a 150 frames of blank space between the last image and the first image, I put the gotoandplay on the frame 250, but it abruptly restarts the movie.
    Is there another way to do this ?
    Am I doing something wrong ?
    Please I really really need help on this.
    Thanks

  • Trigger with progressive

    Hi,
    I've this table:
    CREATE TABLE MY_TAB (
    ID VARCHAR2 (24) NOT NULL,
    NAME_ID VARCHAR2 (32) DEFAULT NULL,
    PRIMARY KEY (ID ));
    I'd like to create one trigger that for each NAME_ID insert into ID column the value "NAME_ID-progressive of 3 digit"
    For example:
    INSERT INTO MY_TAB ( NAME_ID) VALUES ('999');
    ID..............NAME_ID
    999-001.........999
    INSERT INTO MY_TAB ( NAME_ID) VALUES ('999');
    ID..............NAME_ID
    999-001.........999
    999-002.........999
    INSERT INTO MY_TAB ( NAME_ID) VALUES ('88888');
    ID..............NAME_ID
    999-001.........999
    999-002.........999
    88888-001.......88888
    INSERT INTO MY_TAB ( NAME_ID) VALUES ('88888');
    ID..................NAME_ID
    999-001.............999
    999-002.............999
    88888-001...........88888
    88888-002...........88888
    INSERT INTO MY_TAB ( NAME_ID) VALUES ('999');
    ID..................NAME_ID
    999-001.............999
    999-002.............999
    88888-001...........88888
    88888-002...........88888
    999-003.............999
    INSERT INTO MY_TAB ( NAME_ID) VALUES ('999')
    ID..................NAME_ID
    999-001.............999
    999-002.............999
    88888-001...........88888
    88888-002...........88888
    999-003.............999
    999-004.............999
    The trigger is like this:
    CREATE OR REPLACE TRIGGER TRG_MY_TAB
    BEFORE INSERT ON MY_TAB
    REFERENCING NEW AS NEW OLD AS OLD
    FOR EACH ROW
    WHEN (NEW.ID IS NULL)
    BEGIN
    SELECT (:NEW.NAME_ID ||('-here progressive'))
    INTO :NEW.ID
    FROM DUAL;
    END;
    How can I create this trigger with progressive
    Thank in advance!

    Create an auxiliary table:
    CREATE TABLE progressive
    (name_id VARCHAR2(32) NOT NULL PRIMARY KEY
    ,seq NUMBER NOT NULL
    /And then call this function in your trigger:
    CREATE OR REPLACE FUNCTION next_progressive (p_name_id IN progressive.name_id%TYPE)
                               RETURN NUMBER IS
      l_seq NUMBER;
    BEGIN
      LOOP
        BEGIN
          SELECT seq INTO l_seq
            FROM progressive
            WHERE name_id = p_name_id
            FOR UPDATE;
          UPDATE progressive
            SET seq = seq + 1
            WHERE name_id = p_name_id;
          RETURN l_seq;
        EXCEPTION
          WHEN no_data_found THEN
            BEGIN
              INSERT INTO progressive (name_id, seq)
                VALUES (p_name_id, 2);
              RETURN 1;
            EXCEPTION
              WHEN dup_val_on_index THEN
                null;
            END;
        END;
      END LOOP;
    END;
    /

  • Drag Thumbnail images infinite loop

    I need to make a thumbnail drag images (only five images) with infinite loop.
    I don't know how to begin.
    Is there any Xtra, tutorial or samples about it?
    Can you suggest me please?
    many thanks

    Hello:
    I'm trying to snap the images when the mouseUp with "infiniteScroll.dir" but I don't know how to do it.
    Can you help me, please
    thank you
    this is my code:
    On mouseUp (me)
      put ourdata.top
      A=[]
      -- array with positions
      repeat with n=1 to 5
        A.append(sprite(n).locV)
      end repeat
      put A && A.getOne(min(A))&& "MAX:" &&A.getOne(max(A)) --obtengo el valor mas cercano a la parte de arriba
      Sp=sprite(A.getOne(min(A))).SpriteNum
      put "sprite on top"&& Sp
      call(#infiniteScroll_drag, ourData.instances, Sprite(Sp).LocV=Sprite(6).locV+40)
    end

  • [svn:osmf:] 14765: Put gate around autoRewind code, to prevent possibility of an infinite loop ( which could happen if you create a SerialElement with the last child a DurationElement of duration zero ).

    Revision: 14765
    Revision: 14765
    Author:   [email protected]
    Date:     2010-03-15 13:48:04 -0700 (Mon, 15 Mar 2010)
    Log Message:
    Put gate around autoRewind code, to prevent possibility of an infinite loop (which could happen if you create a SerialElement with the last child a DurationElement of duration zero).
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/media/MediaPlayer.as

    Step by step, how did you arrive at seeing this agreement?

  • Triggering event FMRE-CREATED in an infinite loop

    Hi guys,
    Iu2019m having a big problem in Public Sector Management with Founds Management Government when I create a Found reservation Tcode FMX1.
    My problem is the triggering event FMRE-CREATED  (event to start the Workflow) because when the document is created, this event is generated by the system which is fine, but inside on my Workflow I have a task to change the status with FMRE-SetLock, when this method is executed, automatically trigger an event FMRE-CREATED again, so my WF gets in a infinite loop.
    How can I tell the system to donu2019t trigger this event when the status is changed?
    Thanks a lot
    Felipe Uribe.

    Hi,
    but inside on my Workflow I have a task to change the status with FMRE-SetLock, when this method is executed, automatically trigger an event FMRE-CREATED again, so my WF gets in a infinite loop.
    How you changing the status? Check any Function Module or BAPI to change the status.
    You have acheive it via Start Condition, check are you getting entry in the Table  SWFREVTLOG for Creation.
    If second time creating, check for the entry in the table, if found not allow it.
    Regards,
    Surjith

  • Infinite loop creating new page due to column header overflow.

    i am getting an error and some pages "Infinite loop creating new page due to column header overflow. " --
    using report builder 9, i have a fairly simple report - that contains 4 subreports.
    for some pages i get the error - it seems if there is more data than would fit on 1 page.
    smaller pages work fine.
    the subreports are all simple queries and dumps....
    containing page header, column header, detail sections.
    page header has just a text bar of the name of the section.
    column header has the field names
    detail section has the data - 1 row for each row in the recordset.
    nothing i do seems to change getting "Infinite loop creating new page due to column header overflow. " on a page with more than 15-20 records returned.
    any ideas would be appreciated.

    Try these links if you are still having the issue:
    http://community.jaspersoft.com/questions/543302/receive-infinite-loop-creating-new-page-d ue-column-header-overflow-exception
    http://community.jaspersoft.com/questions/500177/infinite-loop-due-page-header-overflow

Maybe you are looking for

  • Multiple Header line in Receiver File adapter

    Hi, I have an issue in Receiver File adapter with multiple header lines. I am able to get only 1 header lines in the receiver file but not multiple header lines with 'nl' since it is static in file mode [CommunityTag:Header] empNo,EmpName,Age [Commun

  • IMac freezes in finder after update

    hi there. MY iMac (24") keeps beach balling in the finder ( 5 mins after restarts) this has only happened since the latest update. I Have so far reset vram done the smc (I think it's called that) reboot with the power plug. done repairs and permissio

  • How to add one second to a date time stamp

    What is the proper syntax to add one second to a date/timestamp?

  • Query regarding Order of the column in a table

    We have a table called EMP in several of our schemas. JOB is the third column in order. But in some schemas, JOB is not the third column. How can i find the schemas with EMP table where JOB column is not the third column? SQL > desc emp Name         

  • Best way to move Onenote files from offline file location.

    We have a majority of our users now on Win 7 using Office 2010. We have redirected folders with offline files syncing Included in this location is the OneNote files. After starting to investigate Win 8.1 Update 1 and office 2013. We noticed the messa