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?

Similar Messages

  • 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.

  • 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.

  • 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

  • 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

  • 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

  • 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.

  • Cannot insert disk into drive. How to fix this problem?

    Hi,
    I have a mac Mini and have had it since August last year. The disk drive has been working fine, until today. Cannot remember the last time I used the disk drive, but it couldn't have been more than two months ago. Anyways, the problem that has occured today is that when I try and insert a disk into the drive, it does not except it. The is no usual sound of the motors being activated by sensors to feed the disk into the drive. maybe the sensors are dirty? If so, how can they be cleaned? Have tried to insert the disk as much as I can into the drive until reaching a point where it will no longer physically go into the drive. This reaches half way on a standard size CD/DVD. Have tried many disks and have checked to see if there is any damage to any of these disks before inserting them into the drive. I am also very careful with taking disks out of th drive as soon as I am done with them as I am a bit cautious of these disk drives as it is the first time I have used them since August rather than a tray disk drive. I have also checked Finder to see if there are any disks curently in the drive to which there are none. Under the heading 'DEVICES' are the following:
    Machintosh HD (Hard disk, as I am sure you all know)
    iDisk (Am not sure what this is and haven't used it before)
    Remote Disc (Again, not sure what this is and haven't used it)
    BackUPHDD (This is my TimeMachine Hard Drive)
    Film Work (This is my film Hard Drive with my work on)
    Time (This is just another back up Hard Drive as my Mac Mini gets full quickley)
    If you would like any more detail then feel free to ask.
    Thank you for your time and effort to reading this post and hopefully responding.

    Sorry for the late reply. Have been out of the country. Have figured an App for the iPod touch/iPhone/iPad and for Macs called 'iTeleport'. Am sure there are many others like this out there but it is amazing and lets one control the mac from their iPod touch/iPhone/iPad. Am still under warranty with about 60 days left apparently. Have been to the genius bar and they think that there is a small square object stuck inside the disk drive. =s Have no idea how that would have got in there. We tried fishing it out with a credit card but no luck. They advised to book the Mac in so that they can fix the problem. It will take 5-7 days but maybe sooner. Am currently moving everything from the Mac onto another HD just in case. Thank you for your responce towards this thread. <3 Apple and everyone on these forums for helping out with our problems. Thank you.

  • Cannot insert disc into Mac Pro

    Cannot insert disc in drive on Mac Book Pro. Have pressed eject button but no reaction. No disc present inside - or at least not shown as being present

    If you have suspicions that there might be a disk inside your MBP, try these options just to make certain.  It certainly will not hurt.
    Credit Kappy
    Ciao.

  • Cannot insert date into numbers 3.1 using ctl shift d

    can no longer insert date into numbers 3.1 using control shift d

    Hi Gerald,
    If you are inserting the current date a lot, and want a simple keyboard combination to do it rather than fiddling with formulas in Numbers, here is an easy way that takes advantage of some neat functionality built into every Mac that is much easier than it sounds.  It requires the investment of just a few minutes of time to make a one-time setup of an "Automator service."  Thereafter inserting a date is just a menu pick or keyboard combination.
    1. Open Automator (in your applications folder) and choose Service as document type:
    2. Drag 'Run AppleScript' action from the left over into the right pane:
    3. Copy the following script and paste it into the right pane (replacing all of the default text in the pane):
    on run
              set date_ to ((current date) as string)
      set the clipboard to the date_
              tell application "Numbers"
      activate
                        tell application "System Events"
      keystroke "v" using {option down, shift down, command down}
                        end tell
              end tell
    end run
    4. At the top of the right pane choose 'no input' for 'Service receives' and 'Numbers.app' for 'in'. (On my machine I have the old Numbers renamed to Numbers09 so the script doesn't get confused).
    After you click the hammer icon (to "compile") your right panel should now look like this:
    5. Name the service "Today" or similar and move it to the Library > Services folder. (If it doesn't save automatically to that location you can File > Export in Automator, choose the 'Desktop' for 'Where', then in Finder open a new window and hold down the option key and choose Go > Library > Services, and drag Today.workflow from the Desktop into that folder.)
    That's it. The service is ready to go. Thereafter, whenever you want to insert the current date, just pick Today from the Services menu:
    6. Or, to make this even easier to access, choose Services Preferences and assign a keyboard shortcut to the service:
    SG
    Troubleshooting notes:
    This should "just work." But if it doesn't for some reason, try one or more of the following:
    - Rename the old Numbers (the one in the iWork '09 folder under Applications) to Numbers09 or similar.
    - Check to make sure you aren't using the same keyboard shortcut for something else.
    - Remove 'Day of the week' from your "Full" date format in System Preferences > Language & Region.
    - Try revising permissions under System Preferences > Security & Privacy > Accessibility > Privacy.

  • Cannot INSERT records into Partitioned Spatial Table and Index

    I am trying to tune our Spatial Storage by creating partitioning our spatial_entity table and index. I used the World Geographic Reference System (GEOREF) creating a partition for each 15 x 15 degree grid square assigning a partition key of decimal longitude, decimal_latitude. The build went OK, however when trying to insert a data record I receive an ORA-14400: Inserted partition key does not map to any partition.
    I validated the CREATE(s), and all appears correct, but obviously something is not correct, which is prompting for expert help in this forum.
    I would be very grateful for your help.
    Below are the code snippets for the table and index, and an insert statement.
    CREATE TABLE spatial_entity
         geoloc_type VARCHAR2 (60 BYTE) NOT NULL
    ,entity_id NUMBER NOT NULL
    ,metadata_xml_uuid VARCHAR2 (40 BYTE) NOT NULL
    ,geoloc MDSYS.sdo_geometry NOT NULL
    ,nee_method CHAR (1 BYTE) NOT NULL
    ,nee_status CHAR (1 BYTE) NOT NULL
    ,decimal_latitude NUMBER (15, 6) NOT NULL
    ,decimal_longitude NUMBER (15, 6) NOT NULL
    PARTITION BY RANGE (decimal_longitude, decimal_latitude)
         PARTITION p_lt_0_90s
              VALUES LESS THAN (1, -90)
         ,PARTITION p_lt_0_75s
              VALUES LESS THAN (1, -75)
         ,PARTITION p_lt_0_60s
              VALUES LESS THAN (1, -60)
         ,PARTITION p_lt_0_45s
              VALUES LESS THAN (1, -45)
         ,PARTITION p_lt_0_30s
              VALUES LESS THAN (1, -30)
         ,PARTITION p_lt_0_15s
              VALUES LESS THAN (1, -15)
         ,PARTITION p_lt_0_0
              VALUES LESS THAN (1, 0)
         ,PARTITION p_lt_0_15n
              VALUES LESS THAN (1, 15)
         ,PARTITION p_lt_0_30n
              VALUES LESS THAN (1, 30)
         ,PARTITION p_lt_0_45n
              VALUES LESS THAN (1, 45)
         ,PARTITION p_lt_0_60n
              VALUES LESS THAN (1, 60)
         ,PARTITION p_lt_0_75n
              VALUES LESS THAN (1, 75)
         ,PARTITION p_lt_0_90n
              VALUES LESS THAN (1, maxvalue)
    CREATE INDEX geo_spatial_ind ON spatial_entity (geoloc)
    INDEXTYPE IS mdsys.spatial_index
    PARAMETERS ('layer_gtype=MULTIPOINT TABLESPACE=GEO_SPATIAL_IND') LOCAL
    (PARTITION p_lt_0_90s,
    PARTITION p_lt_0_75s,
    PARTITION p_lt_0_60s,
    PARTITION p_lt_0_45s,
    PARTITION p_lt_0_30s,
    PARTITION p_lt_0_15s,
    PARTITION p_lt_0_0,
    PARTITION p_lt_0_15n,
    PARTITION p_lt_0_30n,
    PARTITION p_lt_0_45n,
    PARTITION p_lt_0_60n,
    PARTITION p_lt_0_75n,
    PARTITION p_lt_0_90n,
    INSERT INTO spatial_entity
         geoloc_type
         ,entity_id
         ,metadata_xml_uuid
         ,geoloc
         ,nee_method
         ,nee_status
         ,decimal_latitude
         ,decimal_longitude
    VALUES
                   'BATCH'
                   ,0
                   ,'6EC25B76-8482-4F95-E0440003BAD57EDF'
                   ,"MDSYS"."SDO_GEOMETRY"
                        2001
                        ,8307
                        ,"MDSYS"."SDO_POINT_TYPE" (32.915286, 44.337902, NULL)
                        ,NULL
                        ,NULL
                   ,'M'
                   ,'U'
                   ,32.915286
                   ,44.337902
    Thank you for you help.
    Dave

    Thank you for your quick reply. I did not post the entire CREATE script as it is quite long. The portion of the script that is applicable to the INSERT is:
    ,PARTITION p_lt_45e_90s
              VALUES LESS THAN (23, -90)
         ,PARTITION p_lt_45e_75s
              VALUES LESS THAN (23, -75)
         ,PARTITION p_lt_45e_60s
              VALUES LESS THAN (23, -60)
         ,PARTITION p_lt_45e_45s
              VALUES LESS THAN (23, -45)
         ,PARTITION p_lt_45e_30s
              VALUES LESS THAN (23, -30)
         ,PARTITION p_lt_45e_15s
              VALUES LESS THAN (23, -15)
         ,PARTITION p_lt_45e_0
              VALUES LESS THAN (23, 0)
         ,PARTITION p_lt_45e_15n
              VALUES LESS THAN (23, 15)
         ,PARTITION p_lt_45e_30n
              VALUES LESS THAN (23, 30)
         ,PARTITION p_lt_45e_45n
              VALUES LESS THAN (23, 45)
         ,PARTITION p_lt_45e_60n
              VALUES LESS THAN (23, 60)
         ,PARTITION p_lt_45e_75n
              VALUES LESS THAN (23, 75)
         ,PARTITION p_lt_45e_90n
              VALUES LESS THAN (23, maxvalue)
    Or, I do not fully understand. Are you indicating that I must explcitly state the longitude in each clause,
    e.g ,PARTITION p_lt_45e_45n
              VALUES LESS THAN (45, 45)
    ,PARTITION p_lt_45w_45n
              VALUES LESS THAN (-45, 45)
    If so, that answers the question of why it cannot find a partition, however an Oracle White Paper "Oracle Spatial Partitioning Best Practices" Sept 2004, discusses multi column partitioning such as represented by this problem, and gives an INSERT statement example of :
    CREATE TABLE multi_partn_table (in_date DATE,
    geom SDO_GEOMETRY, x_value NUMBER, y_value NUMBER)
    PARTITION BY RANGE (X_VALUE,Y_VALUE)
    PARTITION P_LT_90W_45S VALUES LESS THAN (1,-45),
    PARTITION P_LT_90W_0 VALUES LESS THAN (1,0),
    PARTITION P_LT_90W_45N VALUES LESS THAN (1,45),
    PARTITION P_LT_90W_90N VALUES LESS THAN (1,MAXVALUE
    and as I am writing this I am seeing that I failed to include the longitude and latitude in the SDO_GEOMETRY clause, so it does appear tht I need to explicitly state the longitude valuues.
    What is your judgement sir?
    Dave

  • Cannot insert pages into PDFs after signed with a digital signature in adobe 9

    Is there any workaround that allows me to insert additional pages into a SIGNED pdf?
    Background:
    Author of a form create a form that needs multiple signatures and pages appended and converts to PDF for signing. Person 1 signs it, and sends it to person 2. Person 2 needs to include additional documentation and inserts the pages before signing.
    In the new version, I noticed that it changes the document security which may prevent the insert after you sign it. How do I disable this?

    Hi Bob,
    You may not like the answer, but it cannot be disabled. In previous versions, when you added a page it invalidated the signature. Starting with Acrobat 9, once the PDF file is signed you can no longer make changes that effect the content of the core PDF. The change was made to protect the integrity of the signature. You can still add comments, but (without getting too geeky) comments are not part of the core PDF like pages are, they live in a separate level. Also, you can still add form data, but like comments, what you type into a form field is not part of the core PDF.
    The bottom line is, we made the change to protect the integrity of the signture, and the signature protects the integrity of the document. Thus, changes to the document are no longer allowed in signed files.
    Steve

  • Mac Mini 2011 / Lion  Cannot insert disc into slot??

    When I try to insert a disc (music) into the slot, it only goes in slightly less than half way.
    It is never pulled in by the mini.
    Early in this mini's life, I loaded tons of music cd's on the mini.
    How do we fix this problem? TIA.

    1. Go into Spotlight from the top of your MacBook on the menu bar.
    2. And search for "CDs & DVDs" (It's also in the System Preferences)
    Click on it and a small CDs & DVDs window will pop up with options of what happens when you insert a disk into the drive
    3. By then, try inserting a disk in (while that window is open. This kinda wakes up your drive to accept the disk). It should accept it.
    4. If nothing happens, then manually open the program that should be opening when you insert the disk or go to Finder (Eg. if it's an audio disk, then open iTunes)
    5. If opening the program still does not activate the drive to start spinning the disk, then close the programs and windows you opened, and repeat step 1-4 and the disk should be spinning and automatically opening the proper program.
    Or go into Terminal app and type in: drutil ejec
    The drutil ejec tip is credited to Dan8954
    Hope that helps!

Maybe you are looking for