htmlb:fileupload goes into infinite loop

Hello all,
We use the tag <htmlb:fileupload> in our bsp page. Now if the user enters a file name directly, ie:without using the browse button the user simply enters a filename, say 'Resume.doc' in the input field and hits the save button on the page, then the system is going into an infinite loop and the system hangs, the users cannot proceed further and they need to restart the browser all over again(it is not necessary that the file must exist in the system, the user just types in a file name and performs the save action). This is a cause of concern for some of our customers, they expect that we should provide a meaningful message to the user and the processing should end. Is this a known issue in BSPs ?? Can anyone suggest me how to get rid of this problem ?
Thanks and Best Regards,
Viqar Ali.

Hello All,
I use the following code in my bsp:
<phtmlb:matrix width="100%" >
  <phtmlb:matrixCell row = "1"
                     col = "1" />
    <phtmlb:formLayout design           = "HEADING_ONLY_SOLID"
                       customizationKey = "<%= controller->context %>" >
    <%-- Upload --%>
    <phtmlb:formLayoutItem label    = "<%= controller->file_label %>"
                           idOfItem = "upload" >
      <htmlb:fileUpload id   = "upload"
                        size = "30" />
    </phtmlb:formLayoutItem>
Everything works fine if the user selects a file using the browse button to select a file. Instead if the user enters a file name directly, then the system runs into an infinite loop. I have put a breakpoint in DO_HANDLE_DATA & DO_REQUEST of the controller class. However the control doesnt come till this point also and i cannot even debug anything. The breakpoints are hit if the user selects the file using the browse button. If anyone has a similar scenario working correctly in their application pls update me with the code.
Thanks and Best Regards,
Viqar Ali.

Similar Messages

  • OIM11gR2:Event handler goes into infinite loop

    Hi Experts,
    I have created an event handler where i am doing some functionality on execute function, that updates some UDF's when a user modifies value from the user modify form.
    I am calling the event hanlder on modify action of User entity
    Now the problem i am facing is that the eventhandler goes into infinte loop and modifies the values again and again without any break.
    Please help out, i am not able to kill the process unitill i restart the server :-(

    You can use something like below to get old values :
    HashMap<String, Serializable> interEvtDataMap = orchestration.getInterEventData();
              User newUserState = (oracle.iam.identity.usermgmt.vo.User) interEvtDataMap.get("NEW_USER_STATE");
              User oldUserState = (oracle.iam.identity.usermgmt.vo.User) interEvtDataMap.get("CURRENT_USER");
              newFirstName = (String)newUserState.getAttribute("First Name");
              oldFirstName = (String)oldUserState.getAttribute("First Name");     
    Thanks
    Suren

  • Installing tcltk2 package goes into infinite loop

    Hi
    I am trying to load the tcltk2 package downloaded from CRAN into my laptop that already has ORE 1.4.1 installed. However it is running into infinite loop with the following error output:
    Has anyone encountered this error before? Thanks!

    Which version(s) of R and tcl do you have installed on this system?
    For example, in R:
    R> version
    platform       x86_64-unknown-linux-gnu                   
    arch           x86_64                                     
    os             linux-gnu                                  
    system         x86_64, linux-gnu                          
    status                                                    
    major          3                                          
    minor          1.1                                        
    year                                                      
    month                                                     
    day                                                       
    svn rev        -99                                        
    language       R                                          
    version.string Oracle Distribution of R version 3.1.1  (--)
    nickname       Sock it to Me     
    ...and from the Linux shell:
    [slamonic@slc05elz ~]$ rpm -qa tcl
    tcl-8.4.13-6.el5
    Did you have a previous version of R on the system where you are seeing the infinite loop of errors?
    Sherry

  • Enumeration never reaches nextElement(), goes into infinite loop

    String key = "";
    while (request.getSession().getAttributeNames().hasMoreElements()) {
      key = (String) request.getSession().getAttributeNames().nextElement();
      out.println("key = " + key + " and its value = " + (String) request.getSession().getAttribute(key) + "<P>");
    }This results in an infinite loop where key is the same first element while the Enumeration never advances.
    Why would this happen? Any ideas?
    Thanks

    Why would this happen? Any ideas? Your code obtains a fresh enumeration with each loop. Don't. Just use the same enumeration. Example:
    Enumeration e = request.getSession().getAttributeNames();
    while (e.hasMoreElements()) {
      String key = (String) e.nextElement();
      out.println("key = " + key + " and its value = " + (String) request.getSession().getAttribute(key) + "<P>");
    }~

  • PSPPYRUN is going into a loop

    hello team
    PSPPYRUN is going into a loop.  see log file sequence.  You can see its re-calculating that pay group over and over again.  We have done everything see task list competed and there is no long running sql in the database either .  Is there some configuration in the application we have done which is causing this infinite loop? This is north american Payroll 9.2  and We have applied Tax : 2014-B on 2014/06/30.  We are only running for one paygroup using one run id. One id to one paygroup relationship.
    Task completed prior to running PSPPYRUN. 
    1. Recycle Process Scheduler – Completed
    2. Cleared Process Monitor logs - Completed
    3. Compiled all COBOLs - Completed
    4. Run all Store statements – Completed
    5. Deleted duplicate employee – Completed
    6. Running STATS – Completed
    PeopleSoft Payroll -- Version 9.2
    Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
    Off-Cycle Calculation started for Run: D22     
    at 23:27:48.20.
    Calculation started for Company: 001     
                            Pay Group: 005     
                            Pay End Date: 2014-05-24
    at 23:27:48.80.
         2  check(s) already calculated.
         0  check(s) to calculate.
    Calculation started for Company: 001     
                            Pay Group: 005     
                            Pay End Date: 2014-05-24
    at 23:27:53.83.
         2  check(s) already calculated.
         0  check(s) to calculate.
    Calculation started for Company: 001     
                            Pay Group: 005     
                            Pay End Date: 2014-05-24
    at 23:27:54.52.
         2  check(s) already calculated.
         0  check(s) to calculate.
    Calculation started for Company: 001     
                            Pay Group: 005     
                            Pay End Date: 2014-05-24
    at 23:27:55.19.
         2  check(s) already calculated.
         0  check(s) to calculate.
    Calculation started for Company: 001     
                            Pay Group: 005     
                            Pay End Date: 2014-05-24
    at 23:27:55.87.
         2  check(s) already calculated.
         0  check(s) to calculate.
    Calculation started for Company: 001     
                            Pay Group: 005     
                            Pay End Date: 2014-05-24
    at 23:27:56.54.
         2  check(s) already calculated.
         0  check(s) to calculate.
    Calculation started for Company: 001     
                            Pay Group: 005     
                            Pay End Date: 2014-05-24
    at 23:27:57.21.
         2  check(s) already calculated.
         0  check(s) to calculate.
    Calculation started for Company: 001     
                            Pay Group: 005     
                            Pay End Date: 2014-05-24
    at 23:27:57.89.
         2  check(s) already calculated.
         0  check(s) to calculate.
    Calculation started for Company: 001     
                            Pay Group: 005     
                            Pay End Date: 2014-05-24
    at 23:27:58.58.
         2  check(s) already calculated.
         0  check(s) to calculate.
    Calculation started for Company: 001     
                            Pay Group: 005     
                            Pay End Date: 2014-05-24
    at 23:27:59.28.
         2  check(s) already calculated.
         0  check(s) to calculate.
    Calculation started for Company: 001     
                            Pay Group: 005     
                            Pay End Date: 2014-05-24
    at 23:27:59.97.
         2  check(s) already calculated.
         0  check(s) to calculate.
    Calculation started for Company: 001     
                            Pay Group: 005     
                            Pay End Date: 2014-05-24
    at 23:28:00.61.
         2  check(s) already calculated.
         0  check(s) to calculate.
    Calculation started for Company: 001     

    Dear All,
                 I will explain the scenario further.
    Plant : PL1
    Vendor Location : VL1
    Subcontractor Location : SL1
    Component manufactured at VL1 : C1
    PPM maintained at VL1 for C1
    Component supplied by VL1 to PL1 : C1
    Manual Tlane created from VL1 to PL1 for C1
    Component, in turn, supplied by plant PL1  to  SL1: C1
    Manual Tlane created from PL1 to SL1 for C1
    Product Manufactured at Subcontract Location : SFG
    PPM maintained at SL1 for SFG
    Product supplied by SL1 to PL1 : SFG
    Creating a Purchase Inforecord with subcontracting type and CIFing to APO creates a Tlane for SFG from SL1--->PL1
    Procurement type at PL1 for SFG is "F"
    Procurement type at SL1 for SFG is "E"
    Procurement type at PL1 for C1 is "F"
    Procurement type at SL1 for C1 is "F"
    Procurement type at VL1 for C1 is "E"
    The Tlanes are in opposite direction and for different product.
    For C1, it is VL1 -> PL1 -> SL1
    For SFG, it is SL1 -> PL1
    Can this be the cause of the run going into the loop?
    Thanks in advance
    Ehsan Ahmed

  • Unable to open files associated with Adobe Reader - program goes into a loop

    i am unable to open any file associated with adobe reader or adobe pro.  when i double-click the file, adobe reader opens up but it goes into a loop. 
    adobe reader opens, then a progress window opens, as if the file will open but adobe closes and opens again and the same cycle repeats itself until i manually close the program.
    any advice?
    update:
    i can open regular .PDF files when i double-click the icon and i can also open .PDF files when i open adobe reader first and then choose open file.  it's just the .FDF files that are the problem (so far).
    the file in question happens to be an .FDF extension, which is an internet generated form. i attached a screen shot of the screen that pops up, goes away, and pops up again that creates the loop.
    the white out section is the server name where the file was saved to.  but i also get the same symptoms when i am in internet explorer, hit the generate form button.

    hey ankit,
    sorry i didn't see a notification that you replied to this discussion.
    "1. Generate a new PDF and a FDF file. Try opening the same and see if it behaves the same way."
    yes, it does behave the same way, it's just a continuous loop until i have to kill the process.
    "2. Check if you have access to the PDF that is being used by the particular FDF."
    by this do you mean the correct permissions?  if that is what you mean, then yes, the permissions are set correctly.
    "3. If possible, please send me the FDF and the associated PDF that is behaving in this way on your system."
    i really wish i could but the information in the form is sensitive and cannot be sent. 
    as an update though, i reimaged the customer's workstation, installed Adobe Reader 10.1.1 and it worked perfectly (finally).  HOWEVER, after about two weeks the same symptoms returned! 

  • ABAP-query going in infinite loop

    Hello all,
    I have one on abap-query in which i am displaying data for delivery details that is table LIKP and LIPS.
    In this query i also have some code to get the sale order details from the  the delivery details.
    I have also used one FM module in this query as well as select endselet  stamt.
    When i run my quey it i going in infinite loop.  I am not getting any thing . Each time i have to exit the screen.
    Can anyone please tell me wat is the problem, why it is going in infinite  loop.
    Thanks and regards
    Sachin yadav

    thanks for your help,
    But may i know how to display my internal table data to out put screen.
    As i am new to the query i do not know how to display internal table data to report along with my data coming from ABAp-query.
    for eg i have three field to display suppose A , B and C.
    Field A and B are coming from query and i have to display field C from internal table.
    How to do that
    thanks in advance

  • REDO scanning goes in infinite loop and Too much ARCHIVE LOG

    After we restart DATABASE, capture process REDO scanning goes in infinite loop and Too much ARCHIVE LOG being generated.
    No idea whats going on.... otherwise basic streams functionality working fine.

    What's your DB version

  • I execute my progrem its goes to infinite loop?

    Hi frnds,
    I execute my program its goes to infinite loop? How can i stop that program, before goes to dump?

    why  don't you  put a break point before the loop and just check why it is not  finishing up. u can always set conditions when to exit from such loops when required.
    Loop ...
    if  some cond
    exit.
    endif
    endloop.

  • Cisco_Webex_Add-on goes into a loop on install

    I am running mac book pro with OS X 10.9.5 (13F34). Webex prompts me to install Cisco_Webex_Add-on. After "successful" installation, it again asks me to install the same and keeps going into a loop. Unable to run webex session. Any help?

    Webex will open but the minute I try a one click meeting or to join or start a meeting it fails and tells me to install Install Cisco WebEx Add-On.App
    I have the same problem Install Cisco WebEx Add-On.App looks like it install then disappears and never loads keeps asking to redo the same install.

  • On log on my home page appears, goes into a loop, icons flash on and off and wont load

    HP Logo and the log on page load OK but when I log on to my home page it goes into a loop.  The screen and icons keep flashing as if the screen keeps reloading.  I cant do anything to stop it.

    This post describes exactly the problem I'm having.  I can access "HELP" (obviously) and by using "ctrl-alt-delete" I can assess Task Manager and see systems and services. On Services, many are marked "stopped." CPU power is variable, from 33% to 98%.  I don't understand any of this.

  • Iphone keeps going into reboot loop

    Hey guys, i dropped my iphone from 1 month ago and since it, the signal went away sometimes while it was charging and when i took the stick out my iphone went into reboot loop, then i just waited some time and it went back.
    Now suddenly 2 days ago, my iphone keeps going into reboot loop everytime and when i get it out then around 9hours later, it comes again..
    I really need help since it affects my school, when the alarm don't work in the morning.
    TLDR; Iphone keeps going into reboot loop, need help!

    Have you got the latest 1.1.4 software installed, along with the latest version of iTunes?
    Have an iPhone or iPod touch? Enter Mac611.com in Safari on it for 'mobile Mac support.'
    Disclaimer required by Apple Discussions Terms of Use: Mac611 may receive some form of compensation, financial or otherwise, from my recommendation or link.

  • OVM3 Guest PXE Boot goes into infinite install loop

    Hello Avi,
    When I create a PVM guest, using OVM Manager 3.0.3, within the network path I pass something similar to the following:
    --args="ksdevice=eth0 network ks=http://<your_KS_server>/<path>/ks.cfg" http://<my_iso_server>/mounted_isos/OL5/
    This works just fine, the VM pops up it finds the ks.cfg and does the install. However, on the reboot it goes right back to this PXE install and continues to do this in an infinite loop. I tried changing the bootloader from /usr/bin/xenpvboot to /usr/bin/pygrub, but if I do that it just gives Error: Boot Loader didn't return any data!. I also tried removing the bootargs and leaving it as bootargs='' and that also didn't work, same error.
    Obviously the continuous rebooting into PXE and reinstalling is a bug, but how can I fix the vm.cfg file manually?
    Thanks,
    Roger

    NOTE: This is for a PVM Guest.
    ok, I solved my own problem but it's ugly.
    Due to the infinite rebooting into the pxe installer, once the installer is done, I had to make sure on the reboot I turned it off before it goes back to the PXE. Once done I had to make modifications to the current vm.cfg. These are the parameters that you must modify:
    bootloader = '/usr/bin/xenpvboot'
    boot = 'n'
    bootargs = ''--args="ksdevice=eth0 network ks=http://<your_KS_server>/<path>/ks.cfg" http://<my_iso_server>/mounted_isos/OL5/
    Comment out the above and modify the bootloader line on the vm.cfg as follows:
    bootloader = '/usr/bin/pygrub'
    Side NOTE: Make sure your ks.cfg file installs kernel-xen and subtract kernel (-kernel) within your ks.cfg. Otherwise by default it will try and boot into the non xen kernel for a PVM and you get an invalid kernel error similar to this Error: (2, 'Invalid kernel', 'xc_dom_parse_elf_kernel: ELF image has no shstrtab\n')
    Hope that helps someone out,
    Roger
    Edited by: Roger on Jan 19, 2012 12:36 PM

  • JspServiceManager goes into endless loop...

    All I want to do is to create a web app which is not a portal, but
    uses a JspServiceManager. I tried different values for workingDir,
    repository and timeout, but the JspServiceManager always goes into
    an infinite loop. Has anyone run into this problem?
    Regards,
    Chris Wolf
    weblogic.httpd.register.myapp=com.beasys.commerce.axiom.jsp.JspServiceManage
    r
    weblogic.httpd.initArgs.myapp=\
    portalname=myapp,\
    homepage=/myapp/index.jsp,\
    defaultdest=/myapp/index.jsp,\
    workingdir=/myapp/,\
    repositorydir=/repository/,\
    timeout=-1,\
    sessioncomparator=com.beasys.commerce.axiom.jsp.DefaultSessionComparator,\
    groupname=everyone,\
    allowautologin=false
    Tue May 16 15:43:30 PDT 2000:<E> <ServletContext-General> Servlet failed
    with Exception
    java.lang.StackOverflowError
    at java.lang.String.getChars(String.java:549)
    at java.lang.StringBuffer.append(StringBuffer.java:397)
    at java.io.Win32FileSystem.normalize(Win32FileSystem.java:118)
    at java.io.Win32FileSystem.normalize(Win32FileSystem.java:184)
    at java.io.File.<init>(File.java:187)
    at
    weblogic.utils.io.FilenameEncoder.getSafeFile(FilenameEncoder.java:171)
    at
    weblogic.servlet.internal.ServletContextImpl.getRealPath(ServletContextImpl.
    java:345)
    at
    com.beasys.commerce.axiom.jsp.JspServiceManager.getWorkingDirFiles(JspServic
    eManager.java:355)
    at
    com.beasys.commerce.axiom.jsp.JspServiceManager.service(JspServiceManager.ja
    va:439)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :105)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImp
    l.java:143)
    at
    com.beasys.commerce.axiom.jsp.JspServiceManager.service(JspServiceManager.ja
    va:472)
    (last four lines ad infinitum)

    This is one of the release notes.Oh. Sorry, I thought I looked. It's all good now, thanks,
    -Chris
    Jeff Wang <[email protected]> wrote in message
    news:[email protected]...
    This is one of the release notes. You can't register a name, and have
    that same name in as part of the path. This will cause the infinite
    loop as you observed. Either rename the registered name, or rename the
    directory, and you should be fine.
    Jeff Wang
    WLCS 2.0 Software Engineer
    Chris Wolf wrote:
    All I want to do is to create a web app which is not a portal, but
    uses a JspServiceManager. I tried different values for workingDir,
    repository and timeout, but the JspServiceManager always goes into
    an infinite loop. Has anyone run into this problem?
    Regards,
    Chris Wolf
    weblogic.httpd.register.myapp=com.beasys.commerce.axiom.jsp.JspServiceManage
    r
    weblogic.httpd.initArgs.myapp=\
    portalname=myapp,\
    homepage=/myapp/index.jsp,\
    defaultdest=/myapp/index.jsp,\
    workingdir=/myapp/,\
    repositorydir=/repository/,\
    timeout=-1,\
    sessioncomparator=com.beasys.commerce.axiom.jsp.DefaultSessionComparator,\
    groupname=everyone,\
    allowautologin=false
    Tue May 16 15:43:30 PDT 2000:<E> <ServletContext-General> Servlet failed
    with Exception
    java.lang.StackOverflowError
    at java.lang.String.getChars(String.java:549)
    at java.lang.StringBuffer.append(StringBuffer.java:397)
    at java.io.Win32FileSystem.normalize(Win32FileSystem.java:118)
    at java.io.Win32FileSystem.normalize(Win32FileSystem.java:184)
    at java.io.File.<init>(File.java:187)
    at
    weblogic.utils.io.FilenameEncoder.getSafeFile(FilenameEncoder.java:171)
    at
    weblogic.servlet.internal.ServletContextImpl.getRealPath(ServletContextImpl.
    java:345)
    at
    com.beasys.commerce.axiom.jsp.JspServiceManager.getWorkingDirFiles(JspServic
    eManager.java:355)
    at
    com.beasys.commerce.axiom.jsp.JspServiceManager.service(JspServiceManager.ja
    va:439)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :105)
    at
    weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImp
    l.java:143)
    at
    com.beasys.commerce.axiom.jsp.JspServiceManager.service(JspServiceManager.ja
    va:472)
    (last four lines ad infinitum)

  • Win 8.1 goes into restart loop

    I have an hp touchsmart tm2 2100 notebook. It originally came with win 7. Now I have installed win 8.1 but it does not give a display on multimedia ( i am a teacher and have to do a lot on multimedia). when I upgrade the driver, it goes into a restart loop and continues for a while. At the end, it gives a restore or advance repair options. I go into the safe mode and uninstall the intel graphic driver. It comes back to its originla position.
    Please any suggestions on how to sort this out.

    Hi @zameernawaz 
    Welcome to the HP Support Forums!
    I understand you are having trouble with the multimedia settings. I am happy to assist. Please see the following pages from the HowToGeek and Microsoft support forums that may help. In windows 8.1 the Multimedia settings are found in the Control panel.
    The Top 12 PC Settings in Windows 8.1 You Should Know
    How to Access the Control Panel in Windows 8 or 8.1
    Hiding inactive Multimedia Devices from "Devices and Printers"
    I hope that this helps
    Malygris1
    I work on behalf of HP
    Please click Accept as Solution if you feel my post solved your issue, it will help others find the solution.
    Click Kudos Thumbs Up on the right to say “Thanks” for helping!

Maybe you are looking for

  • Using Accessibility in Solaris 10

    Hello, I've installed Solaris 10 03/05 and am attempting to use the included Accessibility (explicitly the gnopernicus screen reader with Gnome). I have followed the instructions in the Java Desktop System Release 3 Accessibility Guide (http://docs.s

  • Error 0xc000007b when starting After Effects or Indesign

    On my Samsung Laptop (Windows Home Premium 64 bit) I get error 0xc000007b when I try to start After Effects or Indesign. Please advise me.

  • Patner function for exciable vendor

    Hi, I have a excise   vendor master record ,now i want to assign partner function for that vendor so please clear it partner function also required excise setting in sap ordering address is different and invoicing party is different and delivery  par

  • Screen will not slide to unlock

    the screen on my ipod touch will not slide to open.

  • Report Builder - Unable to connect to data source

    When I attempt to connect to the data source in Report Builder 3.0 with CM 2012, I receive the following error message: A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: S