Wierd error when I run the script..

HI all,
I am running a script one script which should insert data in some tables.
We are in Merging process from one application to another.
The code that I run in one environment works fine and creates data, how ever if I run it in next it does not insert any data and shows some unique_constraint_error.
ORA-00001: unique constraint (schema_name.constraint_name) violated
I have searched the constraint in all tables (all_constraints, user_constraints, dba_constraints..) of all schemas from dev, test or prod environment in both applications but I am not getting this constraint_name.
I really need help gurus.. and I appreciate everyone who spares their time to reply in this forums :)

Tina wrote:
HI all,
I am running a script one script which should insert data in some tables.
We are in Merging process from one application to another.
The code that I run in one environment works fine and creates data, how ever if I run it in next it does not insert any data and shows some unique_constraint_error.
ORA-00001: unique constraint (schema_name.constraint_name) violated
I have searched the constraint in all tables (all_constraints, user_constraints, dba_constraints..) of all schemas from dev, test or prod environment in both applications but I am not getting this constraint_name.
I really need help gurus.. and I appreciate everyone who spares their time to reply in this forums :)SQL> insert into employees (employee_id,last_name,email,hire_date,job_id) values(100,'LAST','[email protected]',to_date('12-11-10','YY-MM-DD'),'JOB_ID');
insert into employees (employee_id,last_name,email,hire_date,job_id) values(100,'LAST','[email protected]',to_date('12-11-10','YY-MM-DD'),'JOB_ID')
ERROR at line 1:
ORA-00001: unique constraint (HR.EMP_EMP_ID_PK) violated
SQL> show user
USER is "HR"
SQL>
please NOTE error message identifies both the SCHEMA & CONSTRAINT_NAME that was violated!
What better clue do you require?????????

Similar Messages

  • I have compiler error when i run the ant script

    Hi
    Iam a beginner working with ant...When I run the script I get the following error...let me know if you have any suggestions....
    build:
    [javac] Compiling 28 source files to C:\finaltrial\classes
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] Compiling 186 source files to C:\finaltrial\classes
    [javac] error: error reading C:\finaltrial\classes\trial\impl\ru
    ntime\AbstractUnmarshallingEventHandlerImpl.class; error in opening zip file
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 1 error
    Thanks in advance..

    that's not an error, it's a warning.
    See the documentation on what causes that warning, it'll be an eye opener about the new language features introduced something like 2 years ago.

  • I created a script to add logos to photos at a club and now when I run the script, the script runs but does not actually place anything on the photo itself.  What's going on?

    I created a script to add logos to photos at a club and now when I run the script, the script runs but does not actually place anything on the photo itself.  What's going on?

    He meant post it here, of course, Louie!  How on Earth would you post it "on Photoshop" ? 
    Thank you for the belly laugh. 

  • JQuery UI MultiSelect Widget--error like Stop running the script

    Hi
    i have imported CSS and JS into APEX Application from the below url and multiselection is working fine but the issue is , when i click on other items which have nearly 5000 records then its displaying pop up box like "Stop running the script.A script in this page causes IE to run slowly.If its continues to run your computer may become unresponsive"
    http://www.erichynds.com/jquery/jquery-ui-multiselect-widget/
    Can i get selected records shoul appear first in lov?
    Please help me to solve this issue.
    Regards
    Narender B

    Narender,
    The problem is due to the volume of items in your multiselect. The error you reference is not coming from APEX but, rather from the browser. In Chrome, you would get a slightly different message. As a safety precaution, browsers will start a timer when a script is executing and raise the warning you reference if said scripts are taking too long. This is usually a good thing. For example, the script might contain an infinite loop.
    There really is not going to be a way to use a mutli-select in this manner with 5K items. I would encourage you to think about the usability of this control for your end user. Are they realy expected to scroll through 5K items to find individual ones that they wish to select?
    You could consider switching to a tabular form and using the check box in a similar manner. You can sort on this so that the selected ones appear first.
    -Joe

  • I am getting this error  when i run the webdynpro application

    I am getting follwoing error, when i click on the link available in the webdypro application. Please tell me what is the reason,
    Error stacktrace:
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: is.eimskip.pdfmodel.Zmulti_Pdf
    Found in negative cache
    Loader Info -
    ClassLoader name: [local/SalesOrder]
    Parent loader name: [Frame ClassLoader]
    References:
       common:service:http;service:servlet_jsp
       service:ejb
       common:service:iiop;service:naming;service:p4;service:ts
       service:jmsconnector
       library:jsse
       library:servlet
       common:library:IAIKSecurity;library:activation;library:mail;library:tcsecssl
       library:ejb20
       library:j2eeca
       library:jms
       library:opensql
       common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:com.sap.security.core.ume.service;service:connector;service:dbpool;service:keystore;service:security;service:userstore
       interface:resourcecontext_api
       interface:webservices
       interface:ejbserialization
       sap.com/tcwddispwda
       sap.com/tcwdcorecomp
       service:webdynpro
       service:sld
       library:tcddicddicservices
       library:com.sap.aii.proxy.framework
       library:tcgraphicsigs
       library:com.sap.mw.jco
       library:com.sap.lcr.api.cimclient
       library:sapxmltoolkit
       library:com.sap.aii.util.rb
       library:com.sap.util.monitor.jarm
       library:tcddicddicruntime
       library:com.sap.aii.util.xml
       library:tccolapi
       library:com.sap.aii.util.misc
       library:tc~cmi
       library:tccolruntime
    Resources:
       D:\usr\sap\EPD\JC01\j2ee\cluster\server0\apps\local\SalesOrder\webdynpro\public\lib\app.jar
    Loading model: {parent,references,local}
         at com.sap.tc.webdynpro.modelimpl.dynamicrfc.AiiModelClass.createNewBaseTypeDescriptor(AiiModelClass.java:378)
         at com.sap.tc.webdynpro.modelimpl.dynamicrfc.AiiModelClass.descriptor(AiiModelClass.java:186)
         at is.eimskip.pdfmodel.Zbapi_Salesorder_Getpdf_Output_Input.<init>(Zbapi_Salesorder_Getpdf_Output_Input.java:51)
         at is.eimskip.comp.PDFCust.GetPdfFileName(PDFCust.java:145)
         at is.eimskip.comp.wdp.InternalPDFCust.GetPdfFileName(InternalPDFCust.java:171)
         at is.eimskip.comp.ResultView.onActionShowBL(ResultView.java:409)
         at is.eimskip.comp.wdp.InternalResultView.wdInvokeEventHandler(InternalResultView.java:365)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
         at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleAction(WebDynproMainTask.java:100)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleActionEvent(WebDynproMainTask.java:299)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:640)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
         at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:251)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:55)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:391)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:265)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:345)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:323)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:865)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:240)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
    Caused by: java.lang.ClassNotFoundException: is.eimskip.pdfmodel.Zmulti_Pdf
    Found in negative cache
    Loader Info -
    ClassLoader name: [local/SalesOrder]
    Parent loader name: [Frame ClassLoader]
    References:
       common:service:http;service:servlet_jsp
       service:ejb
       common:service:iiop;service:naming;service:p4;service:ts
       service:jmsconnector
       library:jsse
       library:servlet
       common:library:IAIKSecurity;library:activation;library:mail;library:tcsecssl
       library:ejb20
       library:j2eeca
       library:jms
       library:opensql
       common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:com.sap.security.core.ume.service;service:connector;service:dbpool;service:keystore;service:security;service:userstore
       interface:resourcecontext_api
       interface:webservices
       interface:ejbserialization
       sap.com/tcwddispwda
       sap.com/tcwdcorecomp
       service:webdynpro
       service:sld
       library:tcddicddicservices
       library:com.sap.aii.proxy.framework
       library:tcgraphicsigs
       library:com.sap.mw.jco
       library:com.sap.lcr.api.cimclient
       library:sapxmltoolkit
       library:com.sap.aii.util.rb
       library:com.sap.util.monitor.jarm
       library:tcddicddicruntime
       library:com.sap.aii.util.xml
       library:tccolapi
       library:com.sap.aii.util.misc
       library:tc~cmi
       library:tccolruntime
    Resources:
       D:\usr\sap\EPD\JC01\j2ee\cluster\server0\apps\local\SalesOrder\webdynpro\public\lib\app.jar
    Loading model: {parent,references,local}
         at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:348)
         at com.sap.tc.webdynpro.modelimpl.dynamicrfc.AiiModelClass.createNewBaseTypeDescriptor(AiiModelClass.java:373)
         ... 32 more

    Found in negative cache.... very strange.
    RFC found in negative cache
    What is the negative cache?

  • I get a 201 error when I run the installer

    I'm installing on a Win 7 laptop with IE8 and Chrome. I get an error message when I try to install the installer.
    Error code: 201.
    What is this? Is it permissions related? I'm supposed to have install privileges.
    Tom

    O G's Y Me Error 201 is a download error.  You can find more details at Error downloading Creative Cloud applications - http://helpx.adobe.com/creative-cloud/kb/error-downloading-cc-apps.html.

  • After upgrade to lastest version af iTunes (10.3.1, I believe), I get this error, when iTunes runs the update of my iTunes library

    I get this error message from Windows: Instruction af 0x76f8de2d referred memey at 0x000000ca. Memory could not be written.
    The iTunes stops working.
    I am running Windows Vista with lastest updates from Microsoft. My iTunes folder is located on a QNAP nas drive.  I have around 58500 podcast, about 15 CDs, some iPhone apps in my iTunes folder.
    What do I do?

    That's most likely a problem with a library file or a content file, Per.
    I'd perhaps try a library recreation first. There's advice for both types of issues in the User-specific troubleshooting section of the following document:
    iTunes for Windows Vista or Windows 7: Troubleshooting unexpected quits, freezes, or launch issues

  • I am getting this error when i run the code in visual studio 2012 ultimate.The code is perfect one but i am getting error. Please help me.Thanks in advance

    WebForms UnobtrusiveValidationMode requires a ScriptResourceMapping for 'jquery'. Please add a ScriptResourceMapping named jquery(case-sensitive).
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 
    Exception Details: System.InvalidOperationException: WebForms UnobtrusiveValidationMode requires a ScriptResourceMapping for 'jquery'. Please add a ScriptResourceMapping named jquery(case-sensitive).

    You should post to the ASP.NET forum.
    http://forums.asp.net/

  • Error when I run the procedure

    Can someone look at the below procedure and let me know how can I fix the error msg. thanks
    SQL> create or replace procedure getvendor( p_cursor in out types.cursorType )
      2  as
      3  begin
      4 
      5  open p_cursor for SELECT DISTINCT
      6  V.VENDOR ,
      7  R.ADDRNUM,
      8  V.VNAMEL,
      9  R.AADDR1,
    10  R.ACITY,
    11  R.ASTATE,
    12  R.AZIPCODE,
    13  R.APHONE,
    14  TO_Char( (MAX(P.DATEPUR)), 'YYYY-MM-DD') as Purchase_Date
    15  FROM VENDOR V,
    16  VENDADDR R,
    17  PLANHOLD P
    18  WHERE V.VENDOR = R.VENDOR AND
    19  P.VENDOR = R.VENDOR AND
    20  (P.DATEPUR >= TO_DATE('2002-01-01','YYYY-MM-DD') )
    21  AND V.VOBSOLET = 'N' GROUP BY V.VENDOR, R.ADDRNUM, V.VNAMEL, R.AADDR1, R.ACITY, R.ASTATE,R.AZIP
    CODE, R.APHONE ORDER BY V.VNAMEL;
    22 
    23  end;
    24 
    25  /
    Warning: Procedure created with compilation errors.
    SQL> show err
    Errors for PROCEDURE GETVENDOR:
    LINE/COL ERROR
    0/0      PL/SQL: Compilation unit analysis terminated
    1/38     PLS-00201: identifier 'TYPES.CURSORTYPE' must be declared
    SQL>

    It seems you followed Tom Kyte's example from here http://asktom.oracle.com/~tkyte/ResultSets/index.html
    But you forgot to create the package
    create or replace package types
    as
        type cursorType is ref cursor;
    end;
    / If you are using 9.2 or above you can use the predefined SYS_REFCURSOR rather than declaring your own type
    create or replace procedure getvendor( p_cursor in out SYS_REFCURSOR )

  • Data access error while running  the script in fdm workbench script editor

    Hello Experts,
    I have been getting the error when i run the script in script editor of fdqm workbench client.this is the error
                              -2147467259 Data access error and it is navigating the error at line 30 about this script "Set rsAppend = DW.DataAccess.farsTable(strWorkTableName)"
    Please revert me asap where i should load the data from peoplesoft to one of my planning database through fdm.
    Thanks in advance...

    Hi,
    Thanks for your suggestion's here i am going to run the datapump script so while i am running in workbench it is throwing data access error.So as you guy's suggested i created one import format and added this script to that import format which is added to one of my location even it is throwing the same error.I am getting the error at this sentence   "strWorkTableName" I want to know what is this where it reflect's?So my question is Is there any difference while running data pump or integration script.Please let me know a detailed navigation steps to run this script's with out data access error to run these kind of scripts.
    Note:Again my target is to load the data to planning database through fdqm which i am doing through sql statement's.
    Suggest your valuable suggestion's
    Thanks in advance...
    I am getting the error at this sentence   "strWorkTableName" I want to know what is this where it reflect's?

  • Getting -90031 (can't find function) error from Mathscript node when running executable, but works when I run the pre-compiled VI

    I have set the Mathscript preferences 'Path' and 'Working Directory' parameters to the folder containing my scripts, and it works when
    I run the VI, but I get a -90031 error when I run the executable.
    What am I doing wrong?

    Hi Umars,
    I had the same problem. In my case it turned out that it was caused the surrounding code. Plus the error
    message was missleading. I got the error message -90031 (unknown symbol CalcWelchCorr2) for the
    following piece of code:
    ecorr= 1;
    if setup & src== 1
       for lag= 1:50
       rho=  CalcWelchCorr2( lag, win );
       if rho > 0.001, ecorr= [ecorr; rho]; else, break; end
    end
    CalcWelchCorr2 is a user defined function located in the MS search path. The problem was caused by the
    "break" in line 5. Actually this line was marked by some little warning symbol. Eventualle I modified the code
    to get rid of the break
    ecorr= 1;
    if setup & src== 1
       lag= 1; rho=  CalcWelchCorr2( lag, win );
       while rho > 0.001 && lag <= 50
          ecorr= [ecorr; rho];
          lag= lag+ 1; rho= CalcWelchCorr2( lag, win );
       end
    end
    and voila, the executable worked fine.
    However, I had to check all my VIs ( > 200 !) for similar errors which gave me headaches.
    Why does the application builder doesn't produce some appropriate error message ?
    E.g. "Line xxx in MathScript node in VI xxx cannot be executed"? Currently you get the
    impression that the application was build successfully but eventually you get strange errors
    or even erroneous results. Keep in mind that tracking down bugs in the final application is
    much more difficult that in LV. Also the error message produced by the executable was not
    helpfull at all.

  • When I run my script from a shortcut ExtendScript is invoked, but it is not when I run it the menu

    I am using Photshop CS2 on Win XP
    I have configured a keyboard shortcut (Crtl+Alt+P) to run a .jsx file from the ...\Presets\Scripts\ folder.
    When I activate the script via the Keyboard Shortcut ExtendScript is invoked, and breaks execution on the main() statement (see below).
    When I activate the script via the File/Scripts menu ExtendScript is not invoked and the script runs to completion.
    The .jsx file is a wrapper for a .vbs script which does the 'real' work.
    The .jsx is:-
    function main()
        var VBSscript=File("C:/Program Files/Adobe/Adobe Photoshop CS2/Presets/Scripts/GGN_PS_Code_v1_2.vbs");
        if(VBSscript.exists) VBSscript.execute();
    main();
    Does anyone have any ideas as to how to disable the invokation of ExtendScript when I run the script from the skortcut?

    Thanks Paul.
    I am out of the office at the moment, but your answer rings true. Certainly the .jsx extension is associated with ExtendScript. I'll delete the association and try again when I am back in the office.
    Many thanks

  • I am having trouble installing acrobat, when I run the programme it comes up with a script error

    I am having trouble installing acrobat when I run the file, it comes up with a script error

    Hi Pat
    Thanks for your email.  I was able to download and install this morning without any problems.  I uninstalled the old version yesterday and restarted my computer but still got errors.  However when I turned off last night, windows ran updates and that must of fixed the problem.  I also got rid of firefox and put of google chrome.  All to use Australia Posts click and send which wouldn't work because of an error with the plugin.  Thanks for your very quick reply, I appreciate your help.  Have a great day.  Best Regards Judy (moo2u2)

  • An error ocurred while running the specified calc script. Check the log...

    Hi,
    I get the following error when I use the "Mass Mllocate" of hyperion planning (11.1.1.3) , specifically when i try to use "Spread Type" and select "Relational Spread".
    I check the log for details, i see the following messages:
    [Mon Mar  5 17:34:18 2012]Local/TCM/VtaCto/admin/Info(1013162)
    Received Command [Calculate] from user [admin]
    [Mon Mar  5 17:34:18 2012]Local/TCM/VtaCto/admin/Info(1200481)
    Formula for member [FY11] will be executed in [CELL] mode
    [Mon Mar  5 17:34:18 2012]Local/TCM/VtaCto/admin/Error(1200315)
    Error parsing formula for [FIX STATEMENT] (line 24): invalid object type
    [Mon Mar  5 17:34:18 2012]Local/TCM/VtaCto/admin/Error(1012001)
    Invalid Calc Script syntax [
    FIX ("Ene","Feb","Mar","Abr","May","Jun","Jul","Ago","Sep","Oct","Nov","Dic","42300007","CC_054","CIA_063","PPTO","TRABAJO","S_241","S_251","S_252","S_253","S_254","S_255","S_259","S_260","S_227","S_228","S_229","S_230","S_231","S_232","S_233","S_234...]
    [Mon Mar  5 17:34:18 2012]Local/TCM/VtaCto/admin/Error(1200421)
    Error encountered on or after line [25]
    [Mon Mar  5 17:34:18 2012]Local/TCM/VtaCto/admin/Info(1020055)
    Spreadsheet Extractor Elapsed Time : [0] seconds
    [Mon Mar  5 17:34:18 2012]Local/TCM/VtaCto/admin/Info(1020082)
    Spreadsheet Extractor Big Block Allocs -- Dyn.Calc.Cache : [0] non-Dyn.Calc.Cache : [0]
    But i can not identify which calculation is referenced and that I understand is what is failing.
    Could guide me about that would have to check to find what is generating the error.
    Thanks in advance!!!

    Hi,
    One problem is that I can not identify the script because it was not created by me, as I understand this calc is implicit in planning, only runs when you select the option "mass allocate".
    The published extract was obtained from the log of the application in which the calculation is running, this was extracted from essbase directory that hosts the application.
    Hector Ortega

  • I would like to convert a matlab file into a .dll and use it in LabVIEW. However, when I run the .dll in LabVIEW I get an error stating "... Procedure not found". What could this be? Can anyone help me...

    I wish to convert my Matlab files into .dll's so that I can use them in LabVIEW. I am using 'mcc' and 'mbuild' of Matlab to convert my .m files into .c and .dll.
    When I try to run the .dll's in LabVIEW, I get an error message in a modal window stating some required .dll or procedure is not found.
    How should I resolve this issue. Should I add any other Matlab .dll's in course of making my .dll?
    Please help in solving this issue... Thankyou very much.

    KJV wrote in message news:<[email protected]>...
    > When I run the matlab generated dll, it is stating 'matllb.dll not
    > found'. Is it that I should set the path for matlab\bin to include
    > all the dll's before I compile? When I make dll from C, it works fine
    > in LabVIEW. The problem is from .m to .dll. The problem also arises
    > when I convert my .m to .exe. The same error of 'matllb.dll not
    > found' comes over. Should I change my matlab compiler options or
    > something else? Please help me?
    I have the same question,I don't know how to use the matlab DLL file in labview,
    I hope someone can descripe the procedure in detail.

Maybe you are looking for