Intradoc.data.DataException: !csDbFailedToGetNonEmtpyTableList,(null),SIL_OCS

hello all,
I am using UCM. When i am starting UCM server i am getting this error.Do you hve any idea about this?????????????????
how to resolve.yesterday i run some clean up sql after that i start getting this error.
please suggest???

Restore the database from the backup that you took previous to the "clean up SQL" execution.  You did take a backup, right?
I'd also suggest not running any "clean up SQL" against the database without firmly knowing the implications.  Direct database operations against the Content Server schema are also usually non-supportable, so use the existing tool set within the product to do such clean up operations.

Similar Messages

  • Intradoc.data.DataException: !csJdbcCommitCalledInAutoCommitMode

    Hi guys,
    I have written a checkin filter. this filter searches for some content in content server and based on the result do some proccessing . Here is the code :
    DataBinder serviceBinder = new DataBinder();
                   serviceBinder.putLocal("QueryText", "xUrlPageName <matches> `"+urlPageName+"`");
                             serviceBinder.putLocal("IdcService", "GET_SEARCH_RESULTS");
                             executeService(serviceBinder,"sysadmin",false);
                             ResultSet results= serviceBinder.getResultSet("SearchResults");
    if(!results.isEmpty())
                                       // doing some processing here ..
    Here is the code for executeService method
    public Workspace getSystemWorkspace() {
         Workspace workspace = null;
         Provider wsProvider = Providers.getProvider("SystemDatabase");
         if (wsProvider != null)
              workspace = (Workspace) wsProvider.getProvider();
         return workspace;
    public UserData getFullUserData(String userName, ExecutionContext cxt,
              Workspace ws) throws DataException, ServiceException {
         if (ws == null)
              ws = getSystemWorkspace();
         //cxt.
         UserData userData = UserStorage.retrieveUserDatabaseProfileDataFull(userName, ws, null, cxt, true, true);
         ws.releaseConnection();
         return userData;
    public void executeService(DataBinder binder, String userName,
              boolean suppressServiceError) throws DataException,
              ServiceException {
         // obtain a connection to the database
         Workspace workspace = getSystemWorkspace();
         // check for an IdcService value
         String cmd = binder.getLocal("IdcService");
              if (cmd == null)
              throw new DataException("!csIdcServiceMissing");
         // obtain the service definition
         ServiceData serviceData = ServiceManager.getFullService(cmd);
         if (serviceData == null)
              throw new DataException(LocaleUtils.encodeMessage(
                        "!csNoServiceDefined", null, cmd));
         // create the service object for this service
         Service service = ServiceManager.createService(serviceData.m_classID,workspace, null, binder, serviceData);
         // obtain the full user data for this user
         //if(service.getCachedObject("propFile")==null){
         UserData fullUserData = getFullUserData(userName, service, workspace);
         service.setUserData(fullUserData);
         binder.m_environment.put("REMOTE_USER", userName);
         ServiceException error = null;
         try {
              // init the service to not send HTML back
              service.setSendFlags(true, true);
              // create all the ServiceHandlers and implementors
              service.initDelegatedObjects();
              // do a security check
              service.globalSecurityCheck();
              // prepare for the service
              service.preActions();
              // execute the service
              service.doActions();
              // do any cleanup
              service.postActions();
              // store any new personalization data
              service.updateSubjectInformation(true);
              service.updateTopicInformation(binder);
         } catch (ServiceException e) {
              error = e;
         } finally {
              // Remove all the temp files.
              service.cleanUp(true);
              workspace.releaseConnection();
         // handle any error
         if (error != null) {
              if (suppressServiceError) {
                   error.printStackTrace();
                   if (binder.getLocal("StatusCode") == null) {
                        binder.putLocal("StatusCode", String
                                  .valueOf(error.m_errorCode));
                        binder.putLocal("StatusMessage", error.getMessage());
              } else {
                   throw new ServiceException(error.m_errorCode, error
                             .getMessage());
    Filter executed succesfully. but I can see following Exception in System Trace :
    (internal)     10.21 17:37:44.087     IdcServerThread-4     !csJdbcCommitCalledInAutoCommitMode,IdcServerThread-4 (!csJdbcCommitCalledInAutoCommitMode,IdcServerThread-4)-exception stack
    intradoc.data.DataException: !csJdbcCommitCalledInAutoCommitMode,IdcServerThread-4
         at intradoc.jdbc.JdbcWorkspace.commitTran(JdbcWorkspace.java:1113)
         at intradoc.data.WorkspaceTransactionWrapper.commitTransaction(WorkspaceTransactionWrapper.java:61)
         at intradoc.server.ServiceRequestImplementor.commitTransaction(ServiceRequestImplementor.java:358)
         at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1211)
         at intradoc.server.Service.doActions(Service.java:447)
         at collections.HelperHandler.executeCommand(HelperHandler.java:632)
         at collections.HelperHandler.executeCommand(HelperHandler.java:570)
         at collections.HelperHandler.doService(HelperHandler.java:779)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at intradoc.common.IdcMethodHolder.invokeMethod(ClassHelperUtils.java:617)
         at intradoc.common.ClassHelperUtils.executeMethodReportStatus(ClassHelperUtils.java:293)
         at intradoc.server.ServiceHandler.executeAction(ServiceHandler.java:79)
         at intradoc.server.Service.doCodeEx(Service.java:490)
         at intradoc.server.Service.doCode(Service.java:472)
         at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1360)
         at intradoc.server.Service.doAction(Service.java:452)
         at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1201)
         at intradoc.server.Service.doActions(Service.java:447)
         at collections.HelperHandler.executeCommand(HelperHandler.java:632)
         at collections.HelperHandler.executeCommand(HelperHandler.java:570)
         at folderswebdav.FoldersWebdavHandler.myDoService(FoldersWebdavHandler.java:1844)
         at folderswebdav.FoldersWebdavHandler.sendFile(FoldersWebdavHandler.java:136)
         at folderswebdav.FoldersWebdavHandler.foldersWebdavPut(FoldersWebdavHandler.java:85)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at intradoc.common.IdcMethodHolder.invokeMethod(ClassHelperUtils.java:617)
         at intradoc.common.ClassHelperUtils.executeMethodReportStatus(ClassHelperUtils.java:293)
         at intradoc.server.ServiceHandler.executeAction(ServiceHandler.java:79)
         at intradoc.server.Service.doCodeEx(Service.java:490)
         at intradoc.server.Service.doCode(Service.java:472)
         at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1360)
         at intradoc.server.Service.doAction(Service.java:452)
         at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1201)
         at intradoc.server.Service.doActions(Service.java:447)
         at intradoc.server.ServiceRequestImplementor.executeActions(ServiceRequestImplementor.java:1121)
         at intradoc.server.Service.executeActions(Service.java:433)
         at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:635)
         at intradoc.server.Service.doRequest(Service.java:1707)
         at intradoc.server.ServiceManager.processCommand(ServiceManager.java:359)
         at intradoc.server.IdcServerThread.run(IdcServerThread.java:197)
    I am not able to figure it out why this exception is coming.

    I really don't see any problem with the code. The problem should be in this part of the code:
    DataBinder serviceBinder = new DataBinder();
    serviceBinder.putLocal("QueryText", "xUrlPageName <matches> `"urlPageName"`");
    serviceBinder.putLocal("IdcService", "GET_SEARCH_RESULTS");
    executeService(serviceBinder,"sysadmin",false);
    ResultSet results= serviceBinder.getResultSet("SearchResults");
    if(!results.isEmpty())
    // doing some processing here ..
    are you sure that the code that stays beyond "doing some processing" is not the problem?
    if "YES" try this one :
    DataBinder serviceBinder = new DataBinder();
    serviceBinder.setEnvironment(SharedObjects.getEnvironment());
    serviceBinder.putLocal("QueryText", "xUrlPageName <matches> `"urlPageName"`");
    serviceBinder.putLocal("IdcService", "GET_SEARCH_RESULTS");
    executeService(serviceBinder,"sysadmin",false);
    ResultSet results= serviceBinder.getResultSet("SearchResults");
    if(!results.isEmpty())
    // doing some processing here ..
    and the other part should be the same.
    I have many filters that execute services and process the results, but haven't had any problems.
    I don't think this will fix the problem , but you can try.
    Can you tell, which filter are you using and post the code that is beyond "doing some processing here .."?

  • NVL and replace date when date field is null from table

    I am trying to replace a field with a date default when it is null and it is not working
    I was wondering if someone could give me a clue to what I am doing wrong
    Here is the part of the select statement:
    NVL (o.mass_production_date__c, TO_DATE ('1900-01-01', 'yyyy-mm-dd')),
    It is not replacing a NULL value in o.mass_production_date__c if it is returning null
    o.mass_production_date__c is a DATE format field
    TIA,
    Mike

    Can you post the actual query and screen cature show it's not working.
    Most likely is because your data is not NULL but some empty string.
    The function should work just fine like following,
    TEST@rman> create table t1 (val date) ;
    Table created.
    TEST@rman> insert into t1 values (null);
    1 row created.
    TEST@rman> commit;
    Commit complete.
    TEST@rman> select * from t1;
    VAL
    TEST@rman> select nvl(val,TO_DATE ('1900-01-01', 'yyyy-mm-dd')) from t1;
    NVL(VAL,T
    01-JAN-00

  • Set oracle.jbo.domain.Date object to null

    Hi
    We have a case where we need to set a Date value to null.
    We have tried row.setCxdDate(null) and row.setCxdDate(new Date("")), but to no avail.
    When we call DBTransaction.commit() in the application module, all the other changes are persisted to the database, except for the date. No exceptions are generated at all.
    I have searched through these forums, and the only thing I have come up with, was that this was filed as a bug to be fixed in the 9.0.3 release; we are using 10.1.2!
    Does anyone know how to solve this?
    TIA
    Gareth

    It returned "1970-01-01"
    By the way I found that there is one method getTime() in oracle.jbo.domain.Date class
    http://otndnld.oracle.co.jp/document/products/as10g/101300/B25221_03/web.1013/b16007/oracle/jbo/domain/Date.html used in 10.3
    But could not find it while using in JDeveloper 11.1.1.3 <http://download.oracle.com/docs/cd/E17904_01/apirefs.1111/e10653/oracle/jbo/domain/Date.html>
    Edited by: Moinak on Mar 4, 2011 7:08 AM
    Edited by: Moinak on Mar 4, 2011 7:10 AM

  • ORA-01841 Error when value for date col is NULL in .dat (using SQL Loader)

    Hello Gurus,
    I have some data in .dat file which needs to be loaded into oracle table. I am using SQL * Loader to do the job. Although "NULLIF col_name =BLANKS" works for character datatype, but when value for date col is NULL then I get ORA-01841 error. I have to make NULL for all rows withour value for date column
    Early reply will be highly appreciated
    Farooq

    Hi,
    May be this problem is not with the NULLIF. The value for the date column is not in proper date format.
    create table:
    create table kk (empno number, ename varchar2(20), deptno number, hiredate date)
    Control file:
    LOAD DATA
    INFILE 'd:\kk\empdata.dat'
    insert into TABLE kk ( empno position (1:2) integer external,
    ename position(4:5) char NULLIF ename=BLANKS,
    deptno position (7:8) integer external NULLIF deptno=BLANKS,
    hiredate position (10:20) date NULLIF hiredate=BLANKS)
    data file:
    10 KK 01-jan-2005
    20 10
    SELECT * FROM KK;
    EMPNO ENAME DEPTNO HIREDATE
    10 KK 01-JAN-05
    20 10
    Verify the data file.
    Hope it will help

  • Error Spry.Data.XMLDataSet is null or not an object

    Hi
    I try to use a dataset and a repeat list on a site
    But it wont show the list in top. There are two javascript
    errors. One of them says Spry.Data.XMLDataSet is null or not an
    object
    Whats wrong

    This one was solved. I copied the files in SpryAsset from a
    new one, into the folder on this site. Then the problem was
    solved

  • Delete the records which have the Data values are NULL before load data to BPC model

    Hi Everyone,
    I am loading the data from flat file to BPC Model (10.0 Version).
    Source data (Flat file) looks like below:
    RP_Employee RPT_Currency Data
    Test                USD                   8
    Test1              USD
    Test2              USD                    6
    My user requirement is that to delete the records which have the Data values are NULL before load data to BPC model.
    So,Please let me know how can i meet to this requirement.
    I am thinking that,it is possible by using start routine BADi. If i am correct please let me know process like creation of class and BADi implementation.
    Thanks in advance!!

    Hi Nilanjan,
    Please see my source data below:
    Account      Client       Employee     Time                Data
    123              XYZ            Vishu            2014.01               300
    456                                                       2014.01
    789              ABC         Alexander      2014.02               200
    If you see the second record,
    If data value is ZULL,  then the Employee or another dimension is also NULL.
    So I want to delete second records.
    If it is Start routine please share the code and steps to do.
    Thanks in advance!!
    Regards,
    Viswanath

  • Query to return separate rows for date range including NULLs

    I'm trying to write a query that will return all customers from table 1. Table 1 also provides a start date and an end date that may be different for different customers. Left join with Table 2  provides all matches and NULL if NO matches.
    If there is any match at all, I do not get the NULLs for other dates. There should be a match for each date from start to end. How can I write the code so that my return will loop thru each date and provide the match or NULL?

    Sorry. I am somewhat new to this and am not sure what you are requesting. I receive a return of all customers with the code below but if customer 1 has a start date of 1/1/15 and a stop date of 1/5/15 and a document exists for 1/1/15 and 1/3/15
    I do not receive the rows with NUL for 1/2/15, 1/4/15, and 1/5/15 which is what I'm trying to accomplish. If there is no match at all, I only receive the one row with NULL and I would like to see a row for each date from start to stop.
    SELECT  T1.IDNumber,T1.StartDate,T1.StopDate,T3.SignDateTime
    FROM
    Table1 T1
    INNER
    JOIN Table2
    T2
    ON
    T1.CustID
    = T2.CustID
    LEFT
    JOIN Table3
    T3
    ON
    T1.CustID
    = T3.CustID
    WHERE
    T1.StartDate
    > '2015-01-20 00:00:00.000'
    AND
    (T3.ReportID
    IN ('DOC1',
    'DOC2',
    'DOC3') OR
    T3.ReportID
    IS NULL)
    AND
    T2.YesNo
    = 'Y'

  • Date Range and Null Values

    Post Author: mrae
    CA Forum: Formula
    I want to pull up data that have been completed for the month, but also want to include null values.  I did the following but didn't work.
    (isnull({wrhwr.date_completed}) or {wrhwr.date_completed} => 4/1/2008 12:00:00AM or =<4/30/2008 11:59:59PM
    Help, please?

    Post Author: SKodidine
    CA Forum: Formula
    Try:
    isnull({wrhwr.date_completed}) or {wrhwr.date_completed} IN datetime(2008,04,01,00,00,00) to datetime(2008,04,30,23,59,59)

  • Data Import defaulting Null date to system date

    I am trying to import Campaigns using Data Import, and when End Date is NULL it defaults to system date. Is there any way to avoid this default? Even when I don't "map" the End Date, it still defaults it.
    Thanks!

    This file will always populate itself what you have to try to do is establish what is a good date to put in this section. What i have done is created a System default to be today() + 14 this will mean that the end date will be roughly 14 days after it was created. This is then up to the person running the campaign to change if required.

  • Data automatically become null in Oracle 11g DB

    We setup an Oracle 11g database for our application. Yesterday I have noted that in a table Contract_Owner the effective date for the owner FQYX1 is 30-Oct-12. But all of a sudden it has become NULL today. Im not sure how it has changed from 30-Oct-12 to NULL.
    Any ideas/thoughts will be appreciated greatly ....
    Edited by: 959598 on Apr 18, 2013 2:03 AM

    Oracle wouldn't change a value to a NULL unless it is told to do so.
    It could have been a user , a developer, a power user / super user.
    It could have been application code.
    It could have been a trigger.
    It could have been a mistakenly-written update.
    It could have been a scheduled job or a one-off job.
    Hemant K Chitale

  • SQL Developer 1.5.4.59.40 doesn't display any data or only nulls

    Hi All,
    I've got a problem with SQL Developer after I downloaded the latest version *1.5.4.59.40*. SQLDev doesn't display any data or displays only few lines of nulls within information tabs: Column, DATA, Constraints, Grants, Stats, triggers and so on....
    Please see below screen shoots for details:
    !http://www.emarcel.com/%7Eemarcelc/emarcel/SQLDEV1.gif!
    And exception scratch:
    !http://www.emarcel.com/%7Eemarcelc/emarcel/exception1.gif!
    Note:
    When I'm using an old version 1.5.0.51 everything works fine. But you know I would like to upgrade to the latest build.
    Many Thanks for any help.
    Cheers!!

    The problem is solved by upgrading an oracle client_1 to 11g version,
    Apparently these are the files which have caused the problem in old version of the oracle client (10.2.0..):
    SQL Developer is using client's libs by default when it's installed for ex.:
    jdbc.driver.home     /D:/oracle/product/10.2.0/client_1/
    jdbc.library     /D:/oracle/product/10.2.0/client_1/jdbc/lib/ojdbc5.jar
    AND:
    orai18n.library     /D:/oracle/product/10.2.0/client_1/jlib/orai18n.jar
    above libs are not compatible with the latest version of SQLDeveloper.
    That's why the problem occurs.
    Jim,
    thanks for pointing me in the right direction. Cheers mate!!

  • FLEX- how to serialize date type to null in web service call

    Does anyone know how to get actionscript to render a null date value '000:00:00T00:00:00' into a SOAP xml structure? I am calling a commercial web service that exposes data structures. I use one of these data structures as a parameter to a method call in the web service. The data structure has about 12 date fields and I need most of them to be null in the resulting database. The WSDL/SOAP force me to populate these fields with a date type. I can't figure out how to populate a date variable with a NULL value. The closest value I can get is '1899-11-30T00:00:00Z'. Below is the code I am using:
    var dateStr:String = "0000-00-00T00:00:00+";
    var emptyDate:Date = DateUtil.parseW3CDTF(dateStr);
    newReqData.DateTimeInit = emptyDate;
    When calling this same web service with a .Net client, it automatically puts in the null date value of '000:00:00T00:00:00' into the xml for me, if I don't populate the date field in the data structure.
    Any help would be appreciated.

    Hi,
    Thanks frank.
    I already check this link before posting this so if you have any other link then kindly reply.
    Regards,
    Devang

  • JDBC DATE set to null?

    Hello,
    how do I update an existing DATE (e.g: 2003.01.03 00:00:00) to NULL in JDBC?
    my code:
    String sqlStatement = "UPDATE SET DATE = getPersonDate FROM PERSONS WHERE PERSONNUMBER = "+ getPersonNumber();
    DBLayer.execute(sqlStatement);
    Here it should be possible to set an existing date in the DB to NULL. How could I do this?
    Please help!

    String sqlStatement = "UPDATE SET DATE = NULL " +
        " FROM PERSONS WHERE PERSONNUMBER = " +  getPersonNumber();HTH
    Walk Good

  • Extract year from date and exclude Null

    I have a calculated column that will pull the year out of a date column:
    =TEXT([Date Impact Identified],"yyyy")
    This formula works fine but if the column is blank then it returns the value as 1899. I have tried several variations of ISBLANK or ="" but nothing has worked so far. I think I am putting the formula in the wrong order. Can anyone help?
    Thanks.

    Hello,
    In order to save you weeding through other threads, here's what should work in your scenario:
    =IF(ISBLANK([Date
    Impact Identified]),"",TEXT([Date
    Impact Identified],"yyyy"))
    cheers, teylyn

Maybe you are looking for