Basic anonymous block which drops and creates a table

Version: 11.2.0.3
I am fairly new to PL/SQL.
We have a table named CHK_CNFG_DTL.
I want to create a backup table for CHK_CNFG_DTL which will be named like CHK_CNFG_DTL_BKP_<timestamp> eg: CHK_CNFG_DTL_BKP_JULY_22_2013
Creation of this backup table has to be automated so, I want to create an anonymous block which will first drop the existing backup table and then create a new backup table from the original table.
The below code works fine. But the very first time when you run it , the loop won't iterate because there is no such table named CHK_CNFG_DTL_BKP%.
declare
v_stmt varchar2(1000);
v_date date;
begin
  for rec in
  (select * from user_tables where table_name like 'CHK_CNFG_DTL_BKP%' )
    loop
        begin
            execute immediate 'alter session set nls_date_format=''DD_MON_YYYY''';
            v_stmt := 'drop table '||rec.table_name|| ' purge';
            dbms_output.put_line(v_stmt);   ----- Drops Old backup table
            execute immediate v_stmt;
            select sysdate into v_date from dual;
            v_stmt := 'create table CHK_CNFG_DTL_BKP_'||to_date(v_date)||' as select * from CHK_CNFG_DTL';
            dbms_output.put_line('Creating Bkp table CHK_CNFG_DTL_BKP_'|| to_date(v_date) );
            dbms_output.put_line(v_stmt);
            execute immediate v_stmt;  --- Creates new Backup table
        exception
        when others
        then
        dbms_output.PUT_LINE (rec.table_name||'-'||sqlerrm);
        end;
    end loop;
end;
PL/SQL procedure successfully completed.
-- Backup table not created.
SQL> select table_name from user_Tables where table_name like 'CHK_CNFG_DTL%';
TABLE_NAME
CHK_CNFG_DTL
Of course, this can fixed by creating a table like bleow before executing the anonymous block
SQL> create table CHK_CNFG_DTL_BKP_JULY_22_2013 (x varchar2(37));
Table created.
and now the block will succesfully run like
24  end;
25  /
drop table CHK_CNFG_DTL_BKP_JULY_22_2013 purge
Creating Bkp table CHK_CNFG_DTL_BKP_22_JUL_2013
create table CHK_CNFG_DTL_BKP_22_JUL_2013 as select * from CHK_CNFG_DTL
PL/SQL procedure successfully completed.
But this is going to production . We can't a table like CHK_CNFG_DTL_BKP_JULY_22_2013 without a proper business reason.
How can I modify the above code so that if even if there is no such table like 'CHK_CNFG_DTL_BKP%' , it will proceed to create the backup table?

Hi,
Why won't you push the creation of the backup out of the loop ?
declare
v_stmt varchar2(1000);
v_date date;
begin
  for rec in
  (select * from user_tables where table_name like 'CHK_CNFG_DTL_BKP%' )
    loop
        begin
            execute immediate 'alter session set nls_date_format=''DD_MON_YYYY''';
            v_stmt := 'drop table '||rec.table_name|| ' purge';
            dbms_output.put_line(v_stmt);   ----- Drops Old backup table
            execute immediate v_stmt;
        exception
        when others
        then
        dbms_output.PUT_LINE (rec.table_name||'-'||sqlerrm);
        end;
    end loop;
            select sysdate into v_date from dual;
            v_stmt := 'create table CHK_CNFG_DTL_BKP_'||to_date(v_date)||' as select * from CHK_CNFG_DTL';
            dbms_output.put_line('Creating Bkp table CHK_CNFG_DTL_BKP_'|| to_date(v_date) );
            dbms_output.put_line(v_stmt);
            execute immediate v_stmt;  --- Creates new Backup table
end;

Similar Messages

  • How to create stored procedure to drop and create table

    Version: Oracle 10g
    I am trying to create a stored procedure that will drop and create a table based on a select statement. I can create the table but I can't drop it.
    CREATE OR REPLACE procedure EC_LOAD is
    begin
    INSERT INTO Sales_table
    (FSCL_WK,
    DIV,
    ACCT_TYPE)
    Select
    FSCL_WK,
    DIV,
    ACCT_TYPE
    from
    sales_revenue;
    end ecload;
    I need to drop Sales_table before inserting the values. How do i do this?

    Or with a drop:
    SQL> desc emp2
    ERROR:
    ORA-04043: object emp2 does not exist
    SQL>
    SQL> declare
      2    cnt      int := 0;
      3  begin
      4    select max (1)
      5      into cnt
      6      from user_tables
      7     where table_name = 'EMP2';
      8
      9    if cnt = 1
    10    then
    11      execute immediate 'drop table emp2';
    12    end if;
    13
    14    execute immediate 'create table emp2 as select * from emp';
    15  end;
    16  /
    PL/SQL procedure successfully completed.
    SQL>
    SQL> desc emp2
    Name                                      Null?    Type
    EMPNO                                              NUMBER(4)
    ENAME                                              VARCHAR2(10)
    JOB                                                VARCHAR2(9)
    MGR                                                NUMBER(4)
    HIREDATE                                           DATE
    SAL                                                NUMBER(7,2)
    COMM                                               NUMBER(7,2)
    DEPTNO                                             NUMBER(2)
    SQL>

  • Way to programmatically drop-and-create-tables?

    Hi all,
    I have a persistence unit which exists to provide lookup information to my application. It is populated by data that is available at runtime. It takes a long time to parse this data, and therefore my intention is to only parse it once at the deployment target. To do this, I have created a main method that does all the parsing, and I do not set the toplink.ddl-generation property in persistence.xml. This causes the application to fail if the database is not created.
    However, this means that during the population stage, I must drop and create any existing tables. I had thought it would be possible to do this by obtaining an EntityManagerFactory which has a property map sent to it, containing the property toplink.ddl-generation set to drop-and-create-tables. But this does not work... the tables are not dropped (if they exist) and are not created (if the database is empty).
    Is it possible to do the drop-and-create-tables programmatically using the JPA?
    I may have another EntityManagerFactory open at the same time, which has been opened with the default options... would this be conflicting?

    I don't think there is any easy way to generate the default tables once your have created the EntityManagerFactory. You could use the EclipseLink/TopLink schemaframework or TableCreator to create tables using a EclipseLink/TopLink DatabaseSession.
    There is a DefaultTableGenerator in org.eclipse.persistence.tools.schemaframework, which may give you what you are looking for.
    -- James : http://www.eclipselink.org

  • What is the difference between the drop and create the index and rebuild index ?

    Hi All,
    what is the difference between drop and create index & rebuild index ? i think both are same...Please clarify if both are same or any difference...
    Thanks in Advance,
    rup

    Both are same. Rebuilding an index drops and re-creates the index. 
    Ref:
    SSMS - https://technet.microsoft.com/en-us/library/ms187874(v=sql.105).aspx
    TSQL - https://msdn.microsoft.com/en-us/library/ms188388.aspx
    I would suggest you to also refer one of the best index maintenance script as below:
    https://ola.hallengren.com/sql-server-index-and-statistics-maintenance.html

  • Problem with Drag & Drop and multiselection in tables

    Hi,
    we have a problem concerning drag and drop and multiselection in tables. It is not possible to drag a multiselection of table rows, as the selection event is recognized or handled before the drag event. So before the drag starts, the selection will be changed and only a single row is selected at the position where you started the drag with a mouse click.
    There was also a java bug with the id 4521075 regarding this problem a couple of years ago. See http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4521075.
    This bug has been resolved but in our application we have not enabled drag by setting setDragEnabled(true) on the table as we have an own implementation of a DragSource (which is the table component), and a DragGestureRecognizer to control mimetype and data to be dragged.
    So my question is: Is there any solution for this case without calling setDragEnabled(true) on the table? Or is it possible to enable drag on the table and override some method where the drag recognition happens and the transferable object is created?
    Thanks,

    Thanks for reply,
    Steps to reproduce the problem:
    1) user clicks the ascending sorting icon in the table(the button get disabled after sorting the table).
    2) After sorting user drag and drop some row over another row.
    3) Now the table is no longer sorted.
    4) If user again wants to sort the table now, he cannot do it because the sorting button is still disabled.
    So I want the user to sort the table again, without refreshing the page
    Thanks and Regards,
    Tarun

  • How to drop and import the tables

    i got some tables that need to be dropped and recreated.It has got a PK with on delete cascade constraint.I need to drop and import those tables.How can i ddo this.
    Can i diable the constraints on these tables and import?

    Well, in that case I would not drop the user! Another thing to consider would be an import into temp/staging tables and then merging into the target tables. You would need to order so that RI constraints would not fire. The nice thing about this is that you could still use the tables as you were loading.

  • Newbie: dropping and creating an identical user

    Oracle 10g
    Hi: I need to drop and recreate the user. This is what I had from my previous notes.
    1. how do I figure out what is the current default tablespace
    2. how do I figure out the current temporary tablespace?
    3. the table space and temporary table space get deleted when I drop the user. if Yes, Is it possible some other user's default tablespace and temporary tablespace is the same as well.
    Drop user systems cascade;
    CREATE USER SYSTEMS
      IDENTIFIED BY VALUES 'Test123'
      DEFAULT TABLESPACE USERS
      TEMPORARY TABLESPACE TEMPts1
      PROFILE DEFAULT
      ACCOUNT UNLOCK;
    /

    When I do a "SELECT DBMS_METADATA.GET_DDL('USER', 'Test123') || '/' DDL FROM DBA_USERS;", I get 34 rows. What does that mean. They all look identical.
    SELECT DBMS_METADATA.GET_DDL('USER', 'Test123') || '/' DDL FROM DBA_USERS;
       CREATE USER "Test123" IDENTIFIED BY VALUES 'F42EB0B11017F065'
          DEFAULT TABLESPACE "ARSYSTEM"
          TEMPORARY TABLESPACE "TEMP"
       CREATE USER "Test123" IDENTIFIED BY VALUES 'F42EB0B11017F065'
          DEFAULT TABLESPACE "ARSYSTEM"
          TEMPORARY TABLESPACE "TEMP"
       CREATE USER "Test123" IDENTIFIED BY VALUES 'F42EB0B11017F065'
          DEFAULT TABLESPACE "ARSYSTEM"
          TEMPORARY TABLESPACE "TEMP"
       CREATE USER "Test123" IDENTIFIED BY VALUES 'F42EB0B11017F065'
          DEFAULT TABLESPACE "ARSYSTEM"
          TEMPORARY TABLESPACE "TEMP"
       CREATE USER "Test123" IDENTIFIED BY VALUES 'F42EB0B11017F065'
          DEFAULT TABLESPACE "ARSYSTEM"
          TEMPORARY TABLESPACE "TEMP"
       CREATE USER "Test123" IDENTIFIED BY VALUES 'F42EB0B11017F065'
          DEFAULT TABLESPACE "ARSYSTEM"
          TEMPORARY TABLESPACE "TEMP"
       CREATE USER "Test123" IDENTIFIED BY VALUES 'F42EB0B11017F065'
          DEFAULT TABLESPACE "ARSYSTEM"
          TEMPORARY TABLESPACE "TEMP"
       CREATE USER "Test123" IDENTIFIED BY VALUES 'F42EB0B11017F065'
          DEFAULT TABLESPACE "ARSYSTEM"
          TEMPORARY TABLESPACE "TEMP"
       CREATE USER "Test123" IDENTIFIED BY VALUES 'F42EB0B11017F065'
          DEFAULT TABLESPACE "ARSYSTEM"
          TEMPORARY TABLESPACE "TEMP"
       CREATE USER "Test123" IDENTIFIED BY VALUES 'F42EB0B11017F065'
          DEFAULT TABLESPACE "ARSYSTEM"
          TEMPORARY TABLESPACE "TEMP"
       CREATE USER "Test123" IDENTIFIED BY VALUES 'F42EB0B11017F065'
          DEFAULT TABLESPACE "ARSYSTEM"
          TEMPORARY TABLESPACE "TEMP"
       CREATE USER "Test123" IDENTIFIED BY VALUES 'F42EB0B11017F065'
          DEFAULT TABLESPACE "ARSYSTEM"
          TEMPORARY TABLESPACE "TEMP"
       CREATE USER "Test123" IDENTIFIED BY VALUES 'F42EB0B11017F065'
          DEFAULT TABLESPACE "ARSYSTEM"
          TEMPORARY TABLESPACE "TEMP"
       CREATE USER "Test123" IDENTIFIED BY VALUES 'F42EB0B11017F065'
          DEFAULT TABLESPACE "ARSYSTEM"
          TEMPORARY TABLESPACE "TEMP"
       CREATE USER "Test123" IDENTIFIED BY VALUES 'F42EB0B11017F065'
          DEFAULT TABLESPACE "ARSYSTEM"
          TEMPORARY TABLESPACE "TEMP"
       CREATE USER "Test123" IDENTIFIED BY VALUES 'F42EB0B11017F065'
          DEFAULT TABLESPACE "ARSYSTEM"
          TEMPORARY TABLESPACE "TEMP"
       CREATE USER "Test123" IDENTIFIED BY VALUES 'F42EB0B11017F065'
          DEFAULT TABLESPACE "ARSYSTEM"
          TEMPORARY TABLESPACE "TEMP"
       CREATE USER "Test123" IDENTIFIED BY VALUES 'F42EB0B11017F065'
          DEFAULT TABLESPACE "ARSYSTEM"
          TEMPORARY TABLESPACE "TEMP"
       CREATE USER "Test123" IDENTIFIED BY VALUES 'F42EB0B11017F065'
          DEFAULT TABLESPACE "ARSYSTEM"
          TEMPORARY TABLESPACE "TEMP"
       CREATE USER "Test123" IDENTIFIED BY VALUES 'F42EB0B11017F065'
          DEFAULT TABLESPACE "ARSYSTEM"
          TEMPORARY TABLESPACE "TEMP"
       CREATE USER "Test123" IDENTIFIED BY VALUES 'F42EB0B11017F065'
          DEFAULT TABLESPACE "ARSYSTEM"
          TEMPORARY TABLESPACE "TEMP"
       CREATE USER "Test123" IDENTIFIED BY VALUES 'F42EB0B11017F065'
          DEFAULT TABLESPACE "ARSYSTEM"
          TEMPORARY TABLESPACE "TEMP"
       CREATE USER "Test123" IDENTIFIED BY VALUES 'F42EB0B11017F065'
          DEFAULT TABLESPACE "ARSYSTEM"
          TEMPORARY TABLESPACE "TEMP"
    34 rows selected.

  • Anonymous Block with Variable and SELECT

    Hi Guys,
    I am struggling to connect the material I am learning. I read about anonymous blocks and variables so I want to write a
    nice and neat select with all the fancy stuff (variables, exceptions) to get it right and to it as I read in the book.
    DECLARE
    MYSTRING VARCHAR(10);
    MYSTIRNG := 'X';     
    BEGIN
    SELECT * FROM DUAL WHERE DUMMY = MYSTRING
    END;
    but....this causes one error after the other. Am I getting the concept wrong here or is it a syntax error?

    cant I just get the result without using variable to store the result in the first place???Perhaps you're better off using a REF CURSOR (a.k.a. cursor variable).
    That way you'll pass a resultset to the caller and you don't need any variables to select into.
    You can read about them here:
    http://www.oracle-base.com/articles/misc/UsingRefCursorsToReturnRecordsets.php
    Re: PL/SQL 101 : Understanding Ref Cursors
    http://download.oracle.com/docs/cd/E11882_01/appdev.112/e10766/tdddg_subprograms.htm#TDDDG99939

  • Drop and create tablespace for users

    I am using Oracle 8i. I have created some users and, assigned the default & temporary tablespace to them.
    I would like to drop and re-create the temporary tablespace, should I assign the tablespace to users again?
    my script for creation of users:
    CREATE USER USER01 IDENTIFIED BY ABC
    DEFAULT TABLESPACE WEB_DATA
    TEMPORARY TABLESPACE TEMPORARY_DATA
    PROFILE DEFAULT;

    Hi,
    I would like to drop and re-create the temporary tablespace, should I assign the
    tablespace to users again?If temp tbs is not in usage, you can drop and recreate it without reassign. Users keep this one.
    Nicolas.

  • Script task to read the column names dynamically and create a table in database based on excel column structure

    Hello,
    Can anyone help me out to write a vb.net script.
    I need to read the column names from excel and based on that column names I need to create a table in database(I have more than one sheet in excel).
    For each sheet columns will be changing and should create a table dynamically for each sheet.
    Any help would be appreciated.

    Refer the below script to read columns in each sheet.
    Dim excelfile As String = Dts.Variables("ExcelPath").Value.ToString
    Dim connectionstring As String = "Provider=Microsoft.Jet.OLEDB.4.0;" +
    "Data Source=" + excelfile + ";Extended Properties=Excel 8.0"
    Dim oledbcon As New OleDb.OleDbConnection(connectionstring)
    oledbcon.Open()
    Dim dt As DataTable
    Dim schemaTable As DataTable
    Dim OLEDBCMD As New OleDb.OleDbCommand
    Dim oledbdatareader As OleDb.OleDbDataReader
    Dim columns As String = ""
    dt = oledbcon.GetSchema("Tables")
    Dim TABCOMMAND(20) As String
    Dim TABCOUNT As Integer = 0
    For Each row As DataRow In dt.Rows
    TABCOMMAND(TABCOUNT) = "SELECT * FROM [" & row.Item("TABLE_NAME").ToString & "]"
    OLEDBCMD.CommandText = TABCOMMAND(TABCOUNT)
    OLEDBCMD.Connection = oledbcon
    oledbdatareader = OLEDBCMD.ExecuteReader(CommandBehavior.KeyInfo)
    schemaTable = oledbdatareader.GetSchemaTable()
    For Each myfield As DataRow In schemaTable.Rows
    For Each myproperty As DataColumn In schemaTable.Columns
    If myproperty.ColumnName = "ColumnName" Then
    columns = columns & myfield(myproperty).ToString & ","
    MsgBox(myfield(myproperty).ToString)
    End If
    Next
    Next
    oledbdatareader.Close()
    OLEDBCMD.Dispose()
    Next
    oledbcon.Close()
    Regards, RSingh

  • Import an excel file into SQL Developer and create a table

    Hello everyone!
    I have an Excel file I want to Import into SQL Developer. Do I need to Create a table first than import the file into the table?
    Or is there a way to import an Excel file and it automatically generate or turn into a table?
    I would really appreciate any directions or explanations.
    Thanks everyone!
    Java Man

    Joyce Scapicchio wrote:
    I suspect that you are having memory problems opening the excel file. This is a known issue with excel files for importing and exporting. Check this post for suggestions:
    Re: Export to Excel Hangs to Excel Hangs ]
    Joyce Scapicchio
    SQLDeveloper TeamThanks for the reply but the problem was I needed to convert the file to a csv format. To do this open the file in Excel and re-save as CSV Comma Delimiter. Don't worry about data-types because when the file is uploaded to SQL Developer, you will have the chance to set all the parameters, data-types and so on.
    Once I did this and try opening the file, the setup window opened and I was able to do all the additional tweaking and convert the data to a table.
    Because of this I am speculating that SQL Developer does not work with Excel XLSX extension.
    Thanks again!
    JM

  • Problem with editable combo box and creating dynamic table values using js

    Hai
    I have used jquery.jec.js to make my dropdown list as editable... I need to create dynamic table values on the onChange event of dropdown using javascript.
    Now am facing the problem in it...
    I am getting duplicate rows in the table... think(assumption) this jquery.jec.js is calling the dropdown again creating duplicate values...
    Please help me out.... Any help is appreciable... Thanks in advance

    Thanks elOpalo, for your valuable response....
    I have found the correct way of doing.
    Before i had my code like this,
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>test</title>
    <script type="text/javascript" src="js/jquery-latest.js"></script>
    <script type="text/javascript" src="js/jquery.jec.js"></script>
    <script type="text/javascript">
    $(function(){
    $('#list').jec();
    function giveAlert(){
         alert('hello');
    </script>
    </head>
    <body>
    <form>
    Combo Box:
    <select id="list" name="list" onChange="giveAlert();">
    <option value="1">one</option>
    <option value="2">two</option>
    </select>
    </form>
    </body>
    </html>
    Now i have changed as the following,
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>test</title>
    <script type="text/javascript" src="js/jquery-latest.js"></script>
    <script type="text/javascript" src="js/jquery.jec.js"></script>
    <script type="text/javascript">
    $(function(){
    $('select.combo').jec();
    $('select.combo')
    .change(function() {
    alert($(this).val());
    }).change();
    </script>
    </head>
    <body>
    <form>
    <table>
    <tr>
    <td>Combo Box:</td>
    <td><select class="combo"><option value="b">banana</option><option value="a">apple</option></select></td>
    </tr>
    </table>
    </form>
    </body>
    </html>
    The problem is with the function i have called on the onChange Event.. Now i have defined it inside the jquery function of dropdown to make it as editable...

  • How to create one procedure which can drop and create materialized view

    Hi,
    I want to create one pl/sql procedure which can first drop materialized view CATEGORY_PK and after that create same materialized view CATEGORY_PK.
    programme is as follows:
    DROP MATERIALIZED VIEW CATEGORY_PK;
    CREATE MATERIALIZED VIEW CATEGORY_PK REFRESH FORCE WITH PRIMARY KEY AS
    SELECT cav1.ownerid AS categoryid, p.uuid AS productid ,p.domainID AS productdomainid,pav.stringvalue AS NAME
         ,pav2.stringvalue AS ID, pav3.stringvalue AS SHORT
    FROM product p, product_av pav, catalogcategory_av cav1, catalogcategory_av cav2,product_av pav2,product_av pav3
    WHERE
    cav1.NAME = 'PRODUCT_BINDING_ATTRIBUTE' AND
    cav2.NAME = 'PRODUCT_BINDING_VALUE' AND
    cav1.ownerid = cav2.ownerid AND
    p.uuid = pav.ownerid AND
              p.uuid = pav2.ownerid AND
              p.uuid = pav3.ownerid AND
    pav.NAME = cav1.stringvalue AND
              pav2.NAME = cav1.stringvalue AND
              pav2.NAME = cav1.stringvalue AND
    pav.stringvalue = cav2.stringvalue AND
              pav2.stringvalue = cav2.stringvalue AND
              pav3.stringvalue = cav2.stringvalue
    UNION
    SELECT catalogcategoryid AS categoryid, productid, repdomainid AS productdomainid,pav1.stringvalue AS NAME
         ,pav2.stringvalue AS ID, pav3.stringvalue AS SHORT
    FROM productcategoryassignment ,product_av pav1,product_av pav2,product_av pav3
         WHERE pav1.ownerid=productid
         AND pav2.ownerid=productid
         AND pav3.ownerid=productid
         AND pav1.NAME='name'
         AND pav2.NAME='productID'
         AND pav3.NAME='shortDescription';

    user498566 wrote:
    I want to create one pl/sql procedure which can first drop materialized view CATEGORY_PK and after that create same materialized view CATEGORY_PK.That sounds like a waste of time and resources. What do you hope to achieve by this? A refresh? If so, a simple refresh of the old materialized view will do.
    If you truly want to continue this road, you'll have to use the EXECUTE IMMEDIATE command to execute DDL commands from within PL/SQL.
    Regards,
    Rob.

  • BI Publisher Template Builder for Word 10.1.3.4.1 and Creating Pivot Table

    I'm new to BI (XML) Publisher and Pivot Tables.  I have XDO Engine version 5.6.3 and Template builder 10.1.3.4.1.  I creates a Word 2010 RTF template containing a pivot table.  When I preview in Word, it displays.  When I execute the Concurrent Request in Oracle 11, it ends with an error.
    I see this error in the log.  I'm assuming I forgot to do something or did it incorrectly.
    Caused by: oracle.xdo.parser.v2.XPathException: Namespace prefix 'crosstab' used but not declared.
    What am I doing incorrectly?  How do I resolve?
    The log follows:
    [8/20/13 1:17:19 AM] [main] Starting GSF service with concurrent process id = 276776.
    [8/20/13 1:17:19 AM] [main] Initialization Parameters: oracle.apps.fnd.cp.opp.OPPServiceThread:2:0:max_threads=5
    [8/20/13 1:17:20 AM] [Thread-21] Service thread starting up.
    [8/20/13 1:17:20 AM] [Thread-22] Service thread starting up.
    [8/20/13 7:51:58 AM] [OPPServiceThread0] Post-processing request 50656205.
    [8/20/13 7:51:58 AM] [276776:RT50656205] Executing post-processing actions for request 50656205.
    [8/20/13 7:51:58 AM] [276776:RT50656205] Starting XML Publisher post-processing action.
    [8/20/13 7:51:58 AM] [276776:RT50656205]
    Template code: Test_Head_Count
    Template app:  CPER
    Language:      en
    Territory:     00
    Output type:   null
    [082013_075159593][][EXCEPTION] [DEBUG] ------- Preferences defined PreferenceStore -------
    [082013_075159594][][EXCEPTION] [DEBUG] ------- Environment variables stored in EnvironmentStore -------
    [082013_075159594][][EXCEPTION] [DEBUG]  [FND_JDBC_IDLE_THRESHOLD.LOW]:[-1]
    [082013_075159594][][EXCEPTION] [DEBUG]  [SECURITY_GROUP_ID]:[0]
    [082013_075159595][][EXCEPTION] [DEBUG]  [FND_JDBC_BUFFER_DECAY_INTERVAL]:[300]
    [082013_075159595][][EXCEPTION] [DEBUG]  [NLS_CHARACTERSET]:[UTF8]
    [082013_075159596][][EXCEPTION] [DEBUG]  [RESP_APPL_ID]:[-1]
    [082013_075159596][][EXCEPTION] [DEBUG]  [NLS_LANGUAGE]:[AMERICAN]
    [082013_075159596][][EXCEPTION] [DEBUG]  [FND_JDBC_BUFFER_MIN]:[1]
    [082013_075159596][][EXCEPTION] [DEBUG]  [FND_JDBC_BUFFER_MAX]:[2]
    [082013_075159596][][EXCEPTION] [DEBUG]  [NLS_NUMERIC_CHARACTERS]:[.,]
    [082013_075159596][][EXCEPTION] [DEBUG]  [APPS_JDBC_URL]:[jdbc:oracle:thin:@(DESCRIPTION=(LOAD_BALANCE=YES)(FAILOVER=YES)(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=dtw-oadevdb.nasa.cpwr.corp)(PORT=1554)))(CONNECT_DATA=(SERVICE_NAME=udv1)))]
    [082013_075159596][][EXCEPTION] [DEBUG]  [RESP_ID]:[-1]
    [082013_075159596][][EXCEPTION] [DEBUG]  [FND_MAX_JDBC_CONNECTIONS]:[500]
    [082013_075159596][][EXCEPTION] [DEBUG]  [FND_JDBC_USABLE_CHECK]:[false]
    [082013_075159596][][EXCEPTION] [DEBUG]  [USER_ID]:[-1]
    [082013_075159596][][EXCEPTION] [DEBUG]  [NLS_TERRITORY]:[AMERICA]
    [082013_075159596][][EXCEPTION] [DEBUG]  [FND_JDBC_PLSQL_RESET]:[false]
    [082013_075159596][][EXCEPTION] [DEBUG]  [FND_JDBC_CONTEXT_CHECK]:[true]
    [082013_075159597][][EXCEPTION] [DEBUG]  [NLS_DATE_FORMAT]:[DD-MON-RR]
    [082013_075159597][][EXCEPTION] [DEBUG]  [FND_JDBC_BUFFER_DECAY_SIZE]:[5]
    [082013_075159597][][EXCEPTION] [DEBUG]  [FND_JDBC_IDLE_THRESHOLD.HIGH]:[-1]
    [082013_075159597][][EXCEPTION] [DEBUG]  [NLS_SORT]:[BINARY]
    [082013_075159597][][EXCEPTION] [DEBUG]  [NLS_DATE_LANGUAGE]:[AMERICAN]
    [082013_075159597][][EXCEPTION] [DEBUG]  [LOGIN_ID]:[-1]
    [082013_075159597][][EXCEPTION] [DEBUG] ------- Properties stored in Java System Properties -------
    [082013_075159597][][EXCEPTION] [DEBUG]  [APPLTMP]:[/oracle/appl/udv1comn/temp]
    [082013_075159597][][EXCEPTION] [DEBUG]  [java.runtime.name]:[Java(TM) SE Runtime Environment]
    [082013_075159597][][EXCEPTION] [DEBUG]  [sun.boot.library.path]:[/oracle/appl/jdk1.6.0_24/jre/lib/sparc]
    [082013_075159597][][EXCEPTION] [DEBUG]  [java.vm.version]:[19.1-b02]
    [082013_075159597][][EXCEPTION] [DEBUG]  [OVERRIDE_DBC]:[true]
    [082013_075159598][][EXCEPTION] [DEBUG]  [dbcfile]:[/oracle/appl/udv1appl/fnd/11.5.0/secure/dtw-oadevdb_udv1.dbc]
    [082013_075159598][][EXCEPTION] [DEBUG]  [java.vm.vendor]:[Sun Microsystems Inc.]
    [082013_075159598][][EXCEPTION] [DEBUG]  [java.vendor.url]:[http://java.sun.com/]
    [082013_075159598][][EXCEPTION] [DEBUG]  [path.separator]:[:]
    [082013_075159598][][EXCEPTION] [DEBUG]  [APPLCSF]:[/oracle/appl/udv1comn/admin]
    [082013_075159598][][EXCEPTION] [DEBUG]  [java.vm.name]:[Java HotSpot(TM) Server VM]
    [082013_075159598][][EXCEPTION] [DEBUG]  [file.encoding.pkg]:[sun.io]
    [082013_075159598][][EXCEPTION] [DEBUG]  [sun.java.launcher]:[SUN_STANDARD]
    [082013_075159598][][EXCEPTION] [DEBUG]  [sun.os.patch.level]:[unknown]
    [082013_075159598][][EXCEPTION] [DEBUG]  [java.vm.specification.name]:[Java Virtual Machine Specification]
    [082013_075159598][][EXCEPTION] [DEBUG]  [user.dir]:[/oracle/appl/udv1comn/admin/log/udv1_dtw-oadevdb]
    [082013_075159598][][EXCEPTION] [DEBUG]  [java.runtime.version]:[1.6.0_24-b07]
    [082013_075159598][][EXCEPTION] [DEBUG]  [java.awt.graphicsenv]:[sun.awt.X11GraphicsEnvironment]
    [082013_075159599][][EXCEPTION] [DEBUG]  [java.endorsed.dirs]:[/oracle/appl/jdk1.6.0_24/jre/lib/endorsed]
    [082013_075159599][][EXCEPTION] [DEBUG]  [os.arch]:[sparc]
    [082013_075159599][][EXCEPTION] [DEBUG]  [JTFDBCFILE]:[/oracle/appl/udv1appl/fnd/11.5.0/secure/dtw-oadevdb_udv1.dbc]
    [082013_075159599][][EXCEPTION] [DEBUG]  [java.io.tmpdir]:[/var/tmp/]
    [082013_075159599][][EXCEPTION] [DEBUG]  [line.separator]:[
    [082013_075159599][][EXCEPTION] [DEBUG]  [java.vm.specification.vendor]:[Sun Microsystems Inc.]
    [082013_075159599][][EXCEPTION] [DEBUG]  [os.name]:[SunOS]
    [082013_075159599][][EXCEPTION] [DEBUG]  [FND_JDBC_BUFFER_MIN]:[1]
    [082013_075159599][][EXCEPTION] [DEBUG]  [cpid]:[276776]
    [082013_075159599][][EXCEPTION] [DEBUG]  [sun.jnu.encoding]:[ISO646-US]
    [082013_075159599][][EXCEPTION] [DEBUG]  [java.library.path]:[/oracle/appl/jdk1.6.0_24/jre/lib/sparc/server:/oracle/appl/jdk1.6.0_24/jre/lib/sparc:/oracle/appl/jdk1.6.0_24/jre/../lib/sparc:/oracle/appl/udv1ora/iAS/lib:/oracle/appl/udv1ora/8.0.6/network/jre11/lib/sparc/native_threads:/oracle/appl/udv1appl/cz/11.5.0/bin:/oracle/appl/udv1ora/8.0.6/lib:/usr/dt/lib:/usr/openwin/lib:/usr/jdk/packages/lib/sparc:/lib:/usr/lib]
    [082013_075159599][][EXCEPTION] [DEBUG]  [java.specification.name]:[Java Platform API Specification]
    [082013_075159599][][EXCEPTION] [DEBUG]  [java.class.version]:[50.0]
    [082013_075159600][][EXCEPTION] [DEBUG]  [sun.management.compiler]:[HotSpot Tiered Compilers]
    [082013_075159600][][EXCEPTION] [DEBUG]  [os.version]:[5.10]
    [082013_075159600][][EXCEPTION] [DEBUG]  [LONG_RUNNING_JVM]:[true]
    [082013_075159600][][EXCEPTION] [DEBUG]  [user.home]:[/oracle/home/applmgr]
    [082013_075159600][][EXCEPTION] [DEBUG]  [user.timezone]:[US/Eastern]
    [082013_075159600][][EXCEPTION] [DEBUG]  [java.awt.printerjob]:[sun.print.PSPrinterJob]
    [082013_075159600][][EXCEPTION] [DEBUG]  [file.encoding]:[ISO646-US]
    [082013_075159600][][EXCEPTION] [DEBUG]  [java.specification.version]:[1.6]
    [082013_075159600][][EXCEPTION] [DEBUG]  [CACHEMODE]:[DISTRIBUTED]
    [082013_075159600][][EXCEPTION] [DEBUG]  [java.class.path]:[/oracle/appl/j2sdk1624/jre/lib/rt.jar:/oracle/appl/j2sdk1624/lib/dt.jar:/oracle/appl/j2sdk1624/lib/tools.jar:/oracle/appl/j2sdk1624/jre/lib/charsets.jar:/oracle/appl/udv1comn/java/appsborg2.zip:/oracle/appl/udv1ora/8.0.6/forms60/java:/oracle/appl/udv1comn/java]
    [082013_075159600][][EXCEPTION] [DEBUG]  [user.name]:[applmgr]
    [082013_075159600][][EXCEPTION] [DEBUG]  [DBCFILE]:[/oracle/appl/udv1appl/fnd/11.5.0/secure/dtw-oadevdb_udv1.dbc]
    [082013_075159601][][EXCEPTION] [DEBUG]  [java.vm.specification.version]:[1.0]
    [082013_075159601][][EXCEPTION] [DEBUG]  [java.home]:[/oracle/appl/jdk1.6.0_24/jre]
    [082013_075159601][][EXCEPTION] [DEBUG]  [sun.arch.data.model]:[32]
    [082013_075159601][][EXCEPTION] [DEBUG]  [user.language]:[en]
    [082013_075159601][][EXCEPTION] [DEBUG]  [java.specification.vendor]:[Sun Microsystems Inc.]
    [082013_075159601][][EXCEPTION] [DEBUG]  [java.vm.info]:[mixed mode]
    [082013_075159601][][EXCEPTION] [DEBUG]  [logfile]:[/oracle/appl/udv1comn/admin/log/udv1_dtw-oadevdb/FNDOPP276776.txt]
    [082013_075159601][][EXCEPTION] [DEBUG]  [java.version]:[1.6.0_24]
    [082013_075159601][][EXCEPTION] [DEBUG]  [java.ext.dirs]:[/oracle/appl/jdk1.6.0_24/jre/lib/ext:/usr/jdk/packages/lib/ext]
    [082013_075159601][][EXCEPTION] [DEBUG]  [sun.boot.class.path]:[/oracle/appl/jdk1.6.0_24/jre/lib/resources.jar:/oracle/appl/jdk1.6.0_24/jre/lib/rt.jar:/oracle/appl/jdk1.6.0_24/jre/lib/sunrsasign.jar:/oracle/appl/jdk1.6.0_24/jre/lib/jsse.jar:/oracle/appl/jdk1.6.0_24/jre/lib/jce.jar:/oracle/appl/jdk1.6.0_24/jre/lib/charsets.jar:/oracle/appl/jdk1.6.0_24/jre/lib/modules/jdk.boot.jar:/oracle/appl/jdk1.6.0_24/jre/classes]
    [082013_075159601][][EXCEPTION] [DEBUG]  [java.vendor]:[Sun Microsystems Inc.]
    [082013_075159601][][EXCEPTION] [DEBUG]  [FND_JDBC_BUFFER_MAX]:[2]
    [082013_075159601][][EXCEPTION] [DEBUG]  [file.separator]:[/]
    [082013_075159602][][EXCEPTION] [DEBUG]  [java.vendor.url.bug]:[http://java.sun.com/cgi-bin/bugreport.cgi]
    [082013_075159602][][EXCEPTION] [DEBUG]  [sun.io.unicode.encoding]:[UnicodeBig]
    [082013_075159602][][EXCEPTION] [DEBUG]  [sun.cpu.endian]:[big]
    [082013_075159602][][EXCEPTION] [DEBUG]  [APPLOUT]:[out/udv1_dtw-oadevdb]
    [082013_075159602][][EXCEPTION] [DEBUG]  [sun.cpu.isalist]:[]
    BI Beans Graph version [3.1.0.82]
    Tue Aug 20 07:52:06 EDT 2013 PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: no column labels: column index 0
    Tue Aug 20 07:52:06 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: MetadataMap.METADATA_DRILLSTATE
    Tue Aug 20 07:52:06 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: MetadataMap.METADATA_VALUE
    Tue Aug 20 07:52:06 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: LayerMetadata.LAYER_METADATA_NAME
    Tue Aug 20 07:52:06 EDT 2013 PROBLEM: In oracle.dss.graph.BILabelLayout::logTruncatedError: legend text truncated
    BI Beans Graph version [3.1.0.82]
    Tue Aug 20 07:52:07 EDT 2013 PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: no column labels: column index 0
    Tue Aug 20 07:52:07 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: MetadataMap.METADATA_DRILLSTATE
    Tue Aug 20 07:52:07 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: MetadataMap.METADATA_VALUE
    Tue Aug 20 07:52:07 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: LayerMetadata.LAYER_METADATA_NAME
    Tue Aug 20 07:52:07 EDT 2013 PROBLEM: In oracle.dss.graph.BILabelLayout::logTruncatedError: legend text truncated
    BI Beans Graph version [3.1.0.82]
    Tue Aug 20 07:52:07 EDT 2013 PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: no column labels: column index 0
    Tue Aug 20 07:52:07 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: MetadataMap.METADATA_DRILLSTATE
    Tue Aug 20 07:52:07 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: MetadataMap.METADATA_VALUE
    Tue Aug 20 07:52:07 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: LayerMetadata.LAYER_METADATA_NAME
    BI Beans Graph version [3.1.0.82]
    Tue Aug 20 07:52:08 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: MetadataMap.METADATA_DRILLSTATE
    Tue Aug 20 07:52:08 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: MetadataMap.METADATA_VALUE
    Tue Aug 20 07:52:08 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: LayerMetadata.LAYER_METADATA_NAME
    BI Beans Graph version [3.1.0.82]
    Tue Aug 20 07:52:08 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: MetadataMap.METADATA_DRILLSTATE
    Tue Aug 20 07:52:08 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: MetadataMap.METADATA_VALUE
    Tue Aug 20 07:52:08 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: LayerMetadata.LAYER_METADATA_NAME
    [8/20/13 7:52:17 AM] [UNEXPECTED] [276776:RT50656205] java.sql.SQLException: ORA-01400: cannot insert NULL into ("APPLSYS"."FND_CONC_REQ_OUTPUTS"."FILE_TYPE")
      at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.updateOutputTable(XMLPublisherProcessor.java:516)
      at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:329)
      at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:157)
    [8/20/13 7:52:17 AM] [276776:RT50656205] Completed post-processing actions for request 50656205.
    [8/20/13 8:46:00 AM] [OPPServiceThread1] Post-processing request 50656325.
    [8/20/13 8:46:00 AM] [276776:RT50656325] Executing post-processing actions for request 50656325.
    [8/20/13 8:46:00 AM] [276776:RT50656325] Starting XML Publisher post-processing action.
    [8/20/13 8:46:00 AM] [276776:RT50656325]
    Template code: Test_Head_Count
    Template app:  CPER
    Language:      en
    Territory:     00
    Output type:   null
    [8/20/13 8:46:01 AM] [UNEXPECTED] [276776:RT50656325] java.lang.reflect.InvocationTargetException
      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:597)
      at oracle.apps.xdo.common.xml.XSLT10gR1.invokeNewXSLStylesheet(XSLT10gR1.java:607)
      at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:235)
      at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:182)
      at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1044)
      at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:997)
      at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
      at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1665)
      at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:975)
      at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5926)
      at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3458)
      at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3547)
      at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:290)
      at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:157)
    Caused by: oracle.xdo.parser.v2.XPathException: Namespace prefix 'crosstab' used but not declared.
      at oracle.xdo.parser.v2.XSLProcessor.reportException(XSLProcessor.java:806)
      at oracle.xdo.parser.v2.XSLProcessor.newXSLStylesheet(XSLProcessor.java:571)
      ... 17 more
    [8/20/13 8:46:01 AM] [276776:RT50656325] Completed post-processing actions for request 50656325.
    [8/20/13 9:15:08 AM] [OPPServiceThread0] Post-processing request 50656367.
    [8/20/13 9:15:08 AM] [276776:RT50656367] Executing post-processing actions for request 50656367.
    [8/20/13 9:15:08 AM] [276776:RT50656367] Starting XML Publisher post-processing action.
    [8/20/13 9:15:08 AM] [276776:RT50656367]
    Template code: Test_Head_Count
    Template app:  CPER
    Language:      en
    Territory:     00
    Output type:   PDF
    [8/20/13 9:15:09 AM] [UNEXPECTED] [276776:RT50656367] java.lang.reflect.InvocationTargetException
      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:597)
      at oracle.apps.xdo.common.xml.XSLT10gR1.invokeNewXSLStylesheet(XSLT10gR1.java:607)
      at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:235)
      at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:182)
      at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1044)
      at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:997)
      at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
      at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1665)
      at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:975)
      at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5926)
      at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3458)
      at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3547)
      at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:290)
      at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:157)
    Caused by: oracle.xdo.parser.v2.XPathException: Namespace prefix 'crosstab' used but not declared.
      at oracle.xdo.parser.v2.XSLProcessor.reportException(XSLProcessor.java:806)
      at oracle.xdo.parser.v2.XSLProcessor.newXSLStylesheet(XSLProcessor.java:571)
      ... 17 more
    [8/20/13 9:15:09 AM] [276776:RT50656367] Completed post-processing actions for request 50656367.
    [8/20/13 9:17:06 AM] [OPPServiceThread0] Post-processing request 50656369.
    [8/20/13 9:17:06 AM] [276776:RT50656369] Executing post-processing actions for request 50656369.
    [8/20/13 9:17:06 AM] [276776:RT50656369] Starting XML Publisher post-processing action.
    [8/20/13 9:17:06 AM] [276776:RT50656369]
    Template code: Test_Head_Count
    Template app:  CPER
    Language:      en
    Territory:     00
    Output type:   PDF
    [8/20/13 9:17:07 AM] [UNEXPECTED] [276776:RT50656369] java.lang.reflect.InvocationTargetException
      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:597)
      at oracle.apps.xdo.common.xml.XSLT10gR1.invokeNewXSLStylesheet(XSLT10gR1.java:607)
      at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:235)
      at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:182)
      at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1044)
      at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:997)
      at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
      at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1665)
      at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:975)
      at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5926)
      at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3458)
      at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3547)
      at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:290)
      at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:157)
    Caused by: oracle.xdo.parser.v2.XPathException: Namespace prefix 'crosstab' used but not declared.
      at oracle.xdo.parser.v2.XSLProcessor.reportException(XSLProcessor.java:806)
      at oracle.xdo.parser.v2.XSLProcessor.newXSLStylesheet(XSLProcessor.java:571)
      ... 17 more
    [8/20/13 9:17:07 AM] [276776:RT50656369] Completed post-processing actions for request 50656369.
    [8/20/13 9:22:38 AM] [OPPServiceThread1] Post-processing request 50656370.
    [8/20/13 9:22:38 AM] [276776:RT50656370] Executing post-processing actions for request 50656370.
    [8/20/13 9:22:38 AM] [276776:RT50656370] Starting XML Publisher post-processing action.
    [8/20/13 9:22:38 AM] [276776:RT50656370]
    Template code: Test_Head_Count
    Template app:  CPER
    Language:      en
    Territory:     00
    Output type:   PDF
    [8/20/13 9:22:38 AM] [UNEXPECTED] [276776:RT50656370] java.lang.reflect.InvocationTargetException
      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:597)
      at oracle.apps.xdo.common.xml.XSLT10gR1.invokeNewXSLStylesheet(XSLT10gR1.java:607)
      at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:235)
      at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:182)
      at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1044)
      at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:997)
      at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
      at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1665)
      at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:975)
      at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5926)
      at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3458)
      at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3547)
      at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:290)
      at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:157)
    Caused by: oracle.xdo.parser.v2.XPathException: Namespace prefix 'crosstab' used but not declared.
      at oracle.xdo.parser.v2.XSLProcessor.reportException(XSLProcessor.java:806)
      at oracle.xdo.parser.v2.XSLProcessor.newXSLStylesheet(XSLProcessor.java:571)
      ... 17 more
    [8/20/13 9:22:38 AM] [276776:RT50656370] Completed post-processing actions for request 50656370.
    [8/20/13 9:24:46 AM] [OPPServiceThread0] Post-processing request 50656371.
    [8/20/13 9:24:46 AM] [276776:RT50656371] Executing post-processing actions for request 50656371.
    [8/20/13 9:24:46 AM] [276776:RT50656371] Starting XML Publisher post-processing action.
    [8/20/13 9:24:46 AM] [276776:RT50656371]
    Template code: Test_Head_Count
    Template app:  CPER
    Language:      en
    Territory:     00
    Output type:   PDF
    BI Beans Graph version [3.1.0.82]
    Tue Aug 20 09:24:46 EDT 2013 PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: no column labels: column index 0
    Tue Aug 20 09:24:46 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: MetadataMap.METADATA_DRILLSTATE
    Tue Aug 20 09:24:46 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: MetadataMap.METADATA_VALUE
    Tue Aug 20 09:24:46 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: LayerMetadata.LAYER_METADATA_NAME
    Tue Aug 20 09:24:46 EDT 2013 PROBLEM: In oracle.dss.graph.BILabelLayout::logTruncatedError: legend text truncated
    BI Beans Graph version [3.1.0.82]
    Tue Aug 20 09:24:46 EDT 2013 PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: no column labels: column index 0
    Tue Aug 20 09:24:46 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: MetadataMap.METADATA_DRILLSTATE
    Tue Aug 20 09:24:46 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: MetadataMap.METADATA_VALUE
    Tue Aug 20 09:24:46 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: LayerMetadata.LAYER_METADATA_NAME
    Tue Aug 20 09:24:46 EDT 2013 PROBLEM: In oracle.dss.graph.BILabelLayout::logTruncatedError: legend text truncated
    BI Beans Graph version [3.1.0.82]
    Tue Aug 20 09:24:46 EDT 2013 PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: no column labels: column index 0
    Tue Aug 20 09:24:46 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: MetadataMap.METADATA_DRILLSTATE
    Tue Aug 20 09:24:46 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: MetadataMap.METADATA_VALUE
    Tue Aug 20 09:24:46 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: LayerMetadata.LAYER_METADATA_NAME
    BI Beans Graph version [3.1.0.82]
    Tue Aug 20 09:24:47 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: MetadataMap.METADATA_DRILLSTATE
    Tue Aug 20 09:24:47 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: MetadataMap.METADATA_VALUE
    Tue Aug 20 09:24:47 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: LayerMetadata.LAYER_METADATA_NAME
    BI Beans Graph version [3.1.0.82]
    Tue Aug 20 09:24:47 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: MetadataMap.METADATA_DRILLSTATE
    Tue Aug 20 09:24:47 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: MetadataMap.METADATA_VALUE
    Tue Aug 20 09:24:47 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: LayerMetadata.LAYER_METADATA_NAME
    [8/20/13 9:24:54 AM] [276776:RT50656371] XML Publisher post-processing action complete.
    [8/20/13 9:24:54 AM] [276776:RT50656371] Completed post-processing actions for request 50656371.
    [8/20/13 9:46:48 AM] [OPPServiceThread1] Post-processing request 50656374.
    [8/20/13 9:46:48 AM] [276776:RT50656374] Executing post-processing actions for request 50656374.
    [8/20/13 9:46:48 AM] [276776:RT50656374] Starting XML Publisher post-processing action.
    [8/20/13 9:46:48 AM] [276776:RT50656374]
    Template code: Test_Head_Count
    Template app:  CPER
    Language:      en
    Territory:     00
    Output type:   PDF
    [8/20/13 9:46:48 AM] [UNEXPECTED] [276776:RT50656374] java.lang.reflect.InvocationTargetException
      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:597)
      at oracle.apps.xdo.common.xml.XSLT10gR1.invokeNewXSLStylesheet(XSLT10gR1.java:607)
      at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:235)
      at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:182)
      at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1044)
      at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:997)
      at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
      at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1665)
      at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:975)
      at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5926)
      at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3458)
      at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3547)
      at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:290)
      at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:157)
    Caused by: oracle.xdo.parser.v2.XPathException: Namespace prefix 'crosstab' used but not declared.
      at oracle.xdo.parser.v2.XSLProcessor.reportException(XSLProcessor.java:806)
      at oracle.xdo.parser.v2.XSLProcessor.newXSLStylesheet(XSLProcessor.java:571)
      ... 17 more
    [8/20/13 9:46:48 AM] [276776:RT50656374] Completed post-processing actions for request 50656374.
    [8/20/13 10:08:16 AM] [OPPServiceThread0] Post-processing request 50656386.
    [8/20/13 10:08:16 AM] [276776:RT50656386] Executing post-processing actions for request 50656386.
    [8/20/13 10:08:16 AM] [276776:RT50656386] Starting XML Publisher post-processing action.
    [8/20/13 10:08:16 AM] [276776:RT50656386]
    Template code: Test_Head_Count
    Template app:  CPER
    Language:      en
    Territory:     00
    Output type:   PDF
    [8/20/13 10:08:16 AM] [UNEXPECTED] [276776:RT50656386] java.lang.reflect.InvocationTargetException
      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:597)
      at oracle.apps.xdo.common.xml.XSLT10gR1.invokeNewXSLStylesheet(XSLT10gR1.java:607)
      at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:235)
      at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:182)
      at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1044)
      at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:997)
      at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
      at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1665)
      at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:975)
      at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5926)
      at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3458)
      at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3547)
      at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:290)
      at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:157)
    Caused by: oracle.xdo.parser.v2.XPathException: Namespace prefix 'crosstab' used but not declared.
      at oracle.xdo.parser.v2.XSLProcessor.reportException(XSLProcessor.java:806)
      at oracle.xdo.parser.v2.XSLProcessor.newXSLStylesheet(XSLProcessor.java:571)
      ... 17 more
    [8/20/13 10:08:16 AM] [276776:RT50656386] Completed post-processing actions for request 50656386.
    [8/20/13 10:13:49 AM] [OPPServiceThread0] Post-processing request 50656387.
    [8/20/13 10:13:49 AM] [276776:RT50656387] Executing post-processing actions for request 50656387.
    [8/20/13 10:13:49 AM] [276776:RT50656387] Starting XML Publisher post-processing action.
    [8/20/13 10:13:49 AM] [276776:RT50656387]
    Template code: Test_Head_Count
    Template app:  CPER
    Language:      en
    Territory:     00
    Output type:   PDF
    BI Beans Graph version [3.1.0.82]
    Tue Aug 20 10:13:49 EDT 2013 PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: no column labels: column index 0
    Tue Aug 20 10:13:49 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: MetadataMap.METADATA_DRILLSTATE
    Tue Aug 20 10:13:49 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: MetadataMap.METADATA_VALUE
    Tue Aug 20 10:13:49 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: LayerMetadata.LAYER_METADATA_NAME
    Tue Aug 20 10:13:49 EDT 2013 PROBLEM: In oracle.dss.graph.BILabelLayout::logTruncatedError: legend text truncated
    BI Beans Graph version [3.1.0.82]
    Tue Aug 20 10:13:49 EDT 2013 PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: no column labels: column index 0
    Tue Aug 20 10:13:49 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: MetadataMap.METADATA_DRILLSTATE
    Tue Aug 20 10:13:49 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: MetadataMap.METADATA_VALUE
    Tue Aug 20 10:13:49 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: LayerMetadata.LAYER_METADATA_NAME
    Tue Aug 20 10:13:49 EDT 2013 PROBLEM: In oracle.dss.graph.BILabelLayout::logTruncatedError: legend text truncated
    BI Beans Graph version [3.1.0.82]
    Tue Aug 20 10:13:50 EDT 2013 PROBLEM: In oracle.dss.graph.Graph::createLocalGridDataSource: no column labels: column index 0
    Tue Aug 20 10:13:50 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: MetadataMap.METADATA_DRILLSTATE
    Tue Aug 20 10:13:50 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: MetadataMap.METADATA_VALUE
    Tue Aug 20 10:13:50 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: LayerMetadata.LAYER_METADATA_NAME
    BI Beans Graph version [3.1.0.82]
    Tue Aug 20 10:13:50 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: MetadataMap.METADATA_DRILLSTATE
    Tue Aug 20 10:13:50 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: MetadataMap.METADATA_VALUE
    Tue Aug 20 10:13:50 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: LayerMetadata.LAYER_METADATA_NAME
    BI Beans Graph version [3.1.0.82]
    Tue Aug 20 10:13:50 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: MetadataMap.METADATA_DRILLSTATE
    Tue Aug 20 10:13:50 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: MetadataMap.METADATA_VALUE
    Tue Aug 20 10:13:50 EDT 2013 TRACE: In oracle.dss.graph.GraphModelAdapter::setSupportedDataLayerFlags (): Current DataSource does not support requested type: LayerMetadata.LAYER_METADATA_NAME
    [8/20/13 10:13:57 AM] [276776:RT50656387] XML Publisher post-processing action complete.
    [8/20/13 10:13:57 AM] [276776:RT50656387] Completed post-processing actions for request 50656387.
    [8/20/13 1:19:36 PM] [OPPServiceThread1] Post-processing request 50656411.
    [8/20/13 1:19:37 PM] [276776:RT50656411] Executing post-processing actions for request 50656411.
    [8/20/13 1:19:37 PM] [276776:RT50656411] Starting XML Publisher post-processing action.
    [8/20/13 1:19:37 PM] [276776:RT50656411]
    Template code: Test_Head_Count
    Template app:  CPER
    Language:      en
    Territory:     00
    Output type:   PDF
    [8/20/13 1:19:37 PM] [UNEXPECTED] [276776:RT50656411] java.lang.reflect.InvocationTargetException
      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:597)
      at oracle.apps.xdo.common.xml.XSLT10gR1.invokeNewXSLStylesheet(XSLT10gR1.java:607)
      at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:235)
      at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:182)
      at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1044)
      at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:997)
      at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
      at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1665)
      at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:975)
      at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5926)
      at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3458)
      at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3547)
      at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:290)
      at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:157)
    Caused by: oracle.xdo.parser.v2.XPathException: Namespace prefix 'crosstab' used but not declared.
      at oracle.xdo.parser.v2.XSLProcessor.reportException(XSLProcessor.java:806)
      at oracle.xdo.parser.v2.XSLProcessor.newXSLStylesheet(XSLProcessor.java:571)
      ... 17 more
    [8/20/13 1:19:37 PM] [276776:RT50656411] Completed post-processing actions for request 50656411.
    [8/20/13 1:36:00 PM] [OPPServiceThread1] Post-processing request 50656414.
    [8/20/13 1:36:00 PM] [276776:RT50656414] Executing post-processing actions for request 50656414.
    [8/20/13 1:36:00 PM] [276776:RT50656414] Starting XML Publisher post-processing action.
    [8/20/13 1:36:00 PM] [276776:RT50656414]
    Template code: Test_Head_Count
    Template app:  CPER
    Language:      en
    Territory:     00
    Output type:   PDF
    [8/20/13 1:36:00 PM] [UNEXPECTED] [276776:RT50656414] java.lang.reflect.InvocationTargetException
      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:597)
      at oracle.apps.xdo.common.xml.XSLT10gR1.invokeNewXSLStylesheet(XSLT10gR1.java:607)
      at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:235)
      at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:182)
      at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1044)
      at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:997)
      at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
      at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1665)
      at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:975)
      at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5926)
      at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3458)
      at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3547)
      at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:290)
      at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:157)
    Caused by: oracle.xdo.parser.v2.XPathException: Namespace prefix 'crosstab' used but not declared.
      at oracle.xdo.parser.v2.XSLProcessor.reportException(XSLProcessor.java:806)
      at oracle.xdo.parser.v2.XSLProcessor.newXSLStylesheet(XSLProcessor.java:571)
      ... 17 more
    [8/20/13 1:36:00 PM] [276776:RT50656414] Completed post-processing actions for request 50656414.
    [email protected]

    To make it work,
    inside the if condition add a form field,
    and add the following inside that
    <fo:block keep-with-previous='always' break-after='page'/>
    or
    <xsl:attribute name="break-after" xdofo:ctx="incontext">page</xsl:attribute>it should give u a new page.

  • Drop and recreate table in stored procedure

    Hi all
    When creating tables using Transact-SQL scripts, I have always preferred to drop the table if it exists and then create it explicitly using CREATE TABLE.  For two reasons:
    1) It does not matter if it is the first time the SP is run ie. if I create the table manually in the first instance and just use TRUNCATE TABLE it could fail if the table is deleted
    2) I have control over the data types of the table fields
    Just recently though I discovered the error that can occur when dropping and creating a table in the same batch (see link below)
    Microsoft Website
    This causes me a problem when dropping and creating tables in stored procedures, as I understand that a stored procedure is in itself a single batch?
    Can I avoid this error in a stored procedure whilst continuing to drop and create tables?  Or should I be taking a different approach?
    Coding best practice advice would be greatly appreciated.
    Thank you

    Thanks Ronen
    Please see my second post immediately before your reply.
    Given that I need to store the data output in a physical table for use in QlikView, would you suggest truncating the table each time the SP runs?  And then having a script that handles both dropping and creating the physical table, and also creating
    the SP?
    >> QlikView
    QlikView is an Israeli company, right?
    In any case I am not familiar with QlikView's application, therefore I can only give you general information, based on assumptions regarding the application, and facts regarding the SQL Server.
    >> for use in QlikView
    I assume that external application use specific database structure (table
    structure) and it is change only in rare situations (for example CMS interface might change the tables if and when a module s update/install). In this case there is no need to drop the table and recreate it and TRUNCATE is the solution.
    >> would you suggest truncating the table each time the SP runs
    I am sorry but i cant recommend on TRUNCATE a table each time you execute SP, without know the exact reason for this logic. It sound to me, at this point of time (with the information that we have), that this
    is very bad logic (application architecture). As I wrote above, basing your application on TRUNCATING the table each time mean that you have problems with multi users. Thins about 2 people that try to execute the same SP at almost the same time. Think about
    locking in the SQL Server and bad data (one truncate while the other already inserted the new data and get no rows, if there is no locking).
    But TRUNCATE is much better in this case probably then DROP and DELETE, since it is faster, and locking will be shorter (hopefully the application use the correct locking). There are other reasons why TRUNCATE is better, and other people already mentioned
    most of them, but time in this scenario might be critical.
    >> having a script that handles both dropping and creating the physical table, and also creating the SP?
    I do not undestand what is this second step. we said that you truncate the table, so why do you need to
    dropping and creating the physical table and who
    creating the SP?
    Are you meaning that the application create the tables and SP?
    There are lot of application that during installation create the database structure. is this what you mean?
      Ronen Ariely
     [Personal Site]    [Blog]    [Facebook]

Maybe you are looking for

  • Editing hidden text in pdf?

    Scanning 19th-century and early 20th-century documents as TIFFs, creating PDF using the original images as pages. OCR can't recognize the text well, so the hidden text needs extensive editing. Using Adobe Acrobat 8.0 Professional on Windows 2000 Prof

  • DVD DL with a DVD-rom part

    Hi, With DVD SP 3.0.2, I'm trying to burn a DVD-DL, containing a DVD-video part (2,1 Go) and a DVD-rom part (4 Go). The layer is set to Dual and the Break Point is set to Automatic. DVD SP reports an error : "Formatting Failed. Formatting was not suc

  • "connection refused" in Safari

    Recently uninstalled Safari "Ad-block" extension. Now I am getting "connection refused" errors when trying to access some web pages. Can someone help!

  • Error 800f0922 when adding Print Services

    I have two Windows 2012 R2 servers having the same problem. I removed the Internet Print Service from one of them to troubleshoot a problem and when I try to add it back I get an error that doesn't say very much. (Unable to complete installation. Err

  • Add RADIUS IETF attribute to ISE System Dictionary

    Hello I'm looking to migrate an ACS5.4 config to ISE. Part of the ACS5.4 config involves: define a RADIUE IETF attribute in the ACS RADIUS dictionary inject this attribute into RADIUS requests that are proxied to another RADIUS server. This works fin