SqlPlus error messages are daunting, aren't they?

Hello guys,
I am trying to understand the logic of SQLPLUS error messages. I read the User's Guide and Reference but I still don't understand how these line numbers are calculated!!
I make an example. I am writing some stored procedures in a file merge_procedures.sql, that I am editing in my favourite text editor (Crimson editor). Beside, I have SQL Plus running in a dos windows in XP.
The file defines 2 packages and various procedures and functions.
CREATE OR REPLACE PACKAGE STRING_FNC
AS
END STRING_FNC;
CREATE OR REPLACE PACKAGE BODY STRING_FNC
AS
END STRING_FNC;
CREATE OR REPLACE PACKAGE moveSections
AS
end moveSections;
When I run one of the procedures using EXEC procName(args) I get an error:
SQL> EXEC moveSections.mergeUserSections('EMPTY_jbowerstest','A01','XC','G201','
*01.G1','G101','01.G1.G1')*
BEGIN moveSections.mergeUserSections('EMPTY_jbowerstest','A01','XC','G201','01.G
*1','G101','01.G1.G1'); END;*
ERROR at line 1:
ORA-00001: unique constraint (DEV_XCSA.SYS_C008826) violated
ORA-06512: at "DEV_XCSA.MOVESECTIONS", line 68
ORA-06512: at "DEV_XCSA.MOVESECTIONS", line 88
ORA-06512: at "DEV_XCSA.MOVESECTIONS", line 156
ORA-06512: at line 1
I don't understand how those line numbers are calculated. I mean, why does it claim there is an error at line 1? And how are the subsequent line numbers calculated? i am getting lost since I cannot find any error at the lines indicated.
Please help me. Also references to documentation would be appreciated.
Thanks
TN

Hi,
Tremal Naik wrote:
I am trying to understand the logic of SQLPLUS error messages. I read the User's Guide and Reference but I still don't understand how these line numbers are calculated!!
SQL> EXEC moveSections.mergeUserSections('EMPTY_jbowerstest','A01','XC','G201','
*01.G1','G101','01.G1.G1')*
BEGIN moveSections.mergeUserSections('EMPTY_jbowerstest','A01','XC','G201','01.G
*1','G101','01.G1.G1'); END;*
ERROR at line 1:
ORA-00001: unique constraint (DEV_XCSA.SYS_C008826) violated
ORA-06512: at "DEV_XCSA.MOVESECTIONS", line 68
ORA-06512: at "DEV_XCSA.MOVESECTIONS", line 88
ORA-06512: at "DEV_XCSA.MOVESECTIONS", line 156
ORA-06512: at line 1
I don't understand how those line numbers are calculated. I mean, why does it claim there is an error at line 1? And how are the subsequent line numbers calculated? i am getting lost since I cannot find any error at the lines indicated.ORA-06512 errors are additional information about where the error occurred.
Like Danny, I find it helpful to read messages like this from the top down.
The stack above says that the real error, ORA-00001, occurred at line 68 of movesections.
The procedure at line 68 was called from line 88 of movesections. The real error may have occured around this point; for example, if you passed a bad parameter at line 88, then the code around line 68 may be perfect.
The procedure at line 88 was called form lline 156 of movesections. Again, the real error may be at line 156, or somewhere leading up to line 156.
The procedure at line 156 was called from line 1 of some anonymous code, such as
EXEC moveSections.mergeUserSections('EMPTY_jbowerstest','A01','XC','G201','01.G1','G101','01.G1.G1');

Similar Messages

  • I have an iPhone 4S.  When I try to print pictures, from my Windows computer, it doesn't work.  Open Office also gives me an "unknown graphic" message.  These are JPEGs, aren't they?  Why can't I print and what is the unknown graphic?

    I have an iPhone 4S.  When I try to print pictures, from my Windows computer, it doesn't work.  Open Office also gives me an "unknown graphic" message.  These are JPEGs, aren't they?  Why can't I print and what is the unknown graphic?

    Hi,
    "A day after the name change became official my built in skydrive app stopped working"
    Did you point that SkyDrive changed to OneDrive?
    Did you move your OneDrive to another location or change its name?
    Please login OneDrive with web-based to check if you could access it successfully.
    Please refer to the following article to try the troubleshooter and check the service status:
    SkyDrive: FAQ
    http://windows.microsoft.com/en-in/windows-8/skydrive-app-faq
    Karen Hu
    TechNet Community Support

  • Error messages are displayed when opening the RTV form.

    Hi All,
    While doing a return to vendor the following error messages are displayed.
    1.Go to the Inventory Management --> Return to Vendor screen.
    2. In Action Drop down select ‘New’ and click on OK
    3. A series of errors are encountered.
    4. A warning message as [640+49> 688] and then click ‘OK’.
    5. Notice the error message”Multi view internal error: B_RTV_DETAIL.QTY_RETURNED:current_col_pos exceeds parameter defined maximum right position” and then click’ OK’.
    Can any one help me out in these?
    Thanks,
    Sushanth.D

    This is a coding issue in the form, maybe the number is too big for the box on the canvas.
    It looks also like a business issue is kicking off the error, the message [640+49> 688] looks like some units of stock etc. check, e.g. the returned quantity is larger than the stock on hand.
    File an SR with OracleSupport and/or open the UI's Form fmb code in Forms Developer.
    Multi View relates to an (quite old) OracleRetail (Retek) Forms pll library that enhances the Forms features, if my memory is not letting me down.
    Best regards,
    Erik

  • JSF: Error Message are not getting cleared

    Hi,
    I am facing some problem with error messages in JSF.
    Here is what I am doing
    1. User submits a form, server validates and sends back the error to the client error message added to Faces Context.
    2. User checks the messages, changes the input and submits. assuming everything is correct now.
    3. On server, it validates and writes data to response for download using the following code.
    FacesContext faces = FacesContext.getCurrentInstance();
        HttpServletResponse response = (HttpServletResponse)faces.getExternalContext().getResponse();
        DownloadResponse.sendDownload( response, is, fileName );
        faces.responseComplete();
      }4. It shows the download popup to download the file. The problem here is that error message are not getting cleared off. User can still see the error message on the screen.
    It seems I am missing something in JSF req-response life cycle. Anyone please point out the mistake.

    SudhirMongia wrote:
    4. It shows the download popup to download the file. The problem here is that error message are not getting cleared off. User can still see the error message on the screen. Wrong. The problem is that the view is not rerendered, which makes sense because you are not sending view content to the browser but your file.
    Your real question probably is: how do I cause a file download and still rerender the view afterwards to show the results? To that I myself do not have the answer unfortunately, but I have seen that question come by a few times already, so doing some searches in these forums may yield you an answer.

  • Floor Plan Manager Webdynpro Java Application : Error Message area change

    Hello Experts,
                             We have a Java Webdynpro Application inside the  ESS business package ,delivered by SAP .
    Is there anyway we can control the Error message area at the top of the Java webdynpro applications using the configuration controller without changing the source code for a particular Java webdynpro application???
    I like to bold the error messsage and change the text color in the SAP Portal.
    If not possible using the configuration controller, what are steps that we need follow to do this change.
    Any help will be appreciated.
    Thanks,
    Greetson

    This cannot be done through personalization or any configuration.
    If you want to change look and feel of error message then assuming these are personal information applications....you will be required to make changes to ess~per DC in NWDI or application specific DC in NWDI.
    Still I believe...in web dynpro java....it will not be possible to change look and feel of standard error message area

  • Prevent that error messages are displayed twice

    Hi All!
    How can I prevent that error messages are displayed twice.
    The FuBa is called at the backend more than one time (at least twice)
    therefore I get every message twice.
    Regards
    sas

    Sas-
    I'm not sure if I understood your problem. Are you saying that you have a service which you call in a loop, and display the error message in the loop as well? If so an option would be to have a [HashMap|http://java.sun.com/j2se/1.4.2/docs/api/java/util/HashMap.html] where the key is the error message id, and the value is the error message. In the loop check if the error message id returned by your service already exists in the map and add it only if absent. Then after your loop is complete use the MessageManager to display your consolidated error messages.
    Cheers-
    Atul

  • Error message area not expanded per default - but i want it expanded

    Hello,
    per default the error message area in web ui is NOT expanded. But I would like to have it expanded per default. But i cannot find the right area to change this behaviour.
    Does anyone have an idea how to change it to be expanded per default?
    Many thanks for your ideas and input.
    BR Andreas

    Thanks to your reply i found it pretty well documented in help.sap.com:
    http://help.sap.com/SCENARIOS_BUS2010/helpdata/EN/cb/659ebfc880493baad66896518a55a1/frameset.htm
    Edited by: andreas lehner on Jan 30, 2012 10:01 AM

  • [svn] 3406: Tweaks to ZipCodeValidator to ensure error messages are consistent with pre-patch behavior .

    Revision: 3406
    Author: [email protected]
    Date: 2008-09-29 13:25:10 -0700 (Mon, 29 Sep 2008)
    Log Message:
    Tweaks to ZipCodeValidator to ensure error messages are consistent with pre-patch behavior. Mustella tests pass (verified via cyclone).
    Reviewer: Deepa
    QA: Yes
    Localization: Yes ***
    Modified Paths:
    flex/sdk/branches/3.0.x/frameworks/projects/framework/bundles/en_US/src/validators.proper ties
    flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/validators/ZipCodeValidator. as

    Hi,
    Found a note explaining the significance of these errors.
    It says:
    "NZE-28862: SSL connection failed
    Cause: This error occurred because the peer closed the connection.
    Action: Enable Oracle Net tracing on both sides and examine the trace output. Contact Oracle Customer support with the trace output."
    For further details you may refer the Note: 244527.1 - Explanation of "SSL call to NZ function nzos_Handshake failed" error codes
    Thanks & Regards,
    Sindhiya V.

  • How to restrict the Save of a Campaign if any error messages are raised/there?

    Hi All,
        How to restrice the save of the Campaign if any error messages are called/raised.
    Now, I am using conditions in the Save method but it is not working now.
    find the Attachment for the error message.
    I am assuming this error is calling from some where not from my code.
    Please suggest me any Badi or other way to restrict the save of the Campaign.
    Thanks in Advance....
    Regards
    vam's

    Hi I am actually trying to prevent the saving by using the BADI and putting
    ev_reject_save = abap_true.
    Nevertheless the campaign is saved with errors...any idea how to prevent this ?

  • Error messages are not posted into ECH using collect method

    In asynchronous interface, Error messages are not posted into tcode:ECH_MONI_SEL using collect method.
    In the collect method, passing software component version,business process and error messages.but its not posted into ech and ppo.

    Hi,
    Have you created the FEH class for the proxy. In that, from within the PROCESS method, when there is an error you will be placing those errors into a table and this needs to be passed to the COLLECT method.
    CALL METHOD i_ref_registration->collect
       EXPORTING
         i_single_bo      = input
         i_component      = 'ZSWC'   "Software component defined while FEH customisation
         i_process        = 'ECH_BP'  "ECH Business process defined while FEH customisation
         i_error_category = lc_errcat
         i_main_message   = wa_error
         i_messages       = lt_error
         i_main_object    = wa_object.
    Here while populating the wa_object, the  objtype field should be populated with the object type defined while FEH customization.
    If all these things are done, then this should post the error.
    Regards,
    Abijith

  • Plug-in page tells me all plug-ins are up to date, but I keep getting error messages from Firefox telling me they are not and are unstable

    I keep getting error messages stating that my Adobe Flash is out of date and vulnerable. I go to the Add-ons Manager, click "update" and it takes me to the plug-in page which shows it's up to date!! Same with Java DT and Shockwave Flash. How can I update if I have the latest versions already!?! I am inclined to just allow the plug-ins to work but don't want my pc to become vulnerable. Please help!

    hello Danagriz, unfortunately the plugin check page lags behind. adobe has released a critical patch for a vulnerability in its flash plugin, which is reportedly already exploited in the wild. therefore firefox will block insecure versions from running by default on websites for your protection.
    https://helpx.adobe.com/security/products/flash-player/apsb14-27.html https://addons.mozilla.org/firefox/blocked/p794
    please update to Adobe Flash Player version 16.0.0.235 as soon as possible, which you can download from http://www.adobe.com/products/flashplayer/distribution3.html (use the windows-exe for plugin-based browsers).
    in order to update java, go to java.com (or if you don't need the plugin you can also uninstall it though the windows control panel)

  • How to fix error message: Are you sure you want to leave this page?  There is currently a request to the server pending. You may lose recent changes by navigating away.

    I have been gettting this error message in safari for 4 days.
    Any ideas? This is beyond frustrating. I haven't installed or downloaded anything in this time.
    Thanks!

    Unless you have an application open like Microsoft Word and have made changes to some work you have done go up to file and SAVE then you can leave the page wwithout any problems. this message comes mostely when you are in a browser. Just leave the page.

  • Error messages are getting swapped in b/n Idocs

    Hi everybody,
    I am using SAP R/3 6.20.
    I have scheudled a background periodic batch job which automatically reprocesses the error IDocs of the same message type (say M1). It runs every 5 minutes and reprocesses all M1 IDocs in error created on the day the job runs.
    The problem now is, I have noticed that the error messages of these IDocs are getting swapped in between.
    eg:
    The IDoc 1122123 has an error message 'Batch B1 for material M1 does nto exist for Plant P1.'
    The IDoc 1122124 also has this error message, but it is not relevant to this IDoc.
    The Inbound function module (say I-FM1) being used for this is adapted from the standard SAP function module
    IDOC_INPUT_DELVRY.
    The background batch job executes a variant of standard SAP program RBDMANI2. The parallel processing of the IDocs in the RBDMANI2 variant has been set to YES and the Packet size is set to 5.
    I have observed one more thing. The original FM has implemented the SAP Note 817223, which the inbound function module I-FM1 of message type M1 hasn't. Does this impact? I will also addd that all the internal tables are refreshed properly before the start of the function module I-FM1.
    Kindly let me know your views.
    Thanks in advance.

    Hi surya,
    You are saying 1122124 is IDOC numner & its not relevant to this idoc.
    What it means,can u explain??? Actually there will be a chance an IDOC can mapped to N no of documents. This mapping will done through a BADI internally.
    Regards
    KER

  • LSO_CHECK_BOOKING custom error messages are not displayed

    Hi,
    Good day! I am currently experiencing some problems displaying custom error messages from BADI LSO_CHECK_BOOKING. I have implemented this Badi and is appending error messages in CT_MESSAGE_TAB however when the message is displayed in portal, the custom message is not displayed. Instead, SAP displays a predefined error "Error When Creating Prebooking with the data entered..."
    Is there a way for me to display my custom error message instead of the predefined SAP message?
    Thanks a lot.
    Cheers,
    James

    Hi James,
    You have not mentioned, which portal you are using. Please see below, that there are differences in the learning and the admin portal:
    Learning Portal:
    The framework of the existing design of the Learning Portal does not
    allow customer specific error messages to be displayed in the portal.
    Only a generic message will be displayed when prebooking in the learning
    portal if the BADI LSO_CHECK_BOOKING returns an error. The design of the
    application does not expect to raise an exception from the BADI. If the
    BADI processing is assumed to be unsuccessful, the messages filled by
    the BADI will be ignored and a general error message will be displayed
    in the portal.
    So this is basically a design limitation.
    Administrator Portal:
    Have you tried e.g. the following notes?
    SAP Note 1806593 Admin Portal: Message is not displayed while prebooking
    SAP Note 1575238 LSO: BADI LSO_CHECK_BOOKING does not show warning messages
    Regards,
    Agnes

  • My printer's error messages are in French.

    How do I change the printer's language from French to English.  I had a problem with the flashing on/off button and a message in French that there was a paper jam.  There was no jam, and the printer would run paper through blank. Eventually, I solved this problem by pretending there was a paper jam, unplugging the USB cable, opening the back, and then replacing.  However, the printer's messages are still in French, which I don't read so well.  Funny thing is this printer Deskjet 3320 was made in Mexico. 

    Associate your mobile number with your Apple ID, if you haven't already done so.
    Sign out of iMessage on the Mac: Messages ▹ Preferences ▹ Accounts ▹ Sign out.
    Sign out on the iPhone: Settings ▹ Messages ▹ Send & Receive ▹ Apple ID ▹ Sign out.
    Then tap Use Your Apple ID for iMessage.
    Sign back into iMessage on both devices and test.
    Credit for this solution to ASC user SmittyLove and to Glenn Fleishman of tidbits.com.

Maybe you are looking for

  • IPod Nano won't turn on.

    Good Morning - My Nano has been inactive for approx 6 weeks (left it in the in-laws house). Anyway I got it back today and I am trying to turn it on to update playlists, charge etc but when I connect it to my PC its not recognised by the PC and also

  • Leopard and the Mustek A3 usb 1200 Scanner?

    Hello, I have been attempting to connect a Mustek A3 usb 1200 scanner to a macbook 2.0 I have tried downloading installing/packages from this site...(in order) 1.0 http://www.ellert.se/twain-sane/ but alas the scanner still doesn't function. 2.0 The

  • Grid with File Preview in Acrobat X Pro

    In the previous version of Acrobat 9 Pro -- there was a layout call Grid with File Preview.  We use it as our primary layout for PDF portfolios, but in version 10 Pro -- I cannot find this layout anywhere. Does anyone have a clue as to where I can se

  • XML Download to Application Server

    Hello all,    Iam trying to download some data from my internal table onto the application server in XML format. This is the code that Iam using. Can you please let me know if this works. DATA: xml_out TYPE string,     length  LIKE sy-tabix.     CALL

  • Composite prints screened - even black!

    When printing in CS3 (Intel Mac) with composite gray settings to my ImageSetter, all items are screened, including 100% black items. In CS2, this does not happen. I need to make film positive proofs for clients. They obviously do not want the additio