Exception does'nt work

Hi
pls where I do mistake :(
1 begin
2 for i in (select * from PKS2$) loop
3 begin
4 INSERT INTO TEST3.PKS2(N) values (i.N);
5 exception
6 when others then
7 dbms_output.put_line(SQLERRM);
8 end;
9 end loop;
10* end;
starins.TEST2>/
INSERT INTO TEST3.PKS2(N) values (i.N);
ERROR at line 4:
ORA-06550: line 4, column 24:
PL/SQL: ORA-00942: table or view does not exist
ORA-06550: line 4, column 6:
PL/SQL: SQL Statement ignored
thak You Brano

Your exception-handler will only catch exceptions that occur when your code is running. However, the error you are getting occurs during the compilation of your code. Your code needs to be compiled before it can actually run.
So you must fix the error, and then you can run the code.
Also, be very wary of "when others then"-clauses. Usually they "hide" errors and make code very hard to debug...

Similar Messages

  • PI 7.11 - Alert creation for RFC Exceptions does not work

    Hi folks!
    In our PI 7.11 SP04 system we have created an Alert Category as well as an Alert Rule to be informed about errorneous messages in the Integration Engine (ABAP).
    The scenario is synchronous SOAP Axis to sRFC, where the RFC answers with an exception that is transferred to a SOAP Fault response message.
    Now we see messages with Application Errors in the Integration Engine, but no alert is created. Having a look at the alert creation log using report SXMSALERT_LOGREADER shows us that the system even does not try to create an alert for these messages.  Alerts are only created for errors in the Adapter Engine.
    Question:
    Why does the system not create alerts in this case and how can we achieve this?
    Thanx for any hint!
    Kind Regards,
    Volker

    Hi!
    Additional information for all:
    When forcing an error like "receiver not found" both kinds of alerts are created: AE Alert and IE Alert. Thus in general the alert configuration and the alert rule for IE errors are correct and working - only not for RFC exceptions ....
    Regards,
    Volker

  • BPM-Raise Exception does not work

    I have designed the BPM in following way.
    1. Receive step - Receive Asynchronous message
    2. Defined the Block - DB
    3. Send step 'A'  to JDBC - inside the Block-'DB' - Acknowledgement-Transport, Exceptions System Error-DB, Receiver from-Send context.
    4. Created an exception handler and Selected 'DB' as exception handler for the property of the exception handler branch.
    5. Inserted the Send step-'B' to send mail inside the exception handler branch by using the MAIL receiver adapter.
    We want send the message to update database by using JDBC adapter but if it fails to update database then we want send an e-mail to outlook.
    But it looks like it is not working when it fails to update database.
    Can someone please help me?
    Thanks in advance!

    Hi,
    According to the SAP online help documentation for the receiver JDBC adapter:
    <i>The receiver JDBC adapter supports system acknowledgments but not application acknowledgments.</i>
    What you will need to do is either get a system error triggerred by the adapter (which basically throws up the red flag and tells XI that the message could ot be delivered successfully) , or get the application to trigger a fault message back to the adapter. I have not worked with the JDBC adapter, so I cant tell you in more detail.
    Here are some links that I have been able to find that might help you...
    Statuses in the monitor :
    http://help.sap.com/saphelp_nw04/helpdata/en/ea/2f053d39177608e10000000a114084/frameset.htm
    Dealing with Exceptions in BPM
    http://help.sap.com/saphelp_nw04/helpdata/en/33/4a773f12f14a18e10000000a114084/frameset.htm
    Cheers
    Manish

  • ADS does not work.(Service call exception)

    Hi All,
    According to SAP note 937697 "Usage of SAP NetWeaver BI Diagnostics & Support Desk Tools", when running the tool, it gives following error:
    ADS does not work.(Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized. The requested URL was:"http://sapbwd.ni.ad.newsint:50000/AdobeDocumentServices/Config?style=document")
    I have been looking into system to find out how to solve the issue, but could not, is there anyone who can help me with exact instructions what I do need to do.
    Thanks in advance
    sahmad

    Dear Sahmad,
    I would suggest you to check notes 1004321 and 944221. The first one says that mostly of this kind of issues (and I have already seen several ones) is caused for bad passwords for user ADSUSER or this account expired. The second note is a troubleshoot note you can also do.
    You can also follow this procedure to check that:
    Please open the Visual Administrator and browse to Server -> Services -> Security Provider -> Policy Configurations
    In the Components tab you will see the service.destinations policy. Click on this and then click on the AccessDestinations security Role. Modify this and add the J2EE_ADMIN/Administrator user to this role and save.
    Maybe the password is not set correctly as well. I think it worths to be set it again. First you have to identify where your ADSUSER maintained.
    Go to http(s)://<SERVER>:<PORT>/useradmin search for ADSUSER If Datasource:
    - LDAP -> check psw of ADSUSER in LDAP and enter it in SM59
    - UME data -> check psw of ADSUSER  in Visual Admin and enter it in SM59
    - ABAP -> check psw of ADSUSER the ABAP system in the following client:
    Visual Admin->UME Provider->Properties->ume.r3.connection.master.client
    If you want, also, you can change the ADS by the SAP Export Library, as per SAP Note 1112132. It is very simple to activate and will bypass ADS, doing every function ADS does.
    I hope it helps.
    Kind Regards,
    Marcio

  • Exception List in Proxy settings sucks - *.* does not work

    If I want to add a proxy settings '''only '''for local addresses I can not do this. In IE I only have to add "*.*" in the exceptions list, but in FireFox the symbol "*" does not work in this way. Is there another way to do that without typing every top domain in the exception list?

    Hi,
    You can try the [https://addons.mozilla.org/en-US/firefox/addon/foxyproxy-standard/?src=ss FoxyProxy] extension. Please go through the reviews, FAQs, help and ratings before installing. There may also be similar extensions.

  • My iPhone's sound does not work except for the alarm and the volume bar is not there.

    Hi, thank you in advance if you can help.
    When my iphone 4 is not plugged in to headphones the sound does not work, and if I try to adjust the sound with the plus and minus buttons in the side it comes up like normal saying "Ringer" but then there is no bar underneath it. Sometimes the sound will work for a couple of minutes. However, there is definitely no problem with the speaker as the alarm always works perfectly fine.
    I have tried restoring it, this did not help.

    what you could even try is to write down a few contacts that you would need to get through a single day, restore it to factory, punch in those few odd contacts,
    No.  What he should be doing is syncing his contacts to an app on his computer or cloud service, then sync them back to the phone (without restoring the backup). 
    Never rely on the backup for contacts.  The contact info stored there may be incomplete and is only meant to maintain the recent calls and favorites lists.

  • Unable to install "Mavericks" as it asks for my 'Admin Password" and it does not work. Have not used it since I got my iMac in 2008. First upgrade to do so. Any solutions please?

    I have a 2008 iMac which had Leopard initially and I have upgraded to each new OS without a hitch. I downloaded "Mavericks" and began the install, it asked me for my "Admin Password" which I have never ever used since I set the Mac up, I have it safely tucked away so entered it, it rejected it each time. Am sort of lost now, as if my "Admin P/W" does not work here can I go from here?
    I have seen many others with this problem but so far most of the solutions seem to be for the "log in" or "User" password not the Admin one.
    I am running Mountain Lion successfully.
    I have my original disks as supplied and also a Snow Leopard install disk.
    I have seen some info about fixing this via Lion Recovery partition which I must have due to using Mt Lion.
    How can I repair this situation.
    Thank you to all those who respond.

    Thanks for your reply.
    I have visited both the sites you listed but it seems to me that the solutions mentioned are to fix the User or log in p/w's.They do not seem to refer to the admin one again.
    I understand about it being just like other user accts but the fixes do not really refer to it only the above two.
    I have no problem booting up my Mac, I do not use a log in p/w so my problem is with the Admin p/w that was set up back in 2008. This is what I need to reset etc.
    I am quite confused over these pw's as to just what is what and I need to make sure I understand all before I get into deeper trouble following these links.
    This Admin p/w that was set up has never been used and is the only p/w I have except for my Apple ID. All previous upgrades only required my user name log in which has no p/w set up.
    I hope you can follow me here butI have read so much on this it is becoming very confusing about whcih p/w's are what.

  • Select All in a table does not work for Drag and Drop

    Hi. I am using Jdeveloper 11.1.1.2 but have also reproduced in 11.1.1.3.
    I am trying to implement drag and drop rows from one table to another. Everything works fine except when I do a Select All (ctrl-A) in a table, the table visually looks like all rows are selected, but when I try to click on one of the selected rows to drag to the other table, only the row I click on is dragged.
    I tried setting Range Size -1, fetch mode to FETCH_ALL, content delivery to "immediate" but nothing works.
    I even have reproduced not using a view object but just a List of beans with only 5 or 10 beans showing in the table.
    Does anyone know how to get Select All to work for a Drag Source?
    Thanks.
    -Ed

    Frank-
    OK, thanks for looking into that. I also submitted this service request, which includes a simple sample app to demonstrate the problem:
    SR #3-2387481211: ADF Drag and Drop does not work for rows in table using Select All
    Thanks again for the reply.
    -Ed

  • "Always ask me where to save files" does not work.

    Summary: The "Always ask me where to save files" feature does not work. No dialog box comes up, apparently because the browser is stuck on a bad old read-only lastDir location, in a prefs.js file that I can't edit.
    Details:
    I am using Firefox 30.0 on Mac OS 10.6.8. My Mac has a both a read/write Mac partition that I use most of the time, and a bootcamp Windows partition drive ("C"), which I can read but not write to.
    At some point I accidentally tried to download a file from a site, using Firefox, to the read-only Windows C drive. Ever since that time, I have not been able to download any files from Firefox, except to the firefox/downloads folder. This is inconvenient. If, in preferences, I try to set downloads to ""Always ask me where to save files", the dialog box does not come up when I actually try to save files. This problem does not apply to saving photos by right-clicking them.
    If I open, in text-edit, mozilla/firefox/profiles/t4vockvue.default/prefs.js, which was saved yesterday, I can see a problematic line. It reads:
    user_pref("browser.download.lastDir", "C:\\Documents and Settings\\[etcetc]");
    C:\\Documents and Settings\\[etcetc] being the read-only windows directory.
    This prefs.js is apparently not an editable file.
    I tried to fix this by opening a browser tab in Firefox and opening about:config. The editable browser.download.lastDir does NOT show the same "lastDir"....it shows some directory that I successfully downloaded photos to, by right-clicking on a photo.
    How can I fix this problem?
    Thanks.

    To confirm which profile folder is active when you are running Firefox, it is easiest to open it from inside Firefox as follows:
    Sometimes the file that stores the customizations becomes corrupted and fails to update properly at the end of your session. You can rename the file and customize from scratch.
    * "3-bar" menu button > "?" button > Troubleshooting Information
    * (menu bar) Help > Troubleshooting Information
    In the first table on the page, click the "Show in Finder" button (Windows: "Show Folder" button).
    Hopefully you are using a separate profile folder on each OS.

  • My Time Capsule does not work with existing WiFi

    Following a question solved on March 24 by LaPastenague, but gone bad again.
    Apple AirPort Time Capsule
    I felt the need for a physical backup of my data, as I would not completely trust the different clouds. I use, and have used Dropbox for 4-5 years and are very satisfied with that, but I am still not sure if or when a political lunatic will shut off the internet.
    I purchased the Apple AP Time Capsule 2T, because all my other stuff are Apple, and that it's wireless. My old backup is Maxtor 300 GB.
    Since we stay 2-3 weeks on two locations, one in Norway and one in Sweden (two different countries) we must use Mobile Broadband 4G, cables or fibre connections are useless for us, and we don't have it up to the houses. I have one mini router for each country, we bring with us iPhones, iPads, iMac, Apple TV, APExpress. When we pass the boarder I change the mini router, and the system continues working perfect on the WiFi, except the APExpress that needs to be reconfigured,  but then it works.
    The APTC was difficult to make working as it would not accept to be in an existing network, but with good help from the Apple Community, LaPastenague, with forcing the TC connect to the APE with Ethernet cable in bridge mode, ref "My Time Capsule does not work with existing WiFi" from March 24, the problem was solved and all gadgets worked together in a perfect harmony, until we changed location.
    Now, as I have my second WiFi network, and the APExspress is reconfigured, it's like the TC thinks, I am the base boss here, I am not taking orders from APE one more time, and it simply does not work, not only that, it fluctuates all the time.
    I have a slight feeling that the two WiFi bands are making the trouble as during the configuration of the TC sometime the last figure 6 and 7 pops up, and that has something two do with the two different 2,4 and 5 GHZ bands
    So, I am curious if you have any idea ?
    I am thinking of returning the TC if I don't make it work now, but how do I delete all the data that's on it?

    I can deal with the last question first and easily.
    I am thinking of returning the TC if I don't make it work now, but how do I delete all the data that's on it?
    Open the airport utility .. go to the disk tab and select erase.
    When you select erase you will get mulitiple options.
    Quick removes the file table but does not delete the files,, it takes 2min or less.
    A Zero out data is the secure way,, by writing 0 ie low level drive format.
    It can take several hours..
    7 pass will take a week.. not recommended..
    35 pass erase is ridiculous.. it would take a month.. put an ax through the TC. It is quick and better.
    Now, as I have my second WiFi network, and the APExspress is reconfigured, it's like the TC thinks, I am the base boss here, I am not taking orders from APE one more time, and it simply does not work, not only that, it fluctuates all the time.
    The fact that it did work and has now failed might point to faulty unit.
    The only way to tell is reset it properly to factory and start over.
    Universal Factory Reset.. any model TC or AE.
    Unplug your TC/AE from power or turn off at the power point.
    Hold in reset. and power the TC/AE back on..  all without releasing reset and keep holding in for about 10sec. (this is often difficult without a 2nd person or a 3rd arm).
    Release it when the status light flashes rapidly. If it doesn’t flash rapidly you have missed it and try again.
    Note..
    Be Gentle! Feel the switch click on. It has a positive feel..  add no more pressure after that.
    TC/AE will reboot after a couple of minutes with default factory settings and will wipe out previous configurations of the router.
    No files are deleted on the hard disk in a TC.. No reset of the TC deletes files.. to do that you use erase from the airport utility.
    Generally having multiple wireless AP should not cause problems.. but it is better to set channels manually.. so it doesn't go beserk rotating channels.
    Remember to keep all names short, no spaces and pure alphanumeric.
    Sadly though the Apple routers have no logging now and no SNMP and almost nothing to help diagnose a problem, so if it continues .. take it back to apple.. they have given you no other method of fixing it.

  • My Garageband does not work with Symphonic Orechestra or USB Boombox

    I have two Macs: the main one is an iMac with Intel Core Duo 2 GHz, 1.5 GB RAm and 250 Gb HD, with OSX 10.4.8, and all the latest software upgrades as I download them as soon as they are available. The secondary Mac is a normal iBook G4-800 with 640 Mb RAM and not always the most recent plugins, but since a few days also the latest ones.
    I premit I do use GarageBand to produce professional level music and in time I bought several new music features. I am a Mac user since ever and I never (I say again NEVER) uploaded any software (or loop) who wasn't regularly licenced and usually bought from Applestore itself.
    NOW THE PROBLEM:
    Since I sold my old iMac G5 and implemented my CoreDuo I experienced a problem with Garageband: the external plugins for Garageband (such as the old and excellent "East West Quantum Lightning Symphonic Orchestra" but also the very recent USB "Classic Boombox" and "Ethnic Boombox" are not working. Those software instruments does appear correctly in the menus, but does not work. When I try to select them it appear this sentence (in italian, I will try to translate it approximateively):
    "the plugin is not available. To add this loop using the same sound you heard in the browser loop, press the Option key and drag contemporary the loop in a new track"
    This it happens all the times I try to set an instrument from EastWest or USB plugins from my iMac. As to make a confrontation, I installed the same softwares on my iBook and they work perfectly (with the only exception that I can't work from the iBook since is far too slow for me to use it with some profit).
    Someone an help me or explain if there is anything I can do to fix my problem?
    East West said the pluging should work (and to be honest it works correctly on the G4 as it did work properly with the G5). I own the USB software just since a few days, so I didn't ask them yet, but since is not just them, I guess is something else and do not know what may be the cause.
    Some of you do have some hint or idea?

    Yep, I understand...
    This is the final news I needed to get to complete my answer... I confronted myself the italian store and the US one and in the US one I didn't find this product...
    As for the NI software, was so good that I just bought back my good "old" iMac G5 and will exchange it with this my Intel Mac. The G5 2 Ghz was good, performing as this new Intel (at times I even got the impression was more performing, but I believe is just an impression) and surely didn't have so many 3rd parties problems.
    Meanwhile I filled every forum of NI and USB with my questions about the compatibility... and maybe I will be back to an Intel Mac when all would be OK, I'm not in a hurry!
    By the way I had a listen to your work: GREAT!
    You may hear a sketch version of something we did work on with the NI piano and choir sounds, while the alto sax is played live and the other instruments are from Apple or real keys (yes, we mix a lot of things):
    http://www.garageband.com/song?
    while here is a track where we did use both the Orchestral sounds of Garageband (and some of it's loops, mixed with some good old programming) together with some NI sound:
    http://www.garageband.com/song?
    We do not often use orchestra if not as here and there (other than in some work as this last one, but is not so frequent). Hope you may like our little works!

  • HT5649 Version 11.1.4 Does Not Work on my system

    I had itunes version 11.1.3.8 and it was working just fine. I believe this version is the 32 bit version.
    itunes sent me version 11.1.4 which is a 64 bit version and it DOES NOT work on my system.
    Some how this important file was deleted. And I keep getting this message.
    The following is the message I get everytime I turn on my computer
    I can close it and my computer works fine except for itunes. I can not get into Itunes at all.
    MSVCR80.dll is missing. Itunes was not installed correctly please reinstall itunes.
    ERROR 7 windows error 126
    How do I remove version 11.1.4 completely and Reinstall version 11.1.3.8
    And do I remove everything to do with APPLE and reinstall.
    I have tried numerous times to uninstall Version 11.1.4 and it is removed but when I
    reinstall it is always Version 11.1.4 I would like Version 11.1.3.8
    Please advise Jeff Beez

    Hello there, Jeff.
    The following Knowledge Base article offers up the instructions on how to resolve the very issue you're describing:
    iTunes 11.1.4 for Windows: Unable to install or open
    http://support.apple.com/kb/ts5376
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • Help with util.zip up files... does not work

    I am writing a program so my mum can zip up new photos she takes and then send them to me. The program creates a html file for the webpage plus a smaller version of her original photo and places them all in a 1 folder with a new name. Al this part works... I want to afterwards place my files in a zipped up folder that she can e-mail me with her normal client. How... I picked up this code on the net and have changed it to incoporate my parameters. The files which are created ..paths are (String in an String[]) I then send to my zipping method.
    The zip file is created but does not work when I try to extract from it ??? I also know that the String [] works becuse I have made a loop to check its properties at each index.
    what am I doing wrong?
    This is a modified code I found on the internet but with no author??
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.util.zip.ZipEntry;
    import java.util.zip.*;
    public class Test{
        private File zipDir;
        private String[] filename;
        public Test(String[] recivedFilename){
            filename = recivedFilename;
            try {
                ZipOutputStream zos = new
                        ZipOutputStream(new FileOutputStream("c:\\curDir.zip"));
                from,
                zipDir("c:\\batviapictures\\", zos);
                zos.close();
            } catch(Exception e) {
                //handle exception
        public void zipDir(String dir2zip, ZipOutputStream zos) {
            try {File
                zipDir = new File(dir2zip);
                String[] dirList = filename;
                byte[] readBuffer = new byte[2156];
                int bytesIn = 0;
                //loop through dirList, and zip the files
                for(int i=0; i<dirList.length; i++) {
                    File f = new File(zipDir, dirList);
    if(f.isDirectory()) {
    String filePath = f.getPath();
    zipDir(filePath, zos);
    continue;
    FileInputStream fis = new FileInputStream(f);
    ZipEntry anEntry = new ZipEntry(f.getPath());
    zos.putNextEntry(anEntry);
    while((bytesIn = fis.read(readBuffer)) != -1) {
    zos.write(readBuffer, 0, bytesIn);
    fis.close();
    catch(Exception e) {

    I make no guarantees that this will completely solve all your problems, but I just know these calls are needed but missing from your OP:
    try {
        ZipOutputStream zos = new
                        ZipOutputStream(new FileOutputStream("c:\\curDir.zip"));
                        from,
                        zipDir("c:\\batviapictures\\", zos);
        zos.flush(); // ADD THIS after all files have been written to the zos
        zos.close();
    } catch(Exception e) {
        //handle exception
    }And
    while((bytesIn = fis.read(readBuffer)) != -1) {
        zos.write(readBuffer, 0, bytesIn);
    zos.closeEntry(); // ADD THIS after each file is written to the zos
    fis.close();

  • Mac Mini + A1038 Cinema Display does not work

    Hi,
    I have a 2009 model Mac Mini with mini-dvi and mini-display port's on the rear. I can connect any of my DVI based monitors to the mac mini using either the mini-dvi to dvi cable or the mini-displayport to dvi cable. All monitors except for the A1038 model Apple Cinema Display.
    The cinema display works with 3 other computers with DVI ports, turns right on and is detected right away. When plugged into the mini it does nothing. Sometimes I can get it to work with the mini-dvi to dvi adapter but that is sporadic.
    This is the same behavior with a 2009 model mac book pro and macbook. Using the mini-displayport to dvi cable the cinema display does not work but 3 other monitors do.
    So my question is, why does apple hardware only work with non-apple hardware?

    Is the A1038 the old, plastic Cinema Display that doesn't have a power cord or power supply? It only has a video cable with the special ADC on it? If that's the case, it needs this to run from a newer Mac:
    http://store.apple.com/us/product/M8661LL/B

  • Video capture does not work Java 1.5 or 1.6

    I could not run jmstudio on 1.5, but on 1.6 I could, and jmregistry says there is a device with a Locator "v4l://0" and jmstudio can display the video. Yet my old program that worked with Java 1.4 can not now capture the video any more, createDataSource(locator) in the code:
    locator = MediaLocator("v4l://0");
    source = javax.media.Manager.createDataSource(locator);
    throws NoDataSourceException, that says something about "Could not configure video device". Is the code bad? Or is there something other broken? JMFHOME is set correctly.

    Where is your jmf.properties file? Do you have the performance pack installed?
    Does JMStudio work. (if you're on linux w/ java 5.0 use: java -Dawt.toolkit=sun.awt.motif.MToolkit JMStudio)
    My bet is that you don't have jmf.properties in your current dir or the camera hasn't been added to your properties.
    Another idea:
    try this before your code:
    try {
        Class.forName("V4LAuto").newInstance();
    } catch(Exception e) {}in order to autodetect the camera.
    Peace

Maybe you are looking for