Impdp errors with ORA-01400: cannot insert NULL into

Hi Experts,
I have very intresting situation when I use impdp to import table back to DB.
Environment:
Database Server: 10.2.0.4 Enterprise
OS: RHEL 5.5 64-bit
We have a table and it's size is 350+ GB and so to reclaim space I want to perform expdp/impdp operation. When I following below steps:
1) expdp table
2) drop table
3) impdp full table
It works like a charm and I am able to reclaim 83% space and table size shows about 20GB.
But when I follow below method:
1) expdp table
2) truncate table (To save some time not to import indexes, stats, constraints , etc)
3) impdp table
I get following error:
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Master table "SYS"."SYS_IMPORT_TABLE_01" successfully loaded/unloaded
Starting "SYS"."SYS_IMPORT_TABLE_01": sys/******** tables=<schema>.<table_name> directory=test_dir dumpfile=<table_name>_%u.dmp logfile=impdp_<table_name>.log parallel=16 CONTENT=DATA_ONLY
Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
ORA-31693: Table data object "<schema"."table_name" failed to load/unload and is being skipped due to error:
ORA-01400: cannot insert NULL into ("schema"."table_name"."ID")
Job "SYS"."SYS_IMPORT_TABLE_01" completed with 1 error(s) at 16:12:28
Please advise how to proceed further, it seems like I am hitting some sort of Bug but metalink does not show any.
Regards,
MS
Edited by: user10651321 on Nov 9, 2012 4:38 PM

expdp and impdp operations should not be executed as SYS - try SYSTEM account instead. See first Note section here - http://docs.oracle.com/cd/B19306_01/server.102/b14215/dp_import.htm#sthref243
Pl post the complete expdp and impdp commands used, along with a description of the table for which you encounter this error.
HTH
Srini

Similar Messages

  • Autconfig error : ORA-01400: cannot insert NULL into ("APPLSYS"."FND_NODES"."NODE_NAME")

    Good day,
    I am running EBS 11.5.10  with DB 10.2.0.4. I applied patch 7429271 following the steps in  Doc Id. 233044.1.
    After restarting the application, I got a "node id does not exist for the current application" when the forms started.
    After purging fnd nodes (exec fnd_conc_clone.setup_clean) I ran autoconfig successfully on the dbtier but got the error below in the apps tier.
    I also noticed that the contents of my dbc file has been erased and replaced with the template data (all values are default). I tried restoring it but it just got over written again with default data.
    Hope my explanation was clear enough.
    Any suggestions?
    ---error from adconfig.log-----------
    Unique constraint error (00001) is OK if key already exists
    java.sql.SQLException: ORA-01400: cannot insert NULL into ("APPLSYS"."FND_NODES"."NODE_NAME")
    ORA-06512: at "APPS.FND_CONCURRENT", line 1504
    ORA-06512: at "APPS.FND_APP_SERVER_PKG", line 163
    ORA-06512: at line 1
    - Database error modifying the server

    Logs after autoconfig and services started - not connection attempted to the application yet.
    -----access log--------
    mobay.pahq.dom - - [25/Oct/2013:13:28:59 -0500] "GET /oprocmgr-service?cmd=Register&index=0&modName=JServ&grpName=XmlSvcsGrp&port=19000 HTTP/1.1" 200 15 0
    mobay.pahq.dom - - [25/Oct/2013:13:28:59 -0500] "GET /oprocmgr-service?cmd=Register&index=0&modName=JServ&grpName=DiscoGroup&port=17000 HTTP/1.1" 200 15 0
    mobay.pahq.dom - - [25/Oct/2013:13:28:59 -0500] "GET /oprocmgr-service?cmd=Register&index=0&modName=JServ&grpName=OACoreGroup&port=16000 HTTP/1.1" 200 15 0
    ----error log--------
    [Fri Oct 25 13:28:59 2013] [notice] Oracle HTTP Server Powered by Apache/1.3.19 configured -- resuming normal operations
    ----error log_pls----
    [Fri Oct 25 13:29:00 2013] [notice] Oracle HTTP Server Powered by Apache/1.3.19 configured -- resuming normal operations
    Logs after a connection attempt to the application
    -----access log-----
    mobay.pahq.dom - - [25/Oct/2013:13:28:59 -0500] "GET /oprocmgr-service?cmd=Register&index=0&modName=JServ&grpName=XmlSvcsGrp&port=19000 HTTP/1.1" 200 15 0
    mobay.pahq.dom - - [25/Oct/2013:13:28:59 -0500] "GET /oprocmgr-service?cmd=Register&index=0&modName=JServ&grpName=DiscoGroup&port=17000 HTTP/1.1" 200 15 0
    mobay.pahq.dom - - [25/Oct/2013:13:28:59 -0500] "GET /oprocmgr-service?cmd=Register&index=0&modName=JServ&grpName=OACoreGroup&port=16000 HTTP/1.1" 200 15 0
    192.168.50.80 - - [25/Oct/2013:13:34:32 -0500] "GET / HTTP/1.1" 200 2589 0
    192.168.50.80 - - [25/Oct/2013:13:34:33 -0500] "GET /apptitle.html HTTP/1.1" 200 1015 0
    192.168.50.80 - - [25/Oct/2013:13:34:33 -0500] "GET /applist.html HTTP/1.1" 200 1602 0
    192.168.50.80 - - [25/Oct/2013:13:34:33 -0500] "GET /appdet.html HTTP/1.1" 200 1009 0
    192.168.50.80 - - [25/Oct/2013:13:34:33 -0500] "GET /appsmed3.gif HTTP/1.1" 200 1981 0
    192.168.50.80 - - [25/Oct/2013:13:34:36 -0500] "GET /aplogon.html HTTP/1.1" 200 1953 0
    192.168.50.80 - - [25/Oct/2013:13:34:38 -0500] "GET /OA_HTML/US/ICXINDEX_PROD_mobay.htm HTTP/1.1" 200 417 0
    192.168.50.80 - - [25/Oct/2013:13:34:38 -0500] "GET /OA_HTML/AppsLocalLogin.jsp HTTP/1.1" 200 411 0
    **the error logs remain unchanged.
    Regards,
    Shridath.

  • ORA-01400: cannot insert NULL into

    hi to all
    when i try to insert into a table i get an error message like
    ORA-01400: cannot insert NULL into
    but if i see in the session status i see that the value of the element that will be inserted on the column is not null
    and i haven't make mistakes on my insert query so how can it be possible
    can you help me please

    What is the source used and the source type of your columns having trouble? Is it all not nullable columns on a table that are having problems? Are other columns inserting fine?
    Can you post up on apex.oracle.com your app?
    Do you want to send me your app and I can install it and look at the page in question?

  • Java.sql.SQLException: ORA-01400: cannot insert NULL into ("SYSTEM"."DESCRIPTION"."TYPE")

    insert into DESCRIPTION (TYPE,DESCRIPTION,IS_HTML,EVENT_ID) values('','','',41)
    java.sql.SQLException: ORA-01400: cannot insert NULL into ("SYSTEM"."DESCRIPTION"."TYPE")
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:305)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:272)
    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:623)
    at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:112)
    at oracle.jdbc.driver.T4CStatement.execute_for_rows(T4CStatement.java:474)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1028)
    at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1125)
    at com.event.struts.InsertDetails.doPost(InsertDetails.java:78)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    at java.lang.Thread.run(Unknown Source
    and i my
    Action class is
    public class InsertDetails extends HttpServlet{
    protected void doPost(HttpServletRequest req, HttpServletResponse resp)
    throws ServletException, IOException {
    // TODO Auto-generated method stub
    Connection conn = null;
    try{
    List list = (List) req.getSession().getAttribute("listbean");
    InputBean ib = (InputBean) list.get(0);
    InputBean ib1 = (InputBean) list.get(1);
    InputBean ib2 = (InputBean) list.get(2);
    InputBean ib3 = (InputBean) list.get(3);
    InputBean ib4 = (InputBean) list.get(4);
    InputBean ib5 = (InputBean) list.get(5);
    InputBean ib6 = (InputBean) list.get(6);
    InputBean ib7 = (InputBean) list.get(7);
    conn = ConnectionUtils.getConnection();
    Statement stmt = conn.createStatement();
    String sql1 = "select seq.nextval from DUAL";
    ResultSet rs1 = stmt.executeQuery(sql1);
    rs1.next();
    int event_id = rs1.getInt(1);
    //Advanced and general info
    String sql2 = "insert into EVENT_INFO (EVENT_ID,EVENT_NAME,SHORT_NAME,EVENT_START_DATE,EVENT_END_DATE,EVENT_START_TIME,EVENT_END_TIME,event_LOCATION,ADDRESS1,ADDRESS2,CITY,STATE,ZIP_CODE,COUNTRY,event_COMMENT,EVENT_OVERVIEW,EXTRA1,EXTRA2,MEMBERSHIP_OPTION,EXTRA3,EXTRA4,EXTRA5,KID,TEEN,ADULT,SENIOR,SENILE,EVENT_TYPE1,EVENT_TYPE2,DETAILED_DESCRIPTION,IS_DETAILED_DESCRIPTION_HTML,ADDITIONAL_URL,BYPASS_INFORMATION_PAGE,CANCELLATION_POLICY,ADDTIONAL_INFO) values("+event_id+",'"+ib.getName()+"','"+ib.getShortname()+"','"+ib.getStartdate()+
    "','"+ib.getEnddate()+"','"+ib.getStarttime()+"','"+ib.getEndtime()+"','"+ib.getLocation()+"','"+ib.getAddress1()+"','"+ib.getAddress2()+"','"+
    ib.getCity()+"','"+ib.getState()+"','"+ib.getZip()+"','"+ib.getCountry()+"','"+ib.getComment()+"','"+ib.getTextarea()+"','"+ib.getExtra1()+"','"+
    ib.getExtra2()+"','"+ib.getExtra3()+"','"+ib.getExtra4()+"','"+ib.getExtra5()+"','"+ib.getExtra6()+"','"+ib.getExtra7()+"','"+ib.getExtra8()+"','"+
    ib.getExtra9()+"','"+ib.getExtra10()+"','"+ib.getExtra11()+"','"+ib.getExtra12()+"','"+ib.getExtra13()+"','"+ib1.getTextarea()+"','"+ib1.getExtra1()+"','"+
    ib1.getName()+"','"+ib1.getExtra2()+"','"+ib2.getCancellation_policy()+"','"+ib2.getTextarea()+"')";
    stmt.executeQuery(sql2);
    //Description
    List list1 = (List) ib2.getList();
    DescriptionBean db = (DescriptionBean) list1.get(0);
    DescriptionBean db1 = (DescriptionBean) list1.get(1);
    DescriptionBean db2 = (DescriptionBean) list1.get(2);
    DescriptionBean db3 = (DescriptionBean) list1.get(3);
    DescriptionBean db4 = (DescriptionBean) list1.get(4);
    DescriptionBean db5 = (DescriptionBean) list1.get(5);
    DescriptionBean db6 = (DescriptionBean) list1.get(6);
    if(db.getDescription()!=" "){
    String s1 = "insert into DESCRIPTION (TYPE,DESCRIPTION,IS_HTML,EVENT_ID) values('"+db.getDescription()+"','"+db.getTextarea()+"','"+db.getHtmlbutton()+"',"+event_id+")";
    stmt.executeQuery(s1);
    if(db1.getDescription()!=" "){
    String s2 = "insert into DESCRIPTION (TYPE,DESCRIPTION,IS_HTML,EVENT_ID) values('"+db1.getDescription()+"','"+db1.getTextarea()+"','"+db1.getHtmlbutton()+"',"+event_id+")";
    stmt.executeQuery(s2);
    if(db2.getDescription()!=" "){
    String s3 = "insert into DESCRIPTION (TYPE,DESCRIPTION,IS_HTML,EVENT_ID) values('"+db2.getDescription()+"','"+db2.getTextarea()+"','"+db2.getHtmlbutton()+"',"+event_id+")";
    System.out.println(s3);
    stmt.executeQuery(s3);
    if(db3.getDescription()!=" "){
    String s4 = "insert into DESCRIPTION (TYPE,DESCRIPTION,IS_HTML,EVENT_ID) values('"+db3.getDescription()+"','"+db3.getTextarea()+"','"+db3.getHtmlbutton()+"',"+event_id+")";
    stmt.executeQuery(s4);
    if(db4.getDescription()!=" "){
    String s5 = "insert into DESCRIPTION (TYPE,DESCRIPTION,IS_HTML,EVENT_ID) values('"+db4.getDescription()+"','"+db4.getTextarea()+"','"+db4.getHtmlbutton()+"',"+event_id+")";
    stmt.executeQuery(s5);
    if(db5.getDescription()!=" "){
    String s6 = "insert into DESCRIPTION (TYPE,DESCRIPTION,IS_HTML,EVENT_ID) values('"+db5.getDescription()+"','"+db5.getTextarea()+"','"+db5.getHtmlbutton()+"',"+event_id+")";
    stmt.executeQuery(s6);
    if(db6.getDescription()!=" "){
    String s7 = "insert into DESCRIPTION (TYPE,DESCRIPTION,IS_HTML,EVENT_ID) values('"+db6.getDescription()+"','"+db6.getTextarea()+"','"+db6.getHtmlbutton()+"',"+event_id+")";
    stmt.executeQuery(s7);
    //Activity
    String sql3 = "insert into ACTIVITY (ACTIVITY_NAME,ACTIVITY_START_DATE,ACTIVITY_END_DATE,ACTIVITY_START_TIME,ACTIVITY_END_TIME,TYPE,CAPACITY,EVENT_ID) values('"+ib3.getName()+"','"+ib3.getStartdate()+"','"+
    ib3.getEnddate()+"','"+ib3.getStarttime()+"','"+ib.getEndtime()+"','"+ib3.getExtra1()+"',"+event_id+")";
    stmt.executeQuery(sql3);
    i put condition for null .But if i dont fill the fields,even then the executeQuery is executing without checking the condition.
    wht is the problem
    what i want to change in my code.

    1. Use code tags when you post code.
    2. Use prepared statements.
    3. If you have a field that requires a non-null entry then you must provide a non-null value. And for Oracle that means non-empty as well.

  • Error when cloning a AD connector (cannot insert NULL into ("OIMUSER"."OIU"

    I am getting below error when trying to clone AD connector (new resource). I Imported/Exported AD resource Object, Process form and the dependent lookup tables.
    I can see the new resource object, process definition, process forms and Recon rule, when i tried provision a the new resource i see this error in logs.
    DEBUG,23 Dec 2010 02:34:45,788,[XELLERATE.DDM.IMPORT], Importing ProcessAdministrator(XMLCREATED)
    DEBUG,23 Dec 2010 02:34:45,788,[XELLERATE.DDM.IMPORT], Object is being created
    DEBUG,23 Dec 2010 02:34:45,788,[XELLERATE.DDM.IMPORT], Creating data object
    DEBUG,23 Dec 2010 02:34:45,788,[XELLERATE.DDM.IMPORT],Creating data object with params: com.thortech.xl.dataobj.tcDataBase@14d388c,41,null,[B@9355bd
    DEBUG,23 Dec 2010 02:34:45,803,[XELLERATE.DDM.IMPORT], Resolving dependency to {UserGroup=SYSTEM ADMINISTRATORS}
    DEBUG,23 Dec 2010 02:34:45,803,[XELLERATE.DDM.IMPORT], Dependency resolved with key: 1
    DEBUG,23 Dec 2010 02:34:45,803,[XELLERATE.DDM.IMPORT], Saving data object
    INFO,23 Dec 2010 02:34:46,256,[XELLERATE.DDM.STATS],Purging 6 prepared statements
    ERROR,23 Dec 2010 02:35:52,663,[XELLERATE.DATABASE],Class/Method: tcDataBase/writeStatement encounter some problems: ORA-01400: cannot insert NULL into ("OIMUSER"."OIU"."OST_KEY")
    java.sql.SQLIntegrityConstraintViolationException: ORA-01400: cannot insert NULL into ("OIMUSER"."OIU"."OST_KEY")
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:85)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:112)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:173)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1030)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:947)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1222)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3381)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3462)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1349)
         at weblogic.jdbc.wrapper.PreparedStatement.executeUpdate(PreparedStatement.java:159)
         at com.thortech.xl.dataaccess.tcDataBase.writePreparedStatement(Unknown Source)
         at com.thortech.xl.dataobj.PreparedStatementUtil.executeUpdate(Unknown Source)
         at com.thortech.xl.dataobj.tcTableDataObj.insertImplementation(Unknown Source)
    Please let me know if you have any idea..
    Thanks..
    Edited by: IDMuser19 on Dec 29, 2010 2:21 PM

    After Setting Database to DEBUG mode i see below errors in the log
    DEBUG,27 Dec 2010 16:26:44,850,[XELLERATE.DATABASE],select ost_launch_dependent, ost_key, ost_status from ost ost, obi obi where ost.obj_key=obi.obj_key and obi.obi_key=181
    INFO,27 Dec 2010 16:26:44,865,[XELLERATE.DATABASE],DB read: select upp_deny_list from upp,usr where usr.usr_key=upp.usr_key and usr.usr_key=21
    DEBUG,27 Dec 2010 16:26:44,865,[XELLERATE.DATABASE],select upp_deny_list from upp,usr where usr.usr_key=upp.usr_key and usr.usr_key=21
    INFO,27 Dec 2010 16:26:44,865,[XELLERATE.DATABASE],DB read: select pol_key, obi.obj_key from rqo,obi where rqo.obi_key = obi.obi_key and obi.obi_key = 181
    DEBUG,27 Dec 2010 16:26:44,865,[XELLERATE.DATABASE],select pol_key, obi.obj_key from rqo,obi where rqo.obi_key = obi.obi_key and obi.obi_key = 181
    INFO,27 Dec 2010 16:26:44,881,[XELLERATE.DATABASE],DB read: select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcOIU' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' ) and dvt.dvt_pre_insert_sequence>0 order by dvt.dvt_pre_insert_sequence
    DEBUG,27 Dec 2010 16:26:44,881,[XELLERATE.DATABASE],select evt.evt_key, evt.evt_name, evt.evt_package from dob dob, evt evt, dvt dvt where dob.dob_key=dvt.dob_key and dvt.evt_key=evt.evt_key and (dob.dob_name='com.thortech.xl.dataobj.tcOIU' or dob.dob_name='com.thortech.xl.dataobj.tcTableDataObj' or dob.dob_name='com.thortech.xl.dataobj.tcDataObj' ) and dvt.dvt_pre_insert_sequence>0 order by dvt.dvt_pre_insert_sequence
    DEBUG,27 Dec 2010 16:26:44,881,[XELLERATE.DATABASE],insert into oiu (OIU_KEY, OBI_KEY, USR_KEY, OIU_SERVICEACCOUNT, OIU_CREATE, OIU_CREATEBY, OIU_UPDATE, OIU_UPDATEBY, oiu_rowver) values (?, ?, ?, ?, ?, ?, ?, ?, ?)
    DEBUG,27 Dec 2010 16:26:44,881,[XELLERATE.DATABASE],select OIU_seq.nextval from dual
    ERROR,27 Dec 2010 16:26:44,928,[XELLERATE.DATABASE],Class/Method: tcDataBase/writeStatement encounter some problems: ORA-01400: cannot insert NULL into ("OIMUSER"."OIU"."OST_KEY")
    java.sql.SQLIntegrityConstraintViolationException: ORA-01400: cannot insert NULL into ("OIMUSER"."OIU"."OST_KEY")
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:85)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:112)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:173)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    INFO,27 Dec 2010 16:26:44,990,[XELLERATE.DATABASE],DB read: select err_key, err_code, err_desc, err_rowver, err_remedy, err_count, err_last_occurance, err_action, err_help_url, err_severity from err where err_code='DOBJ.INSERT_FAILED'
    DEBUG,27 Dec 2010 16:26:44,990,[XELLERATE.DATABASE],select err_key, err_code, err_desc, err_rowver, err_remedy, err_count, err_last_occurance, err_action, err_help_url, err_severity from err where err_code='DOBJ.INSERT_FAILED'
    ERROR,27 Dec 2010 16:26:45,006,[XELLERATE.SERVER],Class/Method: tcDataObj/save Error :Insertion of dataobject into database failed
    INFO,27 Dec 2010 16:26:45,006,[XELLERATE.DATABASE],DB read: select err_key, err_code, err_desc, err_rowver, err_remedy, err_count, err_last_occurance, err_action, err_help_url, err_severity from err where err_code='DOBJ.INSERT_FAILED'
    DEBUG,27 Dec 2010 16:26:45,006,[XELLERATE.DATABASE],select err_key, err_code, err_desc, err_rowver, err_remedy, err_count, err_last_occurance, err_action, err_help_url, err_severity from err where err_code='DOBJ.INSERT_FAILED'
    ERROR,27 Dec 2010 16:26:45,006,[XELLERATE.DATABASE],Class/Method: tcDataBase/rollbackTransaction encounter some problems: Rollback Executed From
    java.lang.Exception: Rollback Executed From
         at com.thortech.xl.dataaccess.tcDataBase.rollbackTransaction(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.rollback(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.doRollback(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
         at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
         at com.thortech.xl.dataobj.tcUserProvisionObject.insertImplementation(Unknown Source)
         at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
    Thanks .... Please reply if you have any idea..

  • Migration Error - Cannot Insert Null Into MD_PROJECTS.ID

    Environment:
    Oracle 11g (11.2.0.2)
    SQL Server 2008 R2
    SQL Developer 3.0.03 Build Main-03.97
    Problem:
    We are migrating a SQL Server DB to Oracle and will need to perform this repeated times using updated versions of the SQL Server DB. I successfully did this several days ago using OFFLINE mode using a DB received in late March. There are two schemas in the SQL Server DB (dbo and EXA) that need to get migrated. Within SQL Server I attached the DB and renamed it to PTS. I then went through the wizard and ended up with two schemas in Oracle (dbo_PTS and EXA_PTS). I am now trying to repeat the process with a DB I just received. Within SQL Server I attached the DB and renamed it to PTS_April. It also has the same two schemas (dbo and EXA).
    My repository schema (MWREP) has the following permissions:
    GRANT RESOURCE TO MWREP WITH ADMIN OPTION;
    GRANT DBA TO MWREP;
    GRANT CONNECT TO MWREP;
    ALTER USER MWREP DEFAULT ROLE ALL;
    -- 6 System Privileges for MWREP
    GRANT UNLIMITED TABLESPACE TO MWREP WITH ADMIN OPTION;
    GRANT CREATE SESSION TO MWREP;
    GRANT CREATE ROLE TO MWREP WITH ADMIN OPTION;
    GRANT ALTER ANY TRIGGER TO MWREP WITH ADMIN OPTION;
    GRANT CREATE USER TO MWREP WITH ADMIN OPTION;
    GRANT CREATE VIEW TO MWREP;
    I step through the wizard with the following general parameters
    1) MWREP connection as the repository - I have dropped and recreated the repository objects.
    2) Offline Mode for the Source Database (I've successfully created the .ocp file)
    3) PTS_April selected in the Capture page
    4) Offline Mode for the Target Database
    5) Offline Mode for the Move Data
    6) Click Finish and it runs for about 30 seconds first saying Create Project and then saying Capture.
    I then get the following error message:
    Migration actions have failed. Check the migration report for details. : ORA-01400: cannot insert NULL into ("MWREP"."MD_PROJECTS"."ID")
    Any assitance solving this problem are appreciated.

    Hi, I had exactly the same problem and I resolved it be dropping all objects associated with the migration, this involves packages, types, views etc. Once I had ensured that i had a blank canvas, i stated again and it worked succesfully, good luck, Matt

  • Cannot insert null into a Primary Key Column using Entity Framework

    I have to insert data into UserPreferences Table which has a primary key. This I am doing with Oracle Entity Framework Provider.
    It is unable to do it though i have set the StoreGeneratedPattern = "Identity". But while saving changes it is saying a null error is being inserted into the primary key.

    I exported the same package to BIDS and ran it but still unable to get the issue. It is running fine.
    Also then same package is running fine in other environments.
    Thanks
    Thats strange
    Are you pointing to same databases itself while executing from server?
    Please Mark This As Answer if it solved your issue
    Please Mark This As Helpful if it helps to solve your issue
    Visakh
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Error with date field when inserting records into sql server from webdynpro

    Dear SDN's,
    I am trying to insert the records into sql server through my webDynpro program.
    I have created a date field in a dictionary with the datatype date.
    In my webdynpro program to insert the date i am following the below format.
    String dateString = "2006/12/10";
          java.util.Date d=new java.util.Date(dateString);
          java.sql.Date <b>date</b> = new java.sql.Date(d.getTime());
    int i=stmt.executeUpdate("INSERT INTO TRAVEL_HEADER(TRQID,PROJECTID,<b>REQDT</b>,ADVCE,ETADV,PURTR) values(21, '555-1212', '" + <b>date</b> + "', 5000, '20060501','hi')");
    when i try to execute it, it gives the following error.
    <b>com.sap.sql.log.OpenSQLException: The SQL statement "INSERT INTO "TRAVEL_HEADER" ("TRQID","PROJECTID","REQDT","ADVCE","ETADV","PURTR") VALUES (21,'555-1212','2006-12-10',5000,'20060501','hi')" contains the semantics error[s]: - type check error: new value (element number 3 (CHAR)) is not assignable to column  >>REQDT<< (DATE)</b>
    Please correct me.
    Your help will be appreciated.
    Regards,
    Sireesha.B

    Hi,
    int i=stmt.executeUpdate("INSERT INTO TRAVEL_HEADER(TRQID,PROJECTID,REQDT,ADVCE,ETADV,PURTR) values(21, '555-1212', 'date', 5000, '20060501','hi')");
    try like this.
    I Think in SQL the general format to take date as input like this.
    INSERT INTO X VALUES ('10/30/56')
    thaks,
    Lohi.

  • Error in Executing procedure--Cannot inser null

    when i execute a procedure . i am getting the following error.
    Where to write an exection. Please let me know whether i have to write exection after insert or..
    Please help me.
    my procedure is as follows
    insert into a as select * from b;
    ORA-01400: cannot insert NULL into ("ETL"."A.EXP_CD")
    ORA-06512: at "ETL.P_STGE_MATTER", line 167
    ORA-06512: at line 11

    if you are using the same insert statement that you
    have mentioned then i think it should be like
    insert into a (select * from b)Really ?
    SQL> create table a (id number(1))
      2  /
    Tabel is aangemaakt.
    SQL> create table b as select 1 id from dual
      2  /
    Tabel is aangemaakt.
    SQL> insert into a select * from b
      2  /
    1 rij is aangemaakt.Regards,
    Rob.

  • Cannot insert NULL in dimension_key

    Hi,
    I have created a dimension with a simple two-tier hierarchy. The upper Level shall be filled with a constant in the mapping as there is no real hierarchy in the source data yet. I use a surrogate key in the upper level dimension called ID. Implemetation is rolap.
    In the mapping I use the dimension operator and fill the upper level with the constant and the lower level from the source data table.
    Deployment is successfull, but when I start the mapping, I get ORA_1400 cannot insert NULL into ...dimension_key for every row.
    The target afterwards contains of 1 record, where the lower level is completly NULL, the upper level is filled properly with the constant. The ID and the dimension_key have the same key inserted (e.g. -6).
    From the Repository Browser trace, I can see that owb does not write anything to dimension_key and therefore the ora-1400 occurs for every row.
    As I don't know what the intention and the supposed implementation of the dimension_key is, so I'm stuck here. How do I influence the cration of the dimension_key and are there any constraints in the setup of the dimension?
    Thanks,
    Knut

    Right, my target is a dimension operator and a sequence is deployed. OWB does take this sequence for the surrogate ID and the dimension_key on the top level hierarchy.
    But for the lower level hierarchy it does NOT take the dimension_key into the update statement.
    In debug mode I see that it queries the dimension key but does not put it into the Lookup cursor for the update.
    I think there is a relation missing between the different hierarchy levels, but I don't know how to implement it. Any ideas or references to the docs?
    Reards,
    Knut

  • ORA-20001: Oracle error -20001: ORA-20001: Oracle error -14552: ORA-14552: cannot perform a DDL, commit or rollback inside a query or DML has been detected in fnd_global.set_nls.set_parameter('NLS_LANGUAGE','AMERICAN'). has been detected in fnd_global.set

    ORA-20001: Oracle error -20001: ORA-20001: Oracle error -14552: ORA-14552: cannot perform a DDL, commit or rollback inside a query or DML has been detected in fnd_global.set_nls.set_parameter('NLS_LANGUAGE','AMERICAN'). has been detected in fnd_global.set_nls.
    this error generates everytime when i run a apex application
    i did call the package in session state with  dbms_session.set_nls('NLS_LANGUAGE','AMERICAN'); but still it shows the error in the report any solution please

    Hi Amrit
    Can you put the FND_GLOBAL calls in a pre map trigger/process rather than as part of the map?
    Cheers
    David

  • Can not insert null into foreign key issue

    Hi ,
    I am having parent-child relationship table.
    In the child table when I am adding a new record , data is getting inserted with foreign key.
    After insert if I immediately update the same record. Its giving error that can not insert null into foreign key.
    If i click on rollback button I am able to update that record properly.

    Hi ,
    I am having parent-child relationship table.
    In the child table when I am adding a new record , data is getting inserted with foreign key.
    After insert if I immediately update the same record. Its giving error that can not insert null into foreign key.
    If i click on rollback button I am able to update that record properly.

  • Impdp error ..ORA:56937,ORA:39065

    we are getting below error message while importing. ORA-39097: Data Pump job encountered unexpected error -56937 ORA-39065: unexpected master process exception in DISPATCH ORA-56937: failed to load the secondary time zone data file
    the par file is as follows :
    impdp system/oracle directory=datadump dumpfile=devf3war_19apr_evng.dmp remap_tablespace =DEVF3WAR:WARBADEV remap_schema=DEVF3WAR:WARBADEV logfile=WARBADEV_imp.log

    Tue Apr 19 19:47:09 2011
    DM06 started with pid=27, OS id=10438, job SYSTEM.SYS_IMPORT_FULL_02
    Tue Apr 19 19:47:10 2011
    DW01 started with pid=32, OS id=10440, wid=1, job SYSTEM.SYS_IMPORT_FULL_02
    Tue Apr 19 19:47:21 2011
    Errors in file /oracle/ora11g22/app/diag/rdbms/me11g22/ME11G22/trace/ME11G22_dm06_10438.trc (incident=17017):
    ORA-04031: unable to allocate 795552 bytes of shared memory ("large pool","unknown object","large pool","Allocate TT. qesdpiRacAction_cb")
    Incident details in: /oracle/ora11g22/app/diag/rdbms/me11g22/ME11G22/incident/incdir_17017/ME11G22_dm06_10438_i17017.trc
    Use ADRCI or Support Workbench to package the incident.
    See Note 411.1 at My Oracle Support for error and packaging details.
    Failed to allocate memory 4 TT. qesdpiRacAction_cb(DST_2)
    Tue Apr 19 19:47:26 2011
    Dumping diagnostic data in directory=[cdmp_20110419194726], requested by (instance=1, osid=10438 (DM06)), summary=[incident=17017].
    Tue Apr 19 19:47:26 2011
    Sweep [inc][17017]: completed
    Sweep [inc2][17017]: completed
    Tue Apr 19 19:53:05 2011
    Thread 1 cannot allocate new log, sequence 360
    Private strand flush not complete
    Current log# 4 seq# 359 mem# 0: /oraextME3/oradata/ME11G22/ME11G22/redo04.log
    Thread 1 advanced to log sequence 360 (LGWR switch)
    Current log# 5 seq# 360 mem# 0: /oraextME3/oradata/ME11G22/ME11G22/redo05.log
    Tue Apr 19 20:03:08 2011
    Thread 1 cannot allocate new log, sequence 361
    Private strand flush not complete
    Current log# 5 seq# 360 mem# 0: /oraextME3/oradata/ME11G22/ME11G22/redo05.log
    Thread 1 advanced to log sequence 361 (LGWR switch)
    Current log# 1 seq# 361 mem# 0: /oraextME3/oradata/ME11G22/ME11G22/redo01.log
    Tue Apr 19 20:14:47 2011
    Thread 1 advanced to log sequence 362 (LGWR switch)
    Current log# 2 seq# 362 mem# 0: /oraextME3/oradata/ME11G22/ME11G22/redo02.log
    Tue Apr 19 20:25:14 2011
    Thread 1 cannot allocate new log, sequence 363
    Private strand flush not complete
    Current log# 2 seq# 362 mem# 0: /oraextME3/oradata/ME11G22/ME11G22/redo02.log
    Thread 1 advanced to log sequence 363 (LGWR switch)
    Current log# 3 seq# 363 mem# 0: /oraextME3/oradata/ME11G22/ME11G22/redo03.log
    Tue Apr 19 20:35:24 2011
    Thread 1 cannot allocate new log, sequence 364
    Private strand flush not complete
    Current log# 3 seq# 363 mem# 0: /oraextME3/oradata/ME11G22/ME11G22/redo03.log
    Thread 1 advanced to log sequence 364 (LGWR switch)
    Current log# 4 seq# 364 mem# 0: /oraextME3/oradata/ME11G22/ME11G22/redo04.log
    Tue Apr 19 20:48:04 2011
    Thread 1 cannot allocate new log, sequence 365
    Private strand flush not complete
    Current log# 4 seq# 364 mem# 0: /oraextME3/oradata/ME11G22/ME11G22/redo04.log
    Thread 1 advanced to log sequence 365 (LGWR switch)
    Current log# 5 seq# 365 mem# 0: /oraextME3/oradata/ME11G22/ME11G22/redo05.log

  • Impdp fails with ORA-01427 during full import of 10.2 db into 11.2

    Hello all,
    I'm running a full import from a dump file taken from our production db (10.2.0.4.0) on RHEL4 into a test db (11.2.0.3.0) on RHEL6.  I've done something very similar before with no errors but this time it returns the following in the output at the end of the partially successful import:
    ORA-39126: Worker unexpected fatal error in KUPW$WORKER.PUT_DDLS [TABLE_STATISTICS]
    ORA-06502: PL/SQL: numeric or value error
    LPX-00225: end-element tag "COL_STATS_ITEM" does not match start-element tag "HIVAL"
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
    ORA-06512: at "SYS.KUPW$WORKER", line 9001
    ----- PL/SQL Call Stack -----
      object      line  object
      handle    number  name
    0x1ea3a92c8     20462  package body SYS.KUPW$WORKER
    0x1ea3a92c8      9028  package body SYS.KUPW$WORKER
    0x1ea3a92c8     16665  package body SYS.KUPW$WORKER
    0x1ea3a92c8      3956  package body SYS.KUPW$WORKER
    0x1ea3a92c8      9725  package body SYS.KUPW$WORKER
    0x1ea3a92c8      1775  package body SYS.KUPW$WORKER
    0x1e9ec90f8         2  anonymous block
    ORA-39097: Data Pump job encountered unexpected error -1427
    ORA-39065: unexpected master process exception in DISPATCH
    ORA-01427: single-row subquery returns more than one row
    Job "SYSTEM"."SYS_IMPORT_FULL_02" stopped due to fatal error at 13:32:00
    The import is into a database that has had all the application users dropped (only Oracle-defined users still existing) but with table_exists_action set to skip (the default).  Several user objects from the source db are missing from the target.
    I've run this twice with the same results.  I can imagine that there is a problem with the master table and/or the data dictionary but it gives no indication of the deeper cause.
    Any ideas, anyone?
    Regards, Keith.

    Pl post the complete expdp and impdp commands used.
    Retry expdp or impdp with the EXCLUDE=STATISTICS option.
    MOS Doc 878626.1
    HTH
    Srini

  • Problem with ORA-25240 and msgId:=NULL

    Hi,
    I have a problem with ORA-25240- the documentation says that you cannot specify a message ID and correlation ID int the dequeue- options. However I am getting it setting msgid explicitely to NULL!
    The code snippet is:
    vr_message jms_message_with_header_type;
    vr_dequeue_options DBMS_AQ.dequeue_options_t;
    v_message_handle RAW(16);
    BEGIN
    vr_dequeue_options.deq_condition := 'tab.user_data.header.properties IS NOT NULL AND '
    || 'tab.user_data.get_string_property('MYServicename'') = '''
    || i_MY_Servicename || '''';
    vr_dequeue_options.correlation := i_correlation;
    vr_dequeue_options.navigation := DBMS_AQ.FIRST_MESSAGE;
    -- should be default anyway:
    vr_dequeue_options.msgid:=NULL;
    vr_dequeue_options.wait := DBMS_AQ.NO_WAIT;
    DBMS_AQ.DEQUEUE
    queue_name => 'MYQUEUE',
    dequeue_options => vr_dequeue_options,
    message_properties => vr_message.header,
    payload => vr_message.message,
    msgid => v_message_handle
    Any ideas?
    Thank you,
    Steffen

    Hi,
    the version is:
    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bi
    PL/SQL Release 10.2.0.3.0 - Production
    CORE 10.2.0.3.0 Production
    TNS for HPUX: Version 10.2.0.3.0 - Production
    NLSRTL Version 10.2.0.3.0 - Production
    SQL>
    The example behind the link is not complex enough. They are not using deq_condition and correlationId of the deque- options. If I set one of these values to NULL the code works fine but it complains about msgId if I have both values set with msgId=NULL?!?
    Thanks,
    Steffen

Maybe you are looking for

  • Adobe's Responsiveness to 10.6 problems

    I thought I'd start a thread just for the discussion of Adobe's responsiveness to the problems some are having with CS and SL.  There is too much hijacking of threads with rants going on in threads in which users are sincerlly looking for techincal h

  • Content Server 6.0  Installation problem on Solaris

    When I installed Content_Server_6.0_SP1_solaris_oracle on Solaris 10 ,I get the following error in log file. dbg Bundled JRE is not binary compatible with host OS/Arch or it is corrupt. Testing bundled JRE failed. How can I resolve it please help me.

  • Need to remove password on Satellite A660-18N

    Hi there, I have problem with an access to my laptop Satellite A660-18N, it is asking for the password, that i do not remember (or know). I bought it in UK back in 2010, since then it is the first time i am dealing with this problem. Is there any pos

  • CS2 installed incorrectly & i cannot uninstall (already did windows installer cleanup utility.......

    i have been using illustrator 10 & CS5 photoshop trial version fine on my windows vista (illustrator for 2 yrs on this computer). i got CS2 so i uninstalled both programs before installing the CS2. after installing i never got a finished window & it

  • Itunes has suddenly stopped working

    I have the Mac OS X version 10.4, 2 GHz Power PC G5. Up until this morning, my mac has run itunes perfectly. Yesterday evening, I was attempting to download a song from the itunes store and I received a message that I needed an itunes update. (7.5, i