Can't figure out why webcam video freezes (pauses) every now and then

I have created a small application to grab the video stream from a webcam that seems to work very well. But, every now and then the video pauses for no apparent reason. Any ideas why it might be doing this? I am using an undecorated JFrame for the app and there is an option in the program to dynamically change the window opacity using AWTUtilities.setWindowOpacity().

In that case, that's different. I thought you were complaining because it'd freeze for a moment or two and then keep going ;-)
Ummmmm, I'd guess that maaaaybe changing the opacity is affecting the validate() status of the pane? Like the following post:
[http://forums.sun.com/thread.jspa?messageID=10504851#10504851]
How are you displaying the video? Just using a player, or what?

Similar Messages

  • Newbie: Can't figure out why GUI is freezing

    Hello, I am trying to make my very first program with Swing, and I cannot figure out why it freezes and what I need to do to prevent that from happening. This program simulates this game of life. If a button is selected (alive) and 2 or 3 (only) buttons surrounding it are also selected, then the button selected gets to stay selected. Otherwise it dies. Also, if an empty button is surrounded by exactly 3 selected button, it also becomes alive. Here is the code:
    package learn;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class Life {
          * @author Michael Keselman
         final JLabel label = new JLabel("Empty");
         final static String LOOKANDFEEL = "System";
         JToggleButton[] b = new JToggleButton[400];
         JLabel message = new JLabel();
         private boolean f;
         private final int NUMRC = 20; // Number of Rows and Columns
         public static void main(String[] args) {
              SwingUtilities.invokeLater(new Runnable() {
                   public void run() {
                        createAndShowGUI();
         public static void createAndShowGUI() {
              initLookAndFeel();
              JFrame.setDefaultLookAndFeelDecorated(true);
              JFrame frame = new JFrame("Swing Application");
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              Life app = new Life();
              Component contents1 = app.createComponents1();
              Component contents2 = app.createComponents2();
              frame.getContentPane().add(contents1, BorderLayout.CENTER);
              frame.getContentPane().add(contents2, BorderLayout.SOUTH);
              frame.pack();
              frame.setSize(1200, 880);
              frame.setLocationRelativeTo(null);
              frame.setVisible(true);
         public Component createComponents1() {
              JPanel pane = new JPanel(new GridLayout(NUMRC, NUMRC));
              for (int i = 0; i < 400; i++) {
                   b[i] = new JToggleButton("" + i);
                   b.setForeground(Color.black);
                   pane.add(b[i]);
              return pane;
         public Component createComponents2() {
              JPanel bpane = new JPanel();
              JButton start = new JButton("Start!");
              JButton stop = new JButton("Stop!");
              stop.setToolTipText("Click here to stop the Game of Life");
              start.setToolTipText("Click here to start the Game of Life");
              start.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent e) {
                        SwingUtilities.invokeLater(new Runnable() {
                             public void run() {
                                  f = true;
                                  while (f = true)
                                       for (int i = 0; i < 400; i++) {
                                            try {
                                            Thread.sleep(20);
                                            } catch (InterruptedException g) {
                                            System.err.println(g);
                                            int numSurround = getSurrounded(i);
                                            if (b[i].isSelected())
                                                 if (numSurround < 2)
                                                      b[i].setText("L");
                                                      b[i].setToolTipText("Too Lonely");
                                                      b[i].setSelected(false);
                                                 else if (numSurround > 3)
                                                      b[i].setText("C");
                                                      b[i].setToolTipText("Too Crowded");
                                                      b[i].setSelected(false);
                                            else // not selected
                                                 if (numSurround == 3)
                                                      b[i].setSelected(true);
                                            // try{Thread.sleep(3000);}
                                            // catch(InterruptedException f){System.out.println(f);}
                                            // System.out.println(i);
                                            // message.setText("Success!");
    //                                        System.out.println(i);
    //                                        if (i == 399)
    //                                        i = -1;
              stop.addActionListener(new ActionListener()
                   public void actionPerformed(ActionEvent e)
                        System.out.println("Hello. Success.");
                        f = false;
              bpane.add(message);
              bpane.add(start);
              bpane.add(stop);
              return bpane;
         private int getSurrounded(int i) {
              int row = i / NUMRC;
              int column = i % NUMRC;
              int surroundCount = 0;
              * Left Neighbor
              int leftColumn = column - 1;
              if (leftColumn >= 0) {
                   if (b[getIndex(row, leftColumn)].isSelected())
                        ++surroundCount;
              * Right Neighbor
              int rightColumn = column + 1;
              if (rightColumn < NUMRC) {
                   if (b[getIndex(row, rightColumn)].isSelected())
                        ++surroundCount;
              * Top Neighbor
              int topRow = row - 1;
              if (topRow >= 0) {
                   if (b[getIndex(topRow, column)].isSelected())
                        ++surroundCount;
              * Bottom Neighbor
              int bottomRow = row + 1;
              if (bottomRow < NUMRC) {
                   if (b[getIndex(bottomRow, column)].isSelected())
                        ++surroundCount;
              * Upper-Left Neighbor
              if (topRow >= 0 && leftColumn >= 0) {
                   if (b[getIndex(topRow, leftColumn)].isSelected())
                        ++surroundCount;
              * Upper-Right Neighbor
              if (topRow >= 0 && rightColumn < NUMRC) {
                   if (b[getIndex(topRow, rightColumn)].isSelected())
                        ++surroundCount;
              * Bottom-Left Neighbor
              if (bottomRow < NUMRC && leftColumn >= 0) {
                   if (b[getIndex(bottomRow, leftColumn)].isSelected())
                        ++surroundCount;
              * Bottom-Right Neighbor
              if (bottomRow < NUMRC && rightColumn < NUMRC) {
                   if (b[getIndex(bottomRow, rightColumn)].isSelected())
                        ++surroundCount;
              return surroundCount;
         protected int getIndex(int row, int column) {
              return (NUMRC * row + column);
         private static void initLookAndFeel() {
              String lookAndFeel = null;
              if (LOOKANDFEEL != null) {
                   if (LOOKANDFEEL.equals("Metal")) {
                        lookAndFeel = UIManager.getCrossPlatformLookAndFeelClassName();
                   } else if (LOOKANDFEEL.equals("System")) {
                        lookAndFeel = UIManager.getSystemLookAndFeelClassName();
                   } else if (LOOKANDFEEL.equals("Motif")) {
                        lookAndFeel = "com.sun.java.swing.plaf.motif.MotifLookAndFeel";
                   } else if (LOOKANDFEEL.equals("GTK+")) {
                        lookAndFeel = "com.sun.java.swing.plaf.gtk.GTKLookAndFeel";
                   } else {
                        System.err
                                  .println("Unexpected value of LOOKANDFEEL specified: "
                                            + LOOKANDFEEL);
                        lookAndFeel = UIManager.getCrossPlatformLookAndFeelClassName();
                   try {
                        UIManager.setLookAndFeel(lookAndFeel);
                   } catch (ClassNotFoundException e) {
                        System.err
                                  .println("Couldn't find class for specified look and feel:"
                                            + lookAndFeel);
                        System.err
                                  .println("Did you include the L&F library in the class path?");
                        System.err.println("Using the default look and feel.");
                   } catch (UnsupportedLookAndFeelException e) {
                        System.err.println("Can't use the specified look and feel ("
                                  + lookAndFeel + ") on this platform.");
                        System.err.println("Using the default look and feel.");
                   } catch (Exception e) {
                        System.err.println("Couldn't get specified look and feel ("
                                  + lookAndFeel + "), for some reason.");
                        System.err.println("Using the default look and feel.");
                        e.printStackTrace();
    I have a strong feeling that it is because of the semi-infinite for loop in the start button's ActionEvent, but I feel that the program needs to have this because it is supposed to go on until the user presses stop. Please help!
    Thank you!!

    OK. I have updated my code to sort of work (it goes to the 8th round at best). How can I optimize it to actually make it continue running? Please help!
    package learn;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class Life {
          * @author Michael Keselman
         final JLabel label = new JLabel("Empty");
         final static String LOOKANDFEEL = "System";
         JToggleButton[] b = new JToggleButton[400];
         JLabel message = new JLabel();
         ActionListener a;
         private boolean f;
         Timer timer;
         int c = 0;
         private final int NUMRC = 20; // Number of Rows and Columns
         public static void main(String[] args) {
              SwingUtilities.invokeLater(new Runnable() {
                   public void run() {
                        createAndShowGUI();
         public static void createAndShowGUI() {
              initLookAndFeel();
              JFrame.setDefaultLookAndFeelDecorated(true);
              JFrame frame = new JFrame("Swing Application");
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              Life app = new Life();
              Component contents1 = app.createComponents1();
              Component contents2 = app.createComponents2();
              frame.getContentPane().add(contents1, BorderLayout.CENTER);
              frame.getContentPane().add(contents2, BorderLayout.SOUTH);
              frame.pack();
              frame.setSize(1200, 880);
              frame.setLocationRelativeTo(null);
              frame.setVisible(true);
         public Component createComponents1() {
              JPanel pane = new JPanel(new GridLayout(NUMRC, NUMRC));
              for (int i = 0; i < 400; i++) {
                   b[i] = new JToggleButton("" + i);
                   b.setForeground(Color.black);
                   pane.add(b[i]);
              return pane;
         public Component createComponents2() {
              JPanel bpane = new JPanel();
              JButton start = new JButton("Start!");
              JButton stop = new JButton("Stop!");
              JButton clear = new JButton("Clear!");
              timer = new Timer(900, a);
              timer.start();
              clear.setToolTipText("Click here to deselect every button");
              stop.setToolTipText("Click here to stop the Game of Life");
              start.setToolTipText("Click here to start the Game of Life");
              start.addActionListener(a = new ActionListener() {
                   public void actionPerformed(ActionEvent e) {
                        f = true;
                        ++c;
    //                    while (f == true)
                             for (int i = 0; i < 400; i++) {
                                  // try {
                                  // Thread.sleep(20);
                                  // } catch (InterruptedException g) {
                                  // System.err.println(g);
                                  timer = new Timer(600, a);
                                  timer.start();
                                  int numSurround = getSurrounded(i);
                                  if (b[i].isSelected()) {
                                       if (numSurround < 2) {
                                            b[i].setText("L");
                                            b[i].setToolTipText("Too Lonely");
                                            b[i].setSelected(false);
                                       } else if (numSurround > 3) {
                                            b[i].setText("C");
                                            b[i].setToolTipText("Too Crowded");
                                            b[i].setSelected(false);
                                  } else // not selected
                                       if (numSurround == 3)
                                            b[i].setSelected(true);
                             message.setFont(new Font("Comic Sans MS", Font.BOLD, 18));
                             message.setText("Round " + c);
              stop.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent e) {
                        System.out.println("Hello. Success.");
                        f = false;
              clear.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent e) {
                        for (int i = 0; i < 400; i++)
                             b[i].setSelected(false);
              bpane.add(message);
              bpane.add(start);
              bpane.add(stop);
              bpane.add(clear);
              return bpane;
         private int getSurrounded(int i) {
              int row = i / NUMRC;
              int column = i % NUMRC;
              int surroundCount = 0;
              * Left Neighbor
              int leftColumn = column - 1;
              if (leftColumn >= 0) {
                   if (b[getIndex(row, leftColumn)].isSelected())
                        ++surroundCount;
              * Right Neighbor
              int rightColumn = column + 1;
              if (rightColumn < NUMRC) {
                   if (b[getIndex(row, rightColumn)].isSelected())
                        ++surroundCount;
              * Top Neighbor
              int topRow = row - 1;
              if (topRow >= 0) {
                   if (b[getIndex(topRow, column)].isSelected())
                        ++surroundCount;
              * Bottom Neighbor
              int bottomRow = row + 1;
              if (bottomRow < NUMRC) {
                   if (b[getIndex(bottomRow, column)].isSelected())
                        ++surroundCount;
              * Upper-Left Neighbor
              if (topRow >= 0 && leftColumn >= 0) {
                   if (b[getIndex(topRow, leftColumn)].isSelected())
                        ++surroundCount;
              * Upper-Right Neighbor
              if (topRow >= 0 && rightColumn < NUMRC) {
                   if (b[getIndex(topRow, rightColumn)].isSelected())
                        ++surroundCount;
              * Bottom-Left Neighbor
              if (bottomRow < NUMRC && leftColumn >= 0) {
                   if (b[getIndex(bottomRow, leftColumn)].isSelected())
                        ++surroundCount;
              * Bottom-Right Neighbor
              if (bottomRow < NUMRC && rightColumn < NUMRC) {
                   if (b[getIndex(bottomRow, rightColumn)].isSelected())
                        ++surroundCount;
              return surroundCount;
         protected int getIndex(int row, int column) {
              return (NUMRC * row + column);
         private static void initLookAndFeel() {
              String lookAndFeel = null;
              if (LOOKANDFEEL != null) {
                   if (LOOKANDFEEL.equals("Metal")) {
                        lookAndFeel = UIManager.getCrossPlatformLookAndFeelClassName();
                   } else if (LOOKANDFEEL.equals("System")) {
                        lookAndFeel = UIManager.getSystemLookAndFeelClassName();
                   } else if (LOOKANDFEEL.equals("Motif")) {
                        lookAndFeel = "com.sun.java.swing.plaf.motif.MotifLookAndFeel";
                   } else if (LOOKANDFEEL.equals("GTK+")) {
                        lookAndFeel = "com.sun.java.swing.plaf.gtk.GTKLookAndFeel";
                   } else {
                        System.err
                                  .println("Unexpected value of LOOKANDFEEL specified: "
                                            + LOOKANDFEEL);
                        lookAndFeel = UIManager.getCrossPlatformLookAndFeelClassName();
                   try {
                        UIManager.setLookAndFeel(lookAndFeel);
                   } catch (ClassNotFoundException e) {
                        System.err
                                  .println("Couldn't find class for specified look and feel:"
                                            + lookAndFeel);
                        System.err
                                  .println("Did you include the L&F library in the class path?");
                        System.err.println("Using the default look and feel.");
                   } catch (UnsupportedLookAndFeelException e) {
                        System.err.println("Can't use the specified look and feel ("
                                  + lookAndFeel + ") on this platform.");
                        System.err.println("Using the default look and feel.");
                   } catch (Exception e) {
                        System.err.println("Couldn't get specified look and feel ("
                                  + lookAndFeel + "), for some reason.");
                        System.err.println("Using the default look and feel.");
                        e.printStackTrace();
    Thank you!

  • How do I create an entire class as a long video with quizzes every now and then.

    I am creating classes documentary video style. I would like my students to watch them and take quizzes at certain points in the video to make sure they are watching.  I also want to control their playback. I can't have them skipping forwards, yet I want them to be able to go back. Is there a way to do this in captivate? Is captivate the right program for me?
    Thanks,
    Jesse

    Hi Jesse,
    This seems possible with Captivate.
    Do you have an already made video for that documentary in any video file format?
    If you have a video then in Captivate, you can insert that video as a multi slide synchronized video (Video > Insert video > Multi slide video ), it means that single video will be distributed to a number of slides in Captivate.
    You can also, later on decide how much part of video should stay on which slide and the slide duration, from video management in Captivate (Video > Video Management).
    Within those slides you can insert question slides in Captivate.
    If you do not want the play bar at the bottom, or want to customize that, you can do so, by going into Project > Skin Editor in Captivate.
    You can also insert a table of contents and check the option to navigate visited slides only.
    Thanks.

  • My 13" macbook pro 2012 freezes totally every now and then

    I bought my mac aproximately 1 year ago, and now it has started to act wierd. After using it in like 5 minutes, parts of the screen suddenly flashes green and proceed to a status of freezing. i can't move the mouse or do any kind of type-commands. the only thing that helps is to hold down the powerbutton until it turns off. when i have started it again it does the same thing over again. Do anyone know of this problem, and maybe have a solution, or just an idea of how to solve this problem? please help me :/
    - right after buying it i changed the RAM to 8 gigabyte, but haven't had any trouble with it.
    and also sorry for my - probably - not so good english

    I ran the short and long hardware tests this afternoon and nothing came up. So there's no detectable hardware defect.
    At the moment I don't suspect the drive. Today I've been running iostat in a terminal the whole day and I see no change in disk activity (or system load or anything else for that matter) when the freeze occurs. iostat keeps reporting the same numbers the whole time. Maybe it's something on the mainboard or a driver/OS X issue. Or an interrupt issue since everything that I did during the freeze gets done instantly after the systems starts responding again.
    Monday I'm going to call Apple to report all of this. Since Apple Support only heard of this issue from you I expect I'm going to get a replacement MacBook Pro. But I suspect that there's a good chance I'll be getting another model with same issue.
    A friend of mine has ordered the same configuration as I have at the same time. She hasn't experienced any problems so far. She's going to pay close attention to her MacBook tomorrow when she boots it in the morning. And in a couple of days we're going to test them side by side. I'll keep you posted.
    Greets,
    Kick

  • How do I figure out why webcam stopped working

    How can i figure out why webcam stopped working.  Sometimes rebooting helped but now it does not go on when software comes up

    Hi,
    Please use this to fix
      http://h10025.www1.hp.com/ewfrf/wc/document?docnam​e=c02452221&lc=en&cc=us&dlc=en&product=3761191    
    Links for XP & Vista are in there too.
    Good luck.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Can't figure out why my navbar gets all pixelated online?

    Hi Everyone,
    I'm designing a floating site.  My workflow is PS=====>Fireworks====>Dreamweaver.  I made a navbar in FW with a transparent background and exported html to dreamweaver.  I inserted the fireworks htm, put it online and it looks terrible.  You can see it here:
    http://www.njtraininggrounds.com/thirddaydesign.com/identity.html
    Don't worry about the portfolio button, I know what's going on there.  But I can't figure out why there is "stairstepping" on the logo and on all the navbar buttons.  This is the first time I've ever created a floating site.  I just put a jpeg for repeat using the dreamweaver css, and then inserted the rest in a table. 
    Could anyone give me an idea of what I'm doing wrong?  Thanks so much.
    Wil

    There's no problem with using PNG8, PNG24, or PNG32, other than the huge
    weight of the latter two.  But there's no need to go PNG here.
    Personnaly I see only advantages in using PNG. The good thing about using PNG for graphics like this is that it does not tie you to a background with a certain color. like a GIF with a colored matte does. Should you wish to change your background color later you can keep on using your menu buttons. There is no need to prepare new graphics for the menu just because you change a background color or image.
    As for the "huge" weight of the PNG file, I'd say that depends on your definition of "huge"
    If you compare the filesizes of a simple graphic like that, I see no big improvement by using GIF.
    see screenshot:

  • Hi, I can't figure out why I can't render on my timeline. I highlight the segment hit "Apple-R" and it gives me a weird message about "conforming HDV video...." and the bar goes as far as 60-66% and holds there forever. It never renders even partially.

    Hi, I can't figure out why I can't render on my timeline. I highlight the segment hit "Apple-R" and it gives me a weird message about "conforming HDV video...." and the bar goes as far as 60-66% and holds there forever. It never renders even partially.

    Yes, I know. I have been working with HDV for some time. I am wondering why it doesn't render when it needs to.. the red and bright-green lines are above, and I've set the render settings such that ANYTHING I highlight and hit apple-R will render. But its not rendering at all.

  • Can't figure out why I'm dropping frames during capture

    I'm dropping frames when capturing 1-hour Mini DV tapes and I can't figure out why.
    I'm capturing on a Mac Pro (Early '08) with 8 GB of memory running FCP 7.0.3 and OS X 10.6.6. I'm capturing to a 4 TB G-Speed eS (eSATA) formatted as RAID 5 (Non-Journaled Extended) with about 750 GB of remaining space. I'm capturing via FireWire with a Canon GL-2. This should be a breeze for this system.
    I've run Apple Disk Utility, Disc Warrior 4 and Techtool Pro 5 on the drives and they seem to be fine. I've unplugged all USB and FireWire devices besides the keyboard and mouse. No virus protection or background utilities are running. I've trashed preferences. AJA System Test shows a 286 MB/s write speed and 254 MB/s read speed. Blackmagic Disk Speed Test shows a 312 MB/s write speed and a 379 MB/s read speed. No other applications besides FCP are running. I edit 1080p HD footage on this system all day long with no issues but when I try to capture DV SD footage, I run into issues.
    The dropped frames error does not ever occur in the same place on the tapes. The tapes are brand new and don't seem to have any time code issues. The only thing I haven't done is to defragment the hard drives. I wouldn't think that capturing simple DV video would be that demanding; the defragment for a 4 TB RAID would likely take 2 or 3 days.
    Any other ideas on what's going on and how to try to fix it? Thanks!

    Thanks for the prompt reply, Studio X. Yes, I'm using FireWire Basic and no other FireWire devices. I've switched FireWire cables, although I doubt that's the issue as the cable I was using was brand new and fit snuggly. Unfortunately, I don't have an alternate playback device right now. Would switching to Non-controllable device capture settings be worth a try?

  • I'm staying at my house in Peru, South America. From my PC laptop I can see my neighbor's wifi service network, but I also have my mini iPad and I can not figure out why I can't get any wifi connection from my area. Is there a setting I need to do?

    I'm staying at my house in Peru, South America. From my PC laptop I can see my neighbor's wifi service network, but I also have my mini iPad and I can not figure out why I can't get any wifi connection from my area. Is there a setting I need to do?

    Yes, I did try to go on my settings>wifi and was waiting for any wifi signals to pick up, but nothing shows up. But on my PC I get a whole list of networks to choose from. Regarding my neighbor, I already have her password that is why I was able to get it on my PC, the problem is that the mini Ipad is not picking any signal neither can it locate me when I go to maps.

  • Can't figure out why colors don't totally change when you select type with curser? It looks like it has by looking at it, but when you highlight the area after the old color is still there. It happens with objects to. Driving me NUTZ. Help!

    Can't figure out why colors don't totally change when you select type with curser? It looks like it has by looking at it, but when you highlight the area after the old color is still there. It happens with objects to. Driving me NUTZ. Help!

    Select the text, and open the Appearance palette (Come on guys, text highlight is irrelevant, it happens to objects too says the OP), and see what's listed there.  For a simple text object, there should only be a line item "Type", followed by "Characters", and when double-clicked the Characters line item expands to tell you the stroke and fill color.  For a basic object, there should be a fill and/or stroke.
    What happens sometimes, is that you end up adding extra strokes/fills to objects or text, and the appearance palette is where that will be noted.  Especially when you are dealing with groups, and/or picking up a color with the eyedropper, you may inadvertently be adding a fill or stroke on top of something.  You can drag those unwanted thingies from the Appearance palette into its own little trash can.

  • I tried to Skype someone but I can't see them but they can see me and I can't figure out why?

    I tried to Skype somebody and they can see me but I can't see them and I can't figure out why?

    I'll guess that you're upgrading from Snow Leopard? You should be able to start using your original install dvd by inserting the disc and restarting while holding the C key. Run Disk Utility from your install disc  and try to repair the drive. Then try the upgrade again.

  • Apex bug?  Items being cleared in session state - can't figure out why

    I have an item that is being submitted with a value but is then being overwritten and set to null. I can't see any reason why the submitted value is being overwritten with null.
    I have been debugging this problem for most of the day and can't figure out what is happening and was hoping someone in the forum might be able to shed some light.
    Some details:
    The item is on Page 0, has source type of "PL/SQL Expression or Function", a source expression of "V('REQUEST')", and Source Used = "Always".
    I viewed the HTML source of the rendered page and can see the following HTML, so I know the item has a value when the page is rendered:
    <input type="hidden" id="RENDER_REQUEST" name="p_t08" value="EDIT" />
    I have used Firebug to view the HTTP POST body and can see that p_t08 is being correctly submitted with a value of "EDIT" in the post body.
    When I run the page in debug mode and then view the debug log, I see that Apex is indeed setting this item to null:
         0.01500     0.01600     A C C E P T: Request="WIZ_NEXT"
         0.23400     0.00000     Session State: Save form items and p_arg_values
         0.24900     0.01600     ...Session State: Save "BRANCH_TO_PAGE_ID" - saving same value: ""
         0.24900     0.00000     ...Session State: Save "ROWS_PER_PAGE" - saving same value: ""
         0.26500     0.01500     ...Session State: Save "P0_CLEAR_WS" - saving same value: ""
         0.26500     0.00000     ...Session State: Saved Item "RENDER_REQUEST" New Value=""
    I can't figure out why the item is being set to null.
    This problem also does not occur on every page. The pages in question are a multi-step "wizard" that allows the user to navigate between steps with "Next" and "Previous" buttons. Since this is a page 0 item, it appears on every page in the wizard so I'd expect it to behave the same. When you open the wizard at step 1 and press next to go to step 2, the item (RENDER_REQUEST) is set correctly on step 2 of the wizard, BUT when you then click Next to go to step 3, RENDER_REQUEST is null on step 3. If you open the wizard at step 2 and press Next, RENDER_REQUEST is null on step 3.
    I did find a work around, but it doesn't make any sense why it would work: if I move the RENDER_REQUEST item from the "Footer Items" region to a page level item (by using Edit All and setting its region to blank), then the problem goes away. If I move it back to the "Footer Items" region the problem reoccurs.
    I am working on Application Express 4.0.2.00.07 on Oracle Database 11g Enterprise Edition Release 11.2.0.1.0.
    Any help would be greatly appreciated!
    Thank you.

    Hi Patrick,
    Thanks for the quick response. Unfortunately, I can't reproduce this on apex.oracle.com due because the app requires PL/SQL packages to be installed in several schemas, including some that require system grants (I gave a presentation at Oracle Open World a couple of years ago on some of the techniques I used in building this application that you attended; I think the session was called "Building Large Commercial Applications with Oracle Database 11g and Oracle Application Express").
    Is there another way we can work together to debug this without reproducing it apex.oracle.com? For example, if you could send me an instrumented version of the APEX_040000.F procedure (or whatever procedure is clearing the session state) that has some additional APEX_APPLICATION.DEBUG calls, I could install it on my server, reproduce the error and send you the output.
    Thank you,
    Eric

  • All of a sudden my new iphone will not hold a charge even when it is not being used and I can't figure out why???

    my battery drains even when iphone is not being used.  It is a relatively new phone and this battery draining just started and I can't figure out why????

    Yes, thank you.  My apologies, I was typing one handed and did not add that. 
    Anyway, I have tried deleting the cache, deleting my pics and then re-syncing, etc. and nothing is working This is very frustrating, as I had no problems up until about 2 weeks ago, and now all of a sudden, I have this issue......UGH!

  • I have an iphone5 that is eating up data time and I can't figure out why? Any thoughts?

    I have an iphone5 that is eating up data time and I can't figure out why? Any thoughts? I have closed everyting I can, even took the phone to Verizon and they are not sure what is going on.   My company email is active and pushes to the phone....I use Safari regularly to look up stuff for personal and work use.  I am on Facebook but have turned it off in notifications.  Four phones and a hotspot on the account....we have 6g and have never come close to it, until lately and it's my phone that's eating up the gigs.  So what the heck is going on?

    Go to Settings/Cellular and you can see how much data each app is using. You can Reset Statistics, then track all of the apps data usage.

  • I'm trying to make an in app purchase and it keeps telling me to come to the support page but I can't figure out why it won't let me do it

    I'm trying to make an in app purchase and it keeps telling me to come to the support page but I can't figure out why it won't let me do it

    And I have gone to the support and it was no help

Maybe you are looking for

  • Error while calling the EAI Viewer

    Dear all, I am working on Document Management System ECC 6.00 I am able to upload a PDF document in to the system, but when i save it and try to call the document back it is giving me the folllowing error."Error while calling the EAI Viewer" But when

  • Issue with Referential Integrity check in Oracle VPD Policy

    Hi, Lets assume I have two tables - Customer and Order, with cust_id in Order table referring to primary key of Customer table. Example Data; Customer cust_id Name 1 abc 2 def 3 ghi Order Order_id cust_id Order_type 1 1 A 2 2 A 3 1 B Now I have polic

  • RFC to File scenario.. Messages not available in sxmb_moni

    Hi Experts, I have created simple RFC to File scenario in my sandbox system.  First time I am doing this type of scenario. When I execute the program which is created to call the RFC Function Module nothing is coming into sxmb_moni in sap system as w

  • Dynamically binding CachedRowSet and page navigation exception

    I create one page and drop a table, then create one xxxDataProvider and two rowsets from one database table, rowSet1 is set to have a criteria with the key (xxx) and default to bind with the table, rowSet2 doesn't. In the prerender(), get the session

  • Ad hoc mode

    Do all hp printers support ad-hoc connection? How do I setup the adhoc mode on the ojp 8600? This question was solved. View Solution.