OWA_COOKIE.GET and error message ORA-01403

Hello Everyone,
I have a process Get Username Cookie as below:
declare
v varchar2(255) := null;
c owa_cookie.cookie;
begin
c := owa_cookie.get('LOGIN_USERNAME_COOKIE');
:P101_USERNAME := c.vals(1);
exception when others then null;
end;
When the process run, it raises an error message,
"Invalid PL/SQL expression condition: ORA-01403: no data found Invalid PL/SQL expression condition: ORA-01403: no data found"
How do I not show this error on the screen but something more meaningful?
Thanks so much in advance.
MT

Hi,
I think error do not come from that code you did post.
Check what is that process condition.
Regards,
Jari

Similar Messages

  • I am getting this error message "ORA-01006: bind variable does not exist.

    My code works fine like this:
    DECLARE
    v_JOBTYPE varchar2(8);
    v_STATUS varchar2(8);
    v_FAILURE varchar2(8);
    v_CAUSE varchar2(8);
    v_ACTION varchar2(8);
    BEGIN
    SELECT EVT_STATUS, EVT_FAILURE, EVT_CAUSE, EVT_ACTION, EVT_JOBTYPE
    INTO v_STATUS, v_FAILURE, v_CAUSE, v_ACTION, v_JOBTYPE
    FROM R5EVENTS WHERE ROWID = :ROWID;
    IF NVL(v_STATUS, 'X') = 'C' AND NVL(v_JOBTYPE , 'X') IN ('BRKD','UNPLBRKD','FILTRA', 'LUB', 'FAC') AND (v_FAILURE IS NULL OR v_CAUSE IS NULL OR v_ACTION IS NULL) THEN
    RAISE_APPLICATION_ERROR( -20001, 'FAILURE, CAUSE AND ACTION FIELDS MUST BE POPULATED');
    END IF;
    END;
    But I want to change the code to include a record (ACT_TRADE) from another table(R5ACTIVITIES). I am getting this error message "ORA-01006: bind variable does not exist - POST-UPDATE 200Before Binding". Any help would be appreciated.
    DECLARE
    v_STATUS varchar2(8);
    v_FAILURE varchar2(8);
    v_CAUSE varchar2(8);
    v_ACTION varchar2(8);
    V_CODE varchar2(8);
    V_EVENT varchar2(8);
    V_TRADE varchar2(8);
    BEGIN
    SELECT R5EVENTS.EVT_STATUS, R5EVENTS.EVT_FAILURE, R5EVENTS.EVT_CAUSE, R5EVENTS.EVT_ACTION, R5EVENTS.EVT_CODE, R5ACTIVITIES.ACT_EVENT, R5ACTIVITIES.ACT_TRADE
    INTO v_STATUS, v_FAILURE, v_CAUSE, v_ACTION, V_CODE, V_EVENT, V_TRADE
    FROM R5EVENTS, R5ACTIVITIES WHERE V_CODE = :V_EVENT;
    IF NVL(v_STATUS, 'X') = 'C' AND NVL(v_TRADE , 'X') IN ('MTM','MTL','MTMGT', 'FTM', 'FTL', 'FTMGT', 'R5') AND (v_FAILURE IS NULL OR v_CAUSE IS NULL OR v_ACTION IS NULL) THEN
    RAISE_APPLICATION_ERROR( -20001, 'FAILURE, CAUSE AND ACTION FIELDS MUST BE POPULATED');
    END IF;
    END;

    Thank you for your responses. Your feedback was helpful. This is what I ended up doing for a solution:
    DECLARE
    v_JOBTYPE varchar2(8);
    v_STATUS varchar2(8);
    v_FAILURE varchar2(8);
    v_CAUSE varchar2(8);
    v_ACTION varchar2(8);
    v_GROUP varchar2(30);
    BEGIN
    SELECT EVT_STATUS, EVT_FAILURE, EVT_CAUSE, EVT_ACTION, EVT_JOBTYPE, USR_GROUP
    INTO v_STATUS, v_FAILURE, v_CAUSE, v_ACTION, v_JOBTYPE, v_GROUP
    FROM R5EVENTS, R5USERS WHERE R5EVENTS.ROWID = :ROWID
    AND USR_CODE = O7SESS.CUR_USER;
    IF NVL(v_STATUS, 'X') = 'C' AND NVL(V_GROUP,'X') IN ('MTM','MTL','MTMGT','FTL','FTMGTS','PLANNER','DISPATCH','PMCOOR','R5') AND (v_FAILURE IS NULL OR v_CAUSE IS NULL OR v_ACTION IS NULL) THEN
    RAISE_APPLICATION_ERROR( -20001, 'FAILURE, CAUSE AND ACTION FIELDS MUST BE POPULATED');
    END IF;
    END;

  • I am trying to re-install Photoshop CS6. The files have downloaded but I get and error message that the Adobe Support Advisor is required to determine what the installation probIem is. I click on the link that says "get the Support Advisor here only to be

    I am trying to re-install Photoshop CS6. The files have downloaded but I get and error message that the Adobe Support Advisor is required to determine what the installation probIem is. I click on the link that says "get the Support Advisor here only to be told the Support Advisor no longer exists!! A blind loop. I need to have Photoshop CS6 installed...what do I do from here??

    The CC Cleaner Tool assumes the Akamai Download Manager is activated and it has not. It seems to be the missing file that triggers the error message. \in a previous re-install I was prompted to download & install the Akamai Download Manger, but not this time. Is there somewhere on the Adobe website that I can download it??

  • I have an iphone 4 and i just updated to ios5 and i can't get my music to stay on my iphone and i also keep getting and error message when trying to restore iphone. anyone else having this problem?

    i have an iphone 4 and i just updated to ios5 and i can't get my music to stay on my iphone and i also keep getting and error message when trying to restore iphone. anyone else having this problem?

    When you restore, which error # appears?

  • I have a hp pavilion dv7 notebook pc and i'm get and error message that my integrated camara is off

    i have a hp pavilion dv7 notebook pc and i'm get and error message that my integrated camara is off, and when I go into skype or cyberlink i can not see me

    Hey Sam55555,
    I see that you're having an issue with the webcam. 
    Could you provide me with a model and product number of your notebook.
    So that I may look into this further to try and provide you with more helpful instructions.
    Also, this Document should help you out. If it doesn't let me know the full model name and i will find a document for your notebook.
    What i consider doing is the section that says "Reinstalling the original webcam program that came with your computer".
    THX sam

  • HT4972 I'm getting and error message while trying to update to ios6, what should I do?

    I'm getting and error message when I'm trying to update to ios6? What can I do?

    How are you trying to update?  You can't do it with wifi.  The easiest and safest way, is to open iTunes and don't connect the phone.  Download the update and connect when it is complete.

  • I upgraded to Lion yesterday. Now I keep getting and error message: there was a problem connecting to the server. URLs with type "file:" are not supported. What server?

    I upgraded to Lion yesterday. Now I keep getting and error message: there was a problem connecting to the server. URLs with type "file:" are not supported. What server? How do I get rid of this.

    Take a look at this link, https://discussions.apple.com/message/16156214#16156214

  • I keep getting and error message when i try to set up a new email in facetime. Has this happened to anyone else?

    My ipod touch and my iphone are both getting imessages and facetime to both devices. I don't want them to get the same messages so I tried to change the email address associated in the ipod, but I keep getting an error message when it tries to verify the email address.
    Help?

    I had sam problem earlier this evening.  I powered off and then back on my iPod and did a wifi sync and then I could use FT amd Messages.

  • I am getting and error message saying a duplicate file name was specified

    Help I am trying to sync new songs onto my Iphone and keep getting an error message telling me "the iphone can not be synched. a duplicate file name was specified" how can i fix this,

    I have a 27" iMac with the latest version of iTunes.  I tried restoring my iPod and even removing and re-installing iTunes.  What eventually worked for me was plugging into my PC and restoring/reformatting it to work with my PC.  I don't know why it wouldn't work with my iMac, but now it seems to be working.

  • Im getting and error message that says there was a problem downloading the software for the iphone . the network connection timed out. I have been trying to do the update for 2 days now

    im getting the error message: there was a problem downloading the software for the update Iphone. The network connection timed out. I have been trying to update for 2 days now.

    Disable your firewall and antivirus while you download.

  • HT5624 ? I have changed my apple ID password on several occasions and every time I go in and type the new password I keep getting and error message.

    After changing my apple ID I go in and I continue to get an error message.

    Welcome to the Apple Community.
    In order to change your Apple ID or password for your iCloud account on your iOS device, you need to delete the account from your iOS device first, then add it back using your updated details. (Settings > iCloud, scroll down and hit "Delete Account")

  • HT204088 authorizing songs and getting and error message

    When I play certain songs from my itunes it ask for my password, once i key it in i get an error message 42408. what does this mean?

    yes. different brands of cd's with same effect.

  • I have uninstalled and re-downloaded firefox 3 times now and each time I get and error message saying that firefox is not a valid windows image? I download it from your website but to no availe

    This is the error message I get when I try and open Firefox:
    ''The application or DLL C:\Program Files\Mozilla Firefox\WSOCK32.dll is not a valid Windows image. Please check this against your installation diskette.''

    wsock32.dll is a Windows System file which is used to connect to the internet. if you are seeing this error message then its probably because either your Antivirus program might have moved this file to the Virus Chest or this file was Deleted mistakenly. Try Restoring this file from your Anti Virus software or check if it is still available in the Recycle Bin folder.
    If above suggestions don't work, see this:
    ''This error is a tough one as it severely limits the programs or apps that you can run in Windows. This error pops up every time you try to open a program in windows, well not every program but most. Most spyware programs can’t be ran because this error pops up and prevents it.''
    ''One would think that the solution would be to repair the invalid .dll, but what ended up fixing it for me was extracting a fresh copy of explorer.exe. It looks like explorer.exe had gotten corrupt for some reason and was causing the bad image errors with certain .dll s.''
    ''To repair the problem open up '''msconfig''', it is actually one of the few programs in windows that would still open. To open it click on Start -> Run ->Type in '''msconfig''' and hit Enter. Once it is open click on the button that says “Expand File”. From there you will select the file that needs replaced and the location of the good file. Most of the time the good file can be found in the i386 folder of your XP install cd. My msconfig didn’t like the directory “C:\Windows\System32\ that was already filled in, so browse to the Windows\system32 directory and it should work just fine.''
    ''Expand the file, it will look like nothing happened, that is normal. Reboot the computer and you should not get the errors anymore.''
    ''To be safe, I expanded the Wsock32.dll file as well, so if for some reason your error still persists try expanding the dll file too.''
    Taken from: http://www.advantage-pc.com/?p=692
    Check and tell if its working.

  • Itunes not working and I am connected to internet it wond update and i keep getting and error message

    I need help in working out this problem I am rtrying to sort out why my computer will not update and i am connnected to internet is it better to remove and install again if so which is the best way to do this as i am getting error messages when i try to update or connect to itunes store.  telling me i am not connected.
    Thanks  Lisa

    Try this support document http://support.apple.com/kb/TS3694 and look at this section.
    Unable to contact the iOS software update server gs.apple.com
    Error 1004, 1013, 1638, 3194: These errors may be the result of the connection to gs.apple.com being redirected or blocked. Follow these steps to resolve these errors: 
    Install the latest version of iTunes.
    Check security software. Ensure that communication to gs.apple.com is allowed. Follow this article for assistance with security software. iTunes for Windows: Troubleshooting security software issues.
    Check the hosts file. The restore will fail if there is an active entry to redirect gs.apple.com. Follow iTunes: Advanced iTunes Store troubleshooting to edit the hosts file or revert to a default hosts file. See section "Blocked by configuration: (Mac OS X/Windows) > Rebuild network information".
    Try to restore from another known-good computer and network.
    If the errors persist on another computer, the device may need service.

  • I need to help with splash top / quick start. I am getting and error message when run the app.

    I just receive this computer in mar 2009. I found this app out and try to install it. When I go to run it give me error message. The installation is not complete please repair the software. I also update my bios like it says. It will not run can you help me fix this issue. I like this app. I want it to work.

    This page http://forum.lenovo.com/lnv/board/message?board.id=IdeaPad_Netbook&thread.id=1742  provides helpful information on how to activate Splashtop on S10. 
    If it still can't help you,  I guess you will get more help if you can provide more information like your detailed netbook version, os information, and the detailed error information.
    Message Edited by DouDou2007 on 03-23-2009 12:24 AM

Maybe you are looking for

  • I cannot install itunes 10.5 on my windows xp. HELP! AS I CANNOT SYNC MY NEW IPHONE!

    i keep getting this message http://i43.tinypic.com/2rqj23l.jpg i have downloaded the 64 one. i'm unsure what i have to do, any advice woud be great as i cannot use my iphone as i need to sync it! Thanks

  • Using CD with parental controls

    I teach college and I have twelve MacBooks in my classroom. I've enabled parental controls on student accounts, but apparently this disables their ability to run software from the CD that accompanies their textbook. How can I enable use of CDs with p

  • Throw difference exception in constructor

    Have a base class constructor that throws an exception of class XException Have an exception class YException that inherit exception XException If I inherit the base class, can I make it throw exception Y instead of X, since Y is a subclass of except

  • After Effects CS5 Won't Start on Mac OSX 10.6.3

    Production Premium arrived yesterday, and having tried all the software, After Effects is the only one that won't start. I'm pretty sure my computer meets the spec needed. I have Intel Core 2 Duo processor, at 2.66 GHz, with 4GB of RAM and loads of h

  • MySQL 5.1.14 SLOW !!!!

    Dear All, i am using CF7.0.1 with MySQL 5.0.14 and JDBC connector 5.0.4. However, it is slow !! For example: CF need 20 ++ seconds to display a very simple query result if i am using MySQL 5.0.14 with JDBC 5.0.4.But if i changed the JDBC connector to