drop user failed ORA-00604 ORA-01008

Hello

Oracle Database Enterprise Edition on Solaris SPARC 10.2.0.4.0.

Recently I didn't drop a schema:

user password menu cascade

Error report-

SQL error: ORA-00604: error occurred at the SQL level 1 recursive

ORA-01008: not all variables

ORA-06512: at line 2

00604 00000 - "an error occurred at the SQL level recursive %s.

* Cause: An error occurred during the processing of a recursive SQL statement

(a statement applicable to dictionary tables inside).

* Action: If the situation described by the following error stack

can be corrected, to do so; otherwise contact Oracle Support.

So, I turned on 10046 trace to check what caused the failure:

In the trace file, I saw:

PARSING IN CURSOR #42 len = dep 88 = 1 uid = 25 oct = 47 = 25 tim = hv 46736406559755 lid = ad 909419424 = "9a554a68".

Start

run immediately 'call wmsys.lt_ctx_pkg.allowDDLOperation ("false");

end;

END OF STMT

ANALYSIS #42:c = 0, e = 42, p = 0, cr = 0, cu = 0, set = 0, r = 0, dep = 1, og = 1, tim = 46736406559753

LINKS FOR #42:

=====================

PARSING IN CURSOR #43 len = dep 51 = 2 uid = 25 oct cover 170 = 25 tim = hv 46736406560263 = = ad 2806787184 = "b3862ea8".

call wmsys.lt_ctx_pkg.allowDDLOperation(:"SYS_B_0")

END OF STMT

ANALYSIS #43:c = 0, e = 264, p = 0, cr = 0, cu = 0, put = 1, r = 0, dep = 2, og = 1, tim = 46736406560261

EXEC #42:c = 0, e = 832, p = 0, cr = 0, cu = 2, set = 0, r = 0, dep = 1, og = 1, tim = 46736406560766

#42 ERROR: err = 1008 tim = 490840735

Suggests that the wmsys.lt_ctx_pkg.allowDDLOperation(''false'') caused the problem.

So I manually ran it:

Start

run immediately 'call wmsys.lt_ctx_pkg.allowDDLOperation ("false");

end;

Error report-

ORA-01008: not all variables

ORA-06512: at line 2

01008 00000 - "not all variables.

* Cause:

* Action:

Can anyone help on this please? I looked everywhere but no luck.

Thank you

Hello

Please, I beg you. Check the Note MOS "Datapump Export or Drop Table Fails with ORA-01008 (Doc ID 791065.1)"

If the database parameter cursor_sharing value other than EXACT, set CURSOR_SHARING = TRUE.

Borys

Tags: Database

Similar Questions

  • OracleException "ORA-01008: not all variables ' what SQL text contains both '-'and':'

    We have stumbled into what seems to be a similar bug as @user4111944 and Alex Keh - Product Manager-Oracle in ManagedDataAccess - bug in the drive when you use '-'and':' SQL text .


    We use Oracle.ManagedDataAccess v. 12.1.2400 (last NuGet package) and get an OracleException with the message


    ORA-01008: not all variables


    When we try to run the following code:


    var l_connectionString = "a connection string.

    var l_commandText = "UPDATE table_test SET col_description = '-test', col_time =: param WHERE col_id = 42 ';

    using (IDbConnection l_connection = new Oracle.ManagedDataAccess.Client.OracleConnection(l_connectionString))

    {

    l_connection. Open();

    var l_command is l_connection. CreateCommand();

    l_command.CommandText = l_commandText;

    var l_parameter is l_command. CreateParameter();

    l_parameter. ParameterName = "param";

    l_parameter. Value = DateTime.Now;

    l_command. Parameters.Add (l_parameter);

    l_command. ExecuteNonQuery());

    }

    The code runs perfectly if the omission of the '-' OR the side of a parameter value assignment (i.e. omitting ', col_time =: param').

    The stack for the OracleException trace is as follows:

    at OracleInternal.ServiceObjects.OracleCommandImpl.VerifyExecution (OracleConnectionImpl connectionImpl, Int32 & cursorId, bThrowArrayBindRelatedErrors Boolean, OracleException & exceptionForArrayBindDML, Boolean hasMoreRowsInDB, Boolean bFirstIterationDone)

    at OracleInternal.ServiceObjects.OracleCommandImpl.VerifyExecution (OracleConnectionImpl connectionImpl, Int32 & cursorId, bThrowArrayBindRelatedErrors Boolean, OracleException & exceptionForArrayBindDML, Boolean bFirstIterationDone)

    at OracleInternal.ServiceObjects.OracleCommandImpl.ExecuteNonQuery (String queryString, OracleParameterCollection paramColl, CommandType commandType, OracleConnectionImpl connectionImpl, longFetchSize of Int32, Int64 clientInitialLOBFS, OracleDependencyImpl orclDependencyImpl, Int64 [] scnFromExecution, OracleParameterCollection & bindByPositionParamColl, Boolean bBindParamPresent, OracleException & exceptionForArrayBindDML, Boolean isFromEF)

    at Oracle.ManagedDataAccess.Client.OracleCommand.ExecuteNonQuery)

    UPDATE 1:

    Now, I have tested with older versions of Oracle.ManagedDataAccess.dll thus:

    • ODAC 12 c Release 4 (12.1.0.2.4 - released October 5, 2015) -fails with ORA-01008: not all variables
    • ODAC Release 3 (12.1.0.2.1 - published December 23, 2014) 12 c - fails with ORA-01008: not all variables
    • ODAC 12 c Release 2 (12.1.0.1.2 - released on December 20, 2013) - successful!

    Therefore, changes in driver management Oracle introduced between December 20, 2013 and December 23, 2014 has caused this problem.

    UPDATE 2:

    I dug some more in the question and after decompilation December 2013 and December 2014 versions, I found the piece interesting next to the code in the implementation of the ExecuteNonQuery()) method in the inner class OracleInternal.ServiceObjects.OracleCommandImpl. The code in red was added in the version of December 2014:

    ...

    else if (commandType! = CommandType.TableDirect)

    {

    OracleCommandImpl.TrimCommentsFromSQL (ref str);

    this.m_sqlStatementType = OracleCommandImpl.GetSqlStatementType (str);

    this.m_bHasReturningClause = OracleCommandImpl.HasReturningClause (str, this.m_sqlStatementType);

    }

    ...

    Take OracleCommandImpl.TrimCommentsFromSQL () method for a test ride easily reveal its weaknesses. It does not take into account the sequence '-' may appear in a quoted string, treating them as a comment and deletes the rest of the line...

    Could you please address this issue?

    Best regards

    Bernt

    Yes, the cause seems exactly the same thing as Bug 22308527. Once fix us this bug, please fix your problem as well.

  • Deploy the error ORA-01008 project

    Hello
    I have a project based on GWT and Hibernate, Oracle 11 g. It runs and connects with the database in Eclipse,

    but when I deploy and start in Apache Tomcat, there is an error

    JDBCExceptionReporter SQL error: 1008 SQLState: 72000

    JDBCExceptionReporter ORA-01008: not all variables

    And my project fails at startup.

    How can I solve this problem?
    Maybe I should change some properties in Tomcat?

    And I xmlparserv2.jar. When compiling I remove it from the path of the construction because the compilation fails.
    But when I deploy my project, I add it. This pot is use for?

    Hibernate 3.0
    Oracle Database 11g Release 2 Edition Express

    Apache Tomcat 7.0

    Eclipse Indigo 3.7.0

    Thanks in advance, Olga

    I solved the problem. He was really tomcat. In the Monitor of Tomcat, menu configuration, tab Java, the entrance area of the options Java , I added the following lines

    -Dfile.encoding = UTF-8

    -Dsun.rmi.dgc.client.gcInterval = 3600000

    -Dsun.rmi.dgc.server.gcInterval = 3600000

    -XX: + UseConcMarkSweepGC

    -XX: MaxPermSize = 1024 m

    -Xverify: no

    I also filled in the same window

    Initial pool of memory: 512

    Pool memory maximum: 1024

    Restart Tomcat

  • I spent my evening together on this: status: failure Test failed: ORA-01017

    Hello my friends!

    I do not know why this error pops up, but it's here: status: failure Test failed: ORA-01017: name of user and password invalid; denied connection+.

    Oracle works well but I can't get SQL Developer to play ball (log in). I have not used the 32 no chance and I tried 64 with the JDK, no luck.

    What did I try?

    * 1. Google search for hours
    * 2. Tried more than 50 proposals *.
    * 3. Uninstall / re-install *.
    * 4. Change password box *.
    * 5. Check the operational database and listener has the right name in it.*

    I read an article about password being truncated box so I change the case.

    I read hundreds of threads.

    Does anyone know how can I fix?


    I thank everyone!


    JMan

    Just what gave you the idea that a computer name is a user name?

    Try the system.

    And I suggest you to read some documents.

  • ORA-01008: not all variables bound... but only in an environment

    Running Oracle on Solaris 11.2.0.3.15.

    Two test environments, each with identical spfiles (give or take the database names, etc.).

    Here is my code in both cases:

    create or replace procedure HJR_TEST

    as

    v_daykey_from number (10): = 13164.

    v_text varchar2 (3000);

    Start

    Select cd.daykey. CD. CalendarDate in v_text

    from the cds.cdsday CD,

    CDS. Snapshot vsp

    where vsp.daykey = cd.daykey

    and cd.daykey > = v_daykey_from

    and rownum < 2;

    dbms_output.put_line (v_text);

    end;

    Work as an environment:

    SQL > start

    hjr_test;

    end;

    PL/SQL procedure successfully completed.

    1318001/FEB/16

    Run it in another environment:

    Error from line: 18 in the command.

    Start

    hjr_test;

    end;

    Error report-

    ORA-01008: not all variables

    ORA-06512: at the 'JRH. HJR_TEST', line 7

    ORA-06512: at line 2

    01008 00000 - "not all variables.

    * Cause:

    * Action:

    Same code; init.ora parameters; same version of the database. same o/s; different results.

    Got clues as to where I should be looking for the trouble, please?

    Concerning

    JRH

    Thought I better update the forum on this one.

    This is a bug confirmed, although the bug report is not published.

    There are cases where the optimizer calls kkpap do partition

    pruning in the compilation. Sometimes to partition pruning is done in

    subqueries running against the table. If the bind variables values

    required to operate these subqueries, so we cannot do the pruning to

    compile time.

    The fix for the bug 14458214 fixed this problem in the case where the

    subquery was used to carve at the partition level. However, it is

    possible that use us another method at the level of the partition, and then use

    pruning of subquery subpartition level; this case was not

    addressed by the fix for 14458214.

    The mentioned bug has a patch available in 11.2.0.4 and don't occur in 12 c. For some reason, I'm also made bug 17258090, but I see no content in this bug report. :-(

    Possible solutions in 11.2.0.3 is to make a alter session set "_subquery_pruning_enabled" = false; ... but since X$ KSPPI lists _subquery_pruning_enabled as a hidden parameter, I guess you can also set it instance globally, although obviously the consequences for other queries would at this time must be evaluated very carefully.


  • Error when creating a Web Service reference. ORA-29273: HTTP request failed ORA-12535: TNS:operation expired

    I have a need to call a web service from an APEX application, so I thought I'd try to experience everything first call a web service that is accessible to the public from W3Schools.  The URL of the WSDL that I use is:

    http://www.w3schools.com/webservices/TempConvert.asmx?WSDL

    The 1st thing I try in APEX is to create a Web Service based on the above URL reference.  Problem is that I get the following error:

    ORA-29273: HTTP request failed ORA-12535: TNS:operation expired

    Any ideas?

    I even tried with some other URL WSDL and always the same exact error.

    Thanks in advance.

    Hello

    Maybe your database server have firewall that blocks to internet connection?

    Kind regards
    Jari

  • Unit test: disassembly of the table or restore the line failed: ORA-06502: PL/SQL: digital error or value: string buffer too small ORA-06512: at line 22

    Is any idea available in the process of disassembly of the table or restore the line to line 22?

    I see a bunch of discussions on the subject, but no clear solution/answer...

    What could be the causes of this error?

    I had two process of disassembly on the level now, and one of them had failed with this error. Displacement of the failure of the process of disassembly compared to the level of the suite for the level of performance of test unit solved the error for a while, but after some more dragging the process of disassembly of the table (with about 500 cases) is permanent.

    Please advise...

    Thank you

    Val

    Well, had to create a bug officially... I hope this helps...

    Bug 19696042 : UNIT TEST: disassembly of THE TABLE or LINE RESTORE failed: ORA-06502: STRING BUFFER TOO SMA

    Thank you

    Val

  • Error when I try to insert records ORA-01008:

    Hello

    Im trying to insert records from parameters with an immediate execution but idk what to try more so I ask for help, that's my statement inside the procedure:

    vSQL: = Q'{INSERT IN TESTQ

    (status, info, dt_entg, cd_prod, cd_fisc, cd_fabr, nm_fabr, cd_bar, cd_dist, nm_dist, cd_dist_ext, nm_dist_ext, nm_prod, cor, Manu, mater, prc_htec, peso, prc_tbl, st, custo_st, prc_cust, desc_prd, desc_esp, real, ideal, lc_v_p, estq)

    VALUES

    (: V_STATUS,: V_INFO,: V_DT_ENTG,: V_CD_PROD,: V_CD_FISC,: V_CD_FABR,: V_NM_FABR,: V_CD_BAR,: V_CD_DIST,: V_NM_DIST,: V_CD_DIST_EXT,: V_NM_DIST_EXT,: V_NM_PROD,: V_COR,: V_TAMN,: V_MATER,: V_PRC_HTEC,: V_PESO,: V_PRC_TBL,: V_ST,: V_CUSTO_ST,: V_PRC_CUST) (: V_DESC_PRD,: V_DESC_ESP,: V_REAL,: V_IDEAL,: V_LC_V_P,: V_ESTQ)}';

    EXECUTE IMMEDIATE vSQL;

    and returns this error ORA-01008:

    I already check the columns with the settings 29 even ive tried to use simple variable as 'V_CD_FABR' tried to use like this ": V_CD_FABR" im receives the value of a parameter in a procedure and by putting this value into a variable after attempts to insert the value of the variable.

    Thank you all!

    You must use the keyword

    execute immediate vsql using v_statu, v_info;
    

    Link: IMMEDIATE statement EXECUTION

  • Houston-27122: SQL error in the preparation of the statement in OAF(java.sql.SQLException: ORA-01008: not all variables bound)

    Hi friends,

    I've extended CO where I added dynamic VO where condition, it start error.

    Code added to the controller:

    SerializableAttribute public class Custom_HomePageCO extends HomePageCO

    {

    public Custom_HomePageCO()

    {

    }

    ' Public Sub processRequest (pageContext OAPageContext, OAWebBean webBean)

    {

    super.processRequest (pageContext, webBean);

    System.out.println ("NewClase");

    OAApplicationModule am = pageContext.getApplicationModule (webBean);

    System.out.println (AM);

    OAApplicationModule am1 = (OAApplicationModule) am.findApplicationModule ("TrackExpenseReportsAM");

    System.out.println (AM1);

    OAViewObject vo = (OAViewObject) am1.findViewObject ("TrackExpenseReportsVO");

    System.out.println (VO);

    vo.setWhereClause ("REPORT_SUBMITTED_DATE is not null");

    vo.executeQuery ();

    }

    ' Public Sub processFormRequest (pageContext OAPageContext, OAWebBean webBean)

    {

    super.processFormRequest (pageContext, webBean);

    }

    }

    Error message:

    Details of the exception.

    Error details
    Logout



    Error page


    Details of the exception.

    oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: 27122 Houston: SQL error in the preparation of the statement.  Statement: SELECT * FROM (SELECT
    BIM OBJECT DESCRIPTION,
    BIM INVOICE_CURRENCY_CODE CURRENCY_CODE,
    BIM INVOICE_DATE REPORT_DATE,
    AERH. REPORT_SUBMITTED_DATE REPORT_SUBMITTED_DATE,
    BIM INVOICE_NUM REPORT_NUMBER,
    To_char (decode (nvl (I.)) AMT_DUE_CCARD_COMPANY, AERH. AMT_DUE_CCARD_COMPANY) + nvl (HAVE. AMT_DUE_EMPLOYEE, AERH. AMT_DUE_EMPLOYEE) + nvl (AERH. MAXIMUM_AMOUNT_TO_APPLY, 0),
    0, decode (HAVE. CANCELLED_DATE,
    NULL, APS. GROSS_AMOUNT,
    AERH. IN TOTAL).
    NVL (HAVE. AMT_DUE_CCARD_COMPANY, AERH. AMT_DUE_CCARD_COMPANY) + nvl (HAVE. AMT_DUE_EMPLOYEE, AERH. AMT_DUE_EMPLOYEE) + nvl (AERH. MAXIMUM_AMOUNT_TO_APPLY, 0));
    FND_CURRENCY_CACHE. GET_FORMAT_MASK
    (HAVE. INVOICE_CURRENCY_CODE, 30)). » '|| BIM INVOICE_CURRENCY_CODE REPORT_TOTAL_CURRENCY,
    To_char (decode (nvl (I.)) AMT_DUE_CCARD_COMPANY, AERH. AMT_DUE_CCARD_COMPANY) + nvl (HAVE. AMT_DUE_EMPLOYEE, AERH. AMT_DUE_EMPLOYEE) + nvl (AERH. MAXIMUM_AMOUNT_TO_APPLY, 0),
    0, decode (HAVE. CANCELLED_DATE,
    NULL, APS. GROSS_AMOUNT,
    AERH. IN TOTAL).
    NVL (HAVE. AMT_DUE_CCARD_COMPANY, AERH. AMT_DUE_CCARD_COMPANY) + nvl (HAVE. AMT_DUE_EMPLOYEE, AERH. AMT_DUE_EMPLOYEE) + nvl (AERH. MAXIMUM_AMOUNT_TO_APPLY, 0));
    FND_CURRENCY_CACHE. GET_FORMAT_MASK
    (HAVE. INVOICE_CURRENCY_CODE, 30))
    REPORT_TOTAL,
    P.PERSON_ID EMPLOYE_ID,
    AERH. REPORT_HEADER_ID REPORT_HEADER_ID,
    P.FULL_NAME FULL_NAME,
    DECODE (AI. CANCELLED_DATE, null,


    NVL (aerh.expense_status_code, DECODE (APS. GROSS_AMOUNT, 0, 'PAY. "
    decode (HAVE. Payment_status_flag, 'Y', 'PAID. "
    ', 'BILL. "
    'P', 'PARPAID', NULL))),
    STATUS_CODE "CANCELLED"),
    AERH.source SOURCE,
    CURRENT_APPROVER NULL,
    ROUND (sysdate - HAVE. DAYS_SINCE_ACTIVITY LAST_UPDATE_DATE),
    AERH. RECEIPTS_STATUS RECEIPTS_STATUS_CODE,
    AERH. HOLDING_REPORT_HEADER_ID,
    BIM VENDOR_ID VENDOR_ID,
    AERH. AMT_DUE_CCARD_COMPANY AMT_DUE_CCARD_COMPANY,
    AERH. AMT_DUE_EMPLOYEE AMT_DUE_EMPLOYEE,
    'CurrentApproverName' CURRENT_APPROVER_SWITCHER,
    TO_CHAR (AERH. LAST_UPDATE_DATE, 'DD-MON-RRRR HH'),
    BIM INVOICE_ID INVOICE_ID
    Of
    AK_WEB_USER_SEC_ATTR_VALUES, A.
    PO_VENDORS PV,
    AP_INVOICES HAVE,
    AP_EXPENSE_REPORT_HEADERS AERH,
    PER_PEOPLE_X P,.
    AP_PAYMENT_SCHEDULES APS
    WHERE DID. INVOICE_ID = APS. INVOICE_ID
    AND THE AI. INVOICE_ID = AERH. VOUCHNO (+)
    AND THE AI. INVOICE_TYPE_LOOKUP_CODE: "="BILL ".
    AND A.ATTRIBUTE_CODE = 'ICX_HR_PERSON_ID. '
    AND THE PV. EMPLOYEE_ID = A.NUMBER_VALUE
    AND A.WEB_USER_ID =: 1
    AND P.PERSON_ID = PV. EMPLOYEE_ID
    AND THE PV. VENDOR_ID = HAVE. VENDOR_ID
    AND DECODE (AI. PAYMENT_STATUS_FLAG,
    'Y' sysdate - I. LAST_UPDATE_DATE,
    decode (APS. GROSS_AMOUNT, 0, sysdate - I. LAST_UPDATE_DATE, 0)
    ) < = 30
    AND (AERH. SOURCE <>"The two Pay" OR AERH. REPORT_HEADER_ID IS NULL)
    UNION
    SELECT
    BIM OBJECT DESCRIPTION,
    BIM INVOICE_CURRENCY_CODE CURRENCY_CODE,
    BIM INVOICE_DATE REPORT_DATE,
    AERH. REPORT_SUBMITTED_DATE REPORT_SUBMITTED_DATE,
    BIM INVOICE_NUM REPORT_NUMBER,
    To_char (decode (nvl (I.)) AMT_DUE_CCARD_COMPANY, AERH. AMT_DUE_CCARD_COMPANY) + nvl (HAVE. AMT_DUE_EMPLOYEE, AERH. AMT_DUE_EMPLOYEE) + nvl (AERH. MAXIMUM_AMOUNT_TO_APPLY, 0),
    0, decode (HAVE. CANCELLED_DATE,
    NULL, APS. GROSS_AMOUNT,
    AERH. IN TOTAL).
    NVL (HAVE. AMT_DUE_CCARD_COMPANY, AERH. AMT_DUE_CCARD_COMPANY) + nvl (HAVE. AMT_DUE_EMPLOYEE, AERH. AMT_DUE_EMPLOYEE) + nvl (AERH. MAXIMUM_AMOUNT_TO_APPLY, 0));
    FND_CURRENCY_CACHE. GET_FORMAT_MASK
    (HAVE. INVOICE_CURRENCY_CODE, 30)). » '|| BIM INVOICE_CURRENCY_CODE REPORT_TOTAL_CURRENCY,
    To_char (decode (nvl (I.)) AMT_DUE_CCARD_COMPANY, AERH. AMT_DUE_CCARD_COMPANY) + nvl (HAVE. AMT_DUE_EMPLOYEE, AERH. AMT_DUE_EMPLOYEE) + nvl (AERH. MAXIMUM_AMOUNT_TO_APPLY, 0),
    0, decode (HAVE. CANCELLED_DATE,
    NULL, APS. GROSS_AMOUNT,
    AERH. IN TOTAL).
    NVL (HAVE. AMT_DUE_CCARD_COMPANY, AERH. AMT_DUE_CCARD_COMPANY) + nvl (HAVE. AMT_DUE_EMPLOYEE, AERH. AMT_DUE_EMPLOYEE) + nvl (AERH. MAXIMUM_AMOUNT_TO_APPLY, 0));
    FND_CURRENCY_CACHE. GET_FORMAT_MASK
    (HAVE. INVOICE_CURRENCY_CODE, 30))
    REPORT_TOTAL,
    P.PERSON_ID EMPLOYE_ID,
    AERH. REPORT_HEADER_ID REPORT_HEADER_ID,
    P.FULL_NAME FULL_NAME,
    DECODE (AI. CANCELLED_DATE, null,
    NVL (aerh.expense_status_code, DECODE (APS. GROSS_AMOUNT, 0, 'PAY. "
    decode (HAVE. Payment_status_flag, 'Y', 'PAID. "
    ', 'BILL. "
    'P', 'PARPAID', NULL))),
    STATUS_CODE "CANCELLED"),
    AERH.source SOURCE,
    CURRENT_APPROVER NULL,
    ROUND (sysdate - HAVE. DAYS_SINCE_ACTIVITY LAST_UPDATE_DATE),
    AERH. RECEIPTS_STATUS RECEIPTS_STATUS_CODE,
    AERH. HOLDING_REPORT_HEADER_ID,
    BIM VENDOR_ID VENDOR_ID,
    AERH. AMT_DUE_CCARD_COMPANY AMT_DUE_CCARD_COMPANY,
    AERH. AMT_DUE_EMPLOYEE AMT_DUE_EMPLOYEE,
    'CurrentApproverName' CURRENT_APPROVER_SWITCHER,
    TO_CHAR (AERH. LAST_UPDATE_DATE, 'DD-MON-RRRR HH'),
    BIM INVOICE_ID INVOICE_ID
    Of
    AK_WEB_USER_SEC_ATTR_VALUES, A.
    PO_VENDORS PV,
    AP_INVOICES HAVE,
    AP_EXPENSE_REPORT_HEADERS AERH,
    PER_PEOPLE_X P,.
    AP_PAYMENT_SCHEDULES APS
    WHERE DID. INVOICE_ID = APS. INVOICE_ID
    AND THE AI. INVOICE_ID = AERH. VOUCHNO (+)
    AND THE AI. INVOICE_TYPE_LOOKUP_CODE: "in ("STANDARD "," MIXED")
    AND A.ATTRIBUTE_CODE = 'ICX_HR_PERSON_ID. '
    AND THE AI. PAID_ON_BEHALF_EMPLOYEE_ID = A.NUMBER_VALUE
    AND A.WEB_USER_ID =: 2
    AND P.PERSON_ID = I. PAID_ON_BEHALF_EMPLOYEE_ID
    AND THE PV. VENDOR_ID = HAVE. VENDOR_ID
    AND DECODE (AI. PAYMENT_STATUS_FLAG,
    'Y' sysdate - I. LAST_UPDATE_DATE,
    decode (APS. GROSS_AMOUNT, 0, sysdate - I. LAST_UPDATE_DATE, 0)
    ) < = 30
    AND (AERH. SOURCE <>"The two Pay" OR AERH. REPORT_HEADER_ID IS NULL)
    UNION ALL
    SELECT
    AERH. DESCRIPTION OBJECT,
    AERH. DEFAULT_CURRENCY_CODE CURRENCY_CODE,
    AERH. WEEK_END_DATE REPORT_DATE,
    AERH. REPORT_SUBMITTED_DATE REPORT_SUBMITTED_DATE,
    AERH. INVOICE_NUM REPORT_NUMBER,
    To_char (nvl (AERH. AMT_DUE_CCARD_COMPANY + AERH. AMT_DUE_EMPLOYEE + nvl (AERH. MAXIMUM_AMOUNT_TO_APPLY, 0), AERH. IN TOTAL), FND_CURRENCY_CACHE. GET_FORMAT_MASK
    (AERH. DEFAULT_CURRENCY_CODE, 30)). » '|| AERH. DEFAULT_CURRENCY_CODE REPORT_TOTAL_CURRENCY,
    To_char (nvl (AERH. AMT_DUE_CCARD_COMPANY + AERH. AMT_DUE_EMPLOYEE + nvl (AERH. MAXIMUM_AMOUNT_TO_APPLY, 0), AERH. IN TOTAL), FND_CURRENCY_CACHE. GET_FORMAT_MASK
    (AERH. DEFAULT_CURRENCY_CODE, 30)) REPORT_TOTAL,.
    PER_EMPLOYEE. PERSON_ID EMPLOYEE_ID,
    AERH. REPORT_HEADER_ID REPORT_HEADER_ID,
    PER_EMPLOYEE. FULL_NAME FULL_NAME,
    NVL (AERH.expense_status_code,
    AP_WEB_OA_ACTIVE_PKG. GetReportStatusCode (AERH. Source, AERH. Workflow_approved_flag,
    AERH.report_header_id, 'Y', 'n')) STATUS_CODE.
    AERH.source SOURCE,
    NVL (PER_APPROVER.full_name, AP_WEB_OA_ACTIVE_PKG. GetCurrentApprover (AERH. Source,
    AERH. Workflow_approved_flag, AERH.report_header_id, AERH.expense_status_code)) CURRENT_APPROVER;
    ROUND (NVL (sysdate - AERH. EXPENSE_LAST_STATUS_DATE,
    SYSDATE - AERH. DAYS_SINCE_ACTIVITY LAST_UPDATE_DATE)),
    AERH. RECEIPTS_STATUS RECEIPTS_STATUS_CODE,
    AERH. HOLDING_REPORT_HEADER_ID,
    0 VENDOR_ID,
    AERH. AMT_DUE_CCARD_COMPANY AMT_DUE_CCARD_COMPANY,
    AERH. AMT_DUE_EMPLOYEE AMT_DUE_EMPLOYEE,
    Decode (aerh.expense_current_approver_id,
    -99999, "AMEMultipleApprovers."
    Decode (PER_APPROVER.full_name,
    (null, 'CurrentApproverName', 'AMESingleApprover')) CURRENT_APPROVER_SWITCHER,
    TO_CHAR (AERH. LAST_UPDATE_DATE, 'DD-MON-RRRR HH'),
    -INVOICE_ID 1
    Of
    AK_WEB_USER_SEC_ATTR_VALUES, A.
    AP_EXPENSE_REPORT_HEADERS AERH,
    PER_PEOPLE_X PER_EMPLOYEE,
    PER_PEOPLE_X PER_APPROVER
    WHERE AERH. VOUCHNO + 0 = 0
    AND A.ATTRIBUTE_CODE = 'ICX_HR_PERSON_ID. '
    AND AERH. EMPLOYEE_ID = A.NUMBER_VALUE
    AND A.WEB_USER_ID =: 3
    AND PER_EMPLOYEE. PERSON_ID = AERH. EMPLOYEE_ID
    AND (AERH. Source <>"NonValidatedWebExpense".
    OR AERH. Workflow_approved_flag IS NULL)
    AND AERH.expense_current_approver_id = PER_APPROVER.person_id
    AND decode (AERH.total, 0, ROUND (NVL (sysdate - AERH.) EXPENSE_LAST_STATUS_DATE, sysdate - AERH. (LAST_UPDATE_DATE)), 30) < = 30
    AND AERH. SOURCE <>"the two Pay."
    UNION
    SELECT
    AERH. DESCRIPTION OBJECT,
    AERH. DEFAULT_CURRENCY_CODE CURRENCY_CODE,
    AERH. WEEK_END_DATE REPORT_DATE,
    AERH. REPORT_SUBMITTED_DATE REPORT_SUBMITTED_DATE,
    AERH. INVOICE_NUM REPORT_NUMBER,
    To_char (nvl (AERH. AMT_DUE_CCARD_COMPANY + AERH. AMT_DUE_EMPLOYEE + nvl (AERH. MAXIMUM_AMOUNT_TO_APPLY, 0), AERH. IN TOTAL), FND_CURRENCY_CACHE. GET_FORMAT_MASK
    (AERH. DEFAULT_CURRENCY_CODE, 30)). » '|| AERH. DEFAULT_CURRENCY_CODE REPORT_TOTAL_CURRENCY,
    To_char (nvl (AERH. AMT_DUE_CCARD_COMPANY + AERH. AMT_DUE_EMPLOYEE + nvl (AERH. MAXIMUM_AMOUNT_TO_APPLY, 0), AERH. IN TOTAL), FND_CURRENCY_CACHE. GET_FORMAT_MASK
    (AERH. DEFAULT_CURRENCY_CODE, 30)) REPORT_TOTAL,.
    PER_EMPLOYEE. PERSON_ID EMPLOYEE_ID,
    AERH. REPORT_HEADER_ID REPORT_HEADER_ID,
    PER_EMPLOYEE. FULL_NAME FULL_NAME,
    NVL (AERH.expense_status_code,
    AP_WEB_OA_ACTIVE_PKG. GetReportStatusCode (AERH. Source, AERH. Workflow_approved_flag,
    AERH.report_header_id, 'Y',' don't)) STATUS_CODE.
    AERH.source SOURCE,
    NVL (PER_APPROVER.full_name, AP_WEB_OA_ACTIVE_PKG. GetCurrentApprover (AERH. Source,
    AERH. Workflow_approved_flag, AERH.report_header_id, AERH.expense_status_code)) CURRENT_APPROVER;
    ROUND (NVL (sysdate - AERH. EXPENSE_LAST_STATUS_DATE,
    SYSDATE - AERH. DAYS_SINCE_ACTIVITY LAST_UPDATE_DATE)),
    AERH. RECEIPTS_STATUS RECEIPTS_STATUS_CODE,
    AERH. HOLDING_REPORT_HEADER_ID,
    0 VENDOR_ID,
    AERH. AMT_DUE_CCARD_COMPANY AMT_DUE_CCARD_COMPANY,
    AERH. AMT_DUE_EMPLOYEE AMT_DUE_EMPLOYEE,
    Decode (aerh.expense_current_approver_id,
    -99999, "AMEMultipleApprovers."
    Decode (PER_APPROVER.full_name,
    (null, 'CurrentApproverName', 'AMESingleApprover')) CURRENT_APPROVER_SWITCHER,
    TO_CHAR (AERH. LAST_UPDATE_DATE, 'DD-MON-RRRR HH'),
    -INVOICE_ID 1
    Of
    AK_WEB_USER_SEC_ATTR_VALUES, A.
    AP_EXPENSE_REPORT_HEADERS AERH,
    PER_PEOPLE_X PER_EMPLOYEE,
    PER_PEOPLE_X PER_APPROVER
    WHERE AERH. VOUCHNO + 0 = 0
    AND A.ATTRIBUTE_CODE = 'ICX_HR_PERSON_ID. '
    AND AERH. PAID_ON_BEHALF_EMPLOYEE_ID = A.NUMBER_VALUE
    AND A.WEB_USER_ID =: 4
    AND PER_EMPLOYEE. PERSON_ID = PAID_ON_BEHALF_EMPLOYEE_ID
    AND AERH. EMPLOYEE_ID IS NULL
    AND (AERH. Source <>"NonValidatedWebExpense".
    OR AERH. Workflow_approved_flag IS NULL)
    AND AERH.expense_current_approver_id = PER_APPROVER.person_id
    AND decode (AERH.total, 0, ROUND (NVL (sysdate - AERH.) EXPENSE_LAST_STATUS_DATE, sysdate - AERH. (LAST_UPDATE_DATE)), 30) < = 30
    AND AERH. SOURCE <>"the two Pay."
    UNION ALL
    / * This selection is for reports of invoice imported by casual workers * /.
    SELECT
    BIM OBJECT DESCRIPTION,
    BIM INVOICE_CURRENCY_CODE CURRENCY_CODE,
    BIM INVOICE_DATE REPORT_DATE,
    AERH. REPORT_SUBMITTED_DATE REPORT_SUBMITTED_DATE,
    BIM INVOICE_NUM REPORT_NUMBER,
    To_char (decode (nvl (I.)) AMT_DUE_CCARD_COMPANY, AERH. AMT_DUE_CCARD_COMPANY) + nvl (HAVE. AMT_DUE_EMPLOYEE, AERH. AMT_DUE_EMPLOYEE) + nvl (AERH. MAXIMUM_AMOUNT_TO_APPLY, 0),
    0, decode (HAVE. CANCELLED_DATE,
    NULL, APS. GROSS_AMOUNT,
    AERH. IN TOTAL).
    NVL (HAVE. AMT_DUE_CCARD_COMPANY, AERH. AMT_DUE_CCARD_COMPANY) + nvl (HAVE. AMT_DUE_EMPLOYEE, AERH. AMT_DUE_EMPLOYEE) + nvl (AERH. MAXIMUM_AMOUNT_TO_APPLY, 0));
    FND_CURRENCY_CACHE. GET_FORMAT_MASK
    (HAVE. INVOICE_CURRENCY_CODE, 30)). » '|| BIM INVOICE_CURRENCY_CODE REPORT_TOTAL_CURRENCY,
    To_char (decode (nvl (I.)) AMT_DUE_CCARD_COMPANY, AERH. AMT_DUE_CCARD_COMPANY) + nvl (HAVE. AMT_DUE_EMPLOYEE, AERH. AMT_DUE_EMPLOYEE) + nvl (AERH. MAXIMUM_AMOUNT_TO_APPLY, 0),
    0, decode (HAVE. CANCELLED_DATE,
    NULL, APS. GROSS_AMOUNT,
    AERH. IN TOTAL).
    NVL (HAVE. AMT_DUE_CCARD_COMPANY, AERH. AMT_DUE_CCARD_COMPANY) + nvl (HAVE. AMT_DUE_EMPLOYEE, AERH. AMT_DUE_EMPLOYEE) + nvl (AERH. MAXIMUM_AMOUNT_TO_APPLY, 0));
    FND_CURRENCY_CACHE. GET_FORMAT_MASK
    (HAVE. INVOICE_CURRENCY_CODE, 30))
    REPORT_TOTAL,
    P.PERSON_ID EMPLOYE_ID,
    AERH. REPORT_HEADER_ID REPORT_HEADER_ID,
    P.FULL_NAME FULL_NAME,
    DECODE (AI. CANCELLED_DATE, null,
    NVL (aerh.expense_status_code, DECODE (APS. GROSS_AMOUNT, 0, 'PAY. "
    decode (HAVE. Payment_status_flag, 'Y', 'PAID. "
    ', 'BILL. "
    'P', 'PARPAID', NULL))),
    STATUS_CODE "CANCELLED"),
    AERH.source SOURCE,
    CURRENT_APPROVER NULL,
    ROUND (sysdate - HAVE. DAYS_SINCE_ACTIVITY LAST_UPDATE_DATE),
    AERH. RECEIPTS_STATUS RECEIPTS_STATUS_CODE,
    AERH. HOLDING_REPORT_HEADER_ID,
    BIM VENDOR_ID VENDOR_ID,
    AERH. AMT_DUE_CCARD_COMPANY AMT_DUE_CCARD_COMPANY,
    AERH. AMT_DUE_EMPLOYEE AMT_DUE_EMPLOYEE,
    'CurrentApproverName' CURRENT_APPROVER_SWITCHER,
    TO_CHAR (AERH. LAST_UPDATE_DATE, 'DD-MON-RRRR HH'),
    BIM INVOICE_ID INVOICE_ID
    Of
    AK_WEB_USER_SEC_ATTR_VALUES, A.
    AP_INVOICES HAVE,
    AP_EXPENSE_REPORT_HEADERS AERH,
    PER_PEOPLE_X P,.
    AP_PAYMENT_SCHEDULES APS
    WHERE DID. INVOICE_ID = APS. INVOICE_ID
    AND THE AI. INVOICE_ID = AERH. VOUCHNO (+)
    AND THE AI. INVOICE_TYPE_LOOKUP_CODE: "="BILL ".
    AND A.ATTRIBUTE_CODE = 'ICX_HR_PERSON_ID. '
    AND THE AI. PAID_ON_BEHALF_EMPLOYEE_ID = A.NUMBER_VALUE
    AND A.WEB_USER_ID =: 5
    AND P.PERSON_ID = I. PAID_ON_BEHALF_EMPLOYEE_ID
    AND AP_WEB_DB_HR_INT_PKG. IsPersonCwk (HAVE. PAID_ON_BEHALF_EMPLOYEE_ID) = 'Y '.
    AND DECODE (AI. PAYMENT_STATUS_FLAG,
    'Y' sysdate - I. LAST_UPDATE_DATE,
    decode (APS. GROSS_AMOUNT, 0, sysdate - I. LAST_UPDATE_DATE, 0)
    ) < = 30
    AND (AERH. SOURCE <>"The two Pay" OR AERH. REPORT_HEADER_ID IS NULL)) QRSLT WHERE (REPORT_SUBMITTED_DATE is not null)
    at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:603)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1136)
    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2360)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1759)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:511)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:432)
    at _OA._jspService(OA.jsp:33)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
    to EDU.oswego.cs.dl.util.concurrent.PooledExecutor$ Worker.run (PooledExecutor.java:803)
    at java.lang.Thread.run(Thread.java:534)
    # # 0 in detail
    java.sql.SQLException: ORA-01008: not all variables

    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
    at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
    at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:583)
    at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1986)
    at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1144)
    at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2548)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2933)
    at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:650)
    at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:578)
    at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:631)
    at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:518)
    at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3375)
    at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(OAJboViewObjectImpl.java:828)
    at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4525)
    at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:574)
    at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:544)
    at oracle.jbo.server.ViewRowSetImpl.executeDetailQuery(ViewRowSetImpl.java:619)
    at oracle.jbo.server.ViewObjectImpl.executeDetailQuery(ViewObjectImpl.java:3339)
    at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3326)
    at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:441)
    at oracle.apps.ap.oie.webui.Custom_HomePageCO.processRequest(Custom_HomePageCO.java:26)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:587)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1136)
    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2360)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1759)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:511)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:432)
    at _OA._jspService(OA.jsp:33)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
    to EDU.oswego.cs.dl.util.concurrent.PooledExecutor$ Worker.run (PooledExecutor.java:803)
    at java.lang.Thread.run(Thread.java:534)
    java.sql.SQLException: ORA-01008: not all variables

    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
    at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
    at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:583)
    at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1986)
    at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1144)
    at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2548)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2933)
    at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:650)
    at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:578)
    at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:631)
    at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:518)
    at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3375)
    at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(OAJboViewObjectImpl.java:828)
    at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4525)
    at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:574)
    at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:544)
    at oracle.jbo.server.ViewRowSetImpl.executeDetailQuery(ViewRowSetImpl.java:619)
    at oracle.jbo.server.ViewObjectImpl.executeDetailQuery(ViewObjectImpl.java:3339)
    at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3326)
    at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:441)
    at oracle.apps.ap.oie.webui.Custom_HomePageCO.processRequest(Custom_HomePageCO.java:26)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:587)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1136)
    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2360)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1759)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:511)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:432)
    at _OA._jspService(OA.jsp:33)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
    to EDU.oswego.cs.dl.util.concurrent.PooledExecutor$ Worker.run (PooledExecutor.java:803)
    at java.lang.Thread.run(Thread.java:534)

    I took the sql error message and tried the same performance in Toad... I could run it smoothly... I dot know why his work during the execution of the page

    Please help me guys...

    Thank you

    Pavan

    See you are not sure if they make somewhere clause or where clause params. Your code can be disturbing the standard flow of the code

    Try

    (a) Substitution of view object

    (b)

    OAViewObject vo = (OAViewObject) am1.findViewObject ("TrackExpenseReportsVO");

    System.out.println (VO);

    vo.setWhereClause (null);

    vo.setWhereClause ("REPORT_SUBMITTED_DATE is not null");

    vo.executeQuery (); do not run

    B. try if this does not work go for a

    Concerning

    Marie Lise S

  • java.sql.SQLException: ORA-01008: not all variables

    Hi all

    Here is the code in my opinion

    SELECT * FROM (select * from ())
    SELECT WN. NOTIFICATION_ID,
    WN. FROM_USER,
    DECODE (WN. MORE_INFO_ROLE, NULL, WN. TO_USER, wf_directory. GetRoleDisplayName (WN. MORE_INFO_ROLE)) AS TO_USER;
    DECODE (WN. MORE_INFO_ROLE, NULL, WN. TOPIC, FND_MESSAGE. GET_STRING ('FND', 'FND_MORE_INFO_REQUESTED')
    ||' '
    || WN. SUBJECT) AS THE SUBJECT.
    WN. LANGUAGE,
    WN. BEGIN_DATE,
    WN. END_DATE,
    WN. STATUS,
    WN. PRIORITY,
    'P' AS PRIORITY_F,
    WN. RECIPIENT_ROLE,
    WN. END_DATE,
    WIT. DISPLAY_NAME AS TYPE,
    WN. MORE_INFO_ROLE,
    WN. FROM_ROLE,
    WN. MESSAGE_TYPE,
    WN. MESSAGE_NAME,
    WN. CONTEXT,
    XXTPS_FA043_PKG.get_gbv (WN. CONTEXT, WN. MESSAGE_TYPE, wn.language) VBG.
    XXTPS_FA043_PKG.get_asset_type (WN. CONTEXT, WN. Asset_type MESSAGE_TYPE)
    OF WF_NOTIFICATIONS WN.
    WF_ITEM_TYPES_TL WIT,
    WL WF_LOOKUPS_TL
    WHERE WN.message_type = WIT.name
    AND WL.lookup_type = 'WF_NOTIFICATION_STATUS. '
    AND WIT.language = userenv ('LANG')
    AND WIT.language = WL.language
    AND WN.status = WL.lookup_code
    AND more_info_role IS NULL
    AND wn.message_type IN ('XXNCVPIS', 'XXNCVADJ', 'XXNCVTRN', 'XXNCVRCL', 'XXNCVRET', 'XXNCVSPL', 'XXNCVASG')
    AND WN.recipient_role IN
    (SELECT WUR.role_name
    OF WF_USER_ROLES WUR
    WHERE WUR.user_name =: 1
    AND WUR.user_orig_system =: 2
    AND WUR.user_orig_system_id =: 3
    )
    UNION ALL
    SELECT
    / * + Index (WN WF_NOTIFICATIONS_N6) ORDERED PUSH_SUBQ USE_NL (WN WL WIT) * /.
    WN. NOTIFICATION_ID,
    WN. FROM_USER,
    DECODE (WN. MORE_INFO_ROLE, NULL, WN. TO_USER, wf_directory. GetRoleDisplayName (WN. MORE_INFO_ROLE)) AS TO_USER;
    DECODE (WN. MORE_INFO_ROLE, NULL, WN. TOPIC, FND_MESSAGE. GET_STRING ('FND', 'FND_MORE_INFO_REQUESTED')
    ||' '
    || WN. SUBJECT) AS THE SUBJECT.
    WN. LANGUAGE,
    WN. BEGIN_DATE,
    WN. END_DATE,
    WN. STATUS,
    WN. PRIORITY,
    'P' AS PRIORITY_F,
    WN. RECIPIENT_ROLE,
    WN. END_DATE,
    WIT. DISPLAY_NAME AS TYPE,
    WN. MORE_INFO_ROLE,
    WN. FROM_ROLE,
    WN. MESSAGE_TYPE,
    WN. MESSAGE_NAME,
    WN. CONTEXT,
    XXTPS_FA043_PKG.get_gbv (WN. CONTEXT, WN. MESSAGE_TYPE, wn.language) VBG.
    XXTPS_FA043_PKG.get_asset_type (WN. CONTEXT, WN. Asset_type MESSAGE_TYPE)
    OF WF_NOTIFICATIONS WN.
    WF_ITEM_TYPES_TL WIT,
    WL WF_LOOKUPS_TL
    WHERE WN.message_type = WIT.name
    AND WL.lookup_type = 'WF_NOTIFICATION_STATUS. '
    AND WIT.language = userenv ('LANG')
    AND WIT.language = WL.language
    AND WN.status = WL.lookup_code
    AND wn.message_type IN ('XXNCVPIS', 'XXNCVADJ', 'XXNCVTRN', 'XXNCVRCL', 'XXNCVRET', 'XXNCVSPL', 'XXNCVASG')
    AND WN.more_info_role IN
    (SELECT WUR.role_name
    OF WF_USER_ROLES WUR
    WHERE WUR.user_name =: 4
    AND WUR.user_orig_system =: 5
    AND WUR. USER_ORIG_SYSTEM_ID =: 6
    ))
    WHERE DECODE (: 7, NULL, ' 2 ',' > ', VBG, ' 2') > DECODE (: 7, NULL, ' 1 ',' > ',: 8, '1')
    AND DECODE (: 7, NULL, ' 1 ',' < ', VBG, ' 1') < DECODE (: 7, NULL, ' 2 ',' < ',: 8, '2')
    (AND DECODE (: 7, NULL, '1', 'IS', VBG, '1') = DECODE (: 7, NULL, ' 1', 'IS',: 8, '1'))

    Code of VOImpl
    ' public void initQuery (String s, String s1, s2, s3, s4 of the string String String,
    S5, s6 String String) {}
    OAApplicationModuleImpl = localOAApplicationModuleImpl
    (OAApplicationModuleImpl) getApplicationModule ();
    OADBTransactionImpl = localOADBTransactionImpl
    (OADBTransactionImpl) localOAApplicationModuleImpl.getDBTransaction ();
    int i = 0;
    setWhereClause (null);
    setWhereClauseParams (null);

    setWhereClauseParam (0, s);
    setWhereClauseParam (1, s1);
    setWhereClauseParam (2, s2);
    setWhereClauseParam (3, s);
    setWhereClauseParam (4, s1);
    setWhereClauseParam (5, s2);
    setWhereClauseParam (6, s4);
    setWhereClauseParam (7, s6);

    String strWhereClause = "";

    If ((null! = s5) & &!("".)) Equals (S5)))
    {
    If (! (")) All".equalsIgnoreCase (S5)))
    {
    "" strWhereClause = "asset_type =" "+ s5 +" ' ";
    addWhereClause (strWhereClause);
    }
    }

    When I try to run the page, and then I am getting java.sql.SQLException: ORA-01008: not all variables.

    Can someone tell the cause of the road please?

    Thank you
    Siva Prasad

    WHERE DECODE (: 7, NULL, ' 2 ',' > ', VBG, ' 2') > DECODE (: 7, NULL, ' 1 ',' > ',: 8, '1')
    AND DECODE (: 7, NULL, 1 ',')<'1')>< decode(:7,="" null,="" '2',=""><', :8,="">
    (AND DECODE (: 7, NULL, '1', 'IS', VBG, '1') = DECODE (: 7, NULL, ' 1', 'IS',: 8, '1'))

    You use the variable even here several times. Please change sequentially. Even if you use: 7 more than once, please change to: 8 (number) and go to the setWhereClauseParam. Basically do not use the same variable twice (even if you want to compare the same value)

    Thank you
    Shree

  • I get the error Code: ORA-01008: not all variables

    Hi all

    When I try to insert data into a table through the procedure am getting following error...

    Error code: ORA-01008: not all variables.

    But if I run the same query on the outside passing the parameters it works well. When I run the Insert through the procedure statement, I don't get all the variables related error.
    I'm passing two numbers as parameters. But I don't know why I get this error.

    Could someone suggest me please.



    Thank you
    Sree

    http://lmgtfy.com/?q=ora-01008%3A+not+all+variables+bound.

    Good bye
    DPT

  • ORA-01503: CREATE CONTROLFILE failed ORA-01160: file is not a data ORA file

    Hi all
    I tried to re-create a control file as it is not present, I am facing the following error.
    Plaese help.

    1. CREATE CONTROLFILE REUSE DATABASE 'TEST' RESETLOGS ARCHIVELOG
    MAXLOGFILES 2 5
    3 MAXLOGMEMBERS 3
    4 MAXDATAFILES 14
    MAXINSTANCES 5 1
    6 MAXLOGHISTORY 226
    LOGFILE 7
    GROUP 8 1 ' C:\oracle\product\10.2.0\oradata\TEST\REDO01. NEWSPAPER "SIZE M 50,
    9 GROUP 2 ' C:\oracle\product\10.2.0\oradata\TEST\REDO02. NEWSPAPER "SIZE M 50,
    10 GROUP 3 ' C:\oracle\product\10.2.0\oradata\TEST\REDO03. NEWSPAPER "SIZE M 50
    DATAFILE 11
    12 ' C:\oracle\product\10.2.0\oradata\TEST\SYSTEM01. DBF',.
    13 ' C:\oracle\product\10.2.0\oradata\TEST\UNDOTBS01. DBF',.
    14 ' C:\oracle\product\10.2.0\oradata\TEST\EXAMPLE01. DBF',.
    15 ' C:\oracle\product\10.2.0\oradata\TEST\TEMP01. DBF',.
    16 ' C:\oracle\product\10.2.0\oradata\TEST\SYSAUX01. DBF',.
    17 ' C:\oracle\product\10.2.0\oradata\TEST\USERS01. DBF'
    18 * CHARACTER SET WE8MSWIN1252
    SQL > /.
    CREATE CONTROLFILE REUSE DATABASE 'TEST' RESETLOGS ARCHIVELOG
    *
    ERROR on line 1:
    ORA-01503: CREATE CONTROLFILE failed
    ORA-01160: the file is not a data file
    ORA-01110: data file: ' C:\oracle\product\10.2.0\oradata\TEST\TEMP01. DBF'

    Rajini.V wrote:
    Hi Fiedi,
    Thanku for Quick response.

    I created could controlfile now, I must add datafile temp01.dbf
    How is it already in the path statement.

    Rajini.V

    You can use command below

    alter tablespace temp add tempfile 'C:\oracle\product\10.2.0\oradata\TEST\TEMP01.DBF' reuse;
    

    See you soon

  • Double Dash Mark in string causes ORA-01008: not all variables bound errors

    Hello
    I have the following text in a process of PL/SQL in APEX page: v_student_name: =: P31_LAST_NAME | ',' | : P31_FIRST_NAME | » --'|| : P31_STUDENT_ID;
    I'm under APEX 3.0.1 on Oracle Database 10 g Express Edition.

    When I use a dashboard, I don't get an error. When I use a double dash, I get the error: ORA-01008: not all variables related errors. Any suggestions on how to solve this problem would be greatly appreciated. Thanks in advance!

    Sharon

    Sharon-

    As the option - is a comment in PL/SQL, you can need to insert these characters through the function chr(). Have you tried:

     v_student_name := :P31_LAST_NAME||', '||:P31_FIRST_NAME||chr(45)||chr(45)||:P31_STUDENT_ID;
    

    Austin

  • ORA-01008: not all variables

    Hi, I used QUERY clause since last month when I learned about it. Now I have a problem with an error: ORA-01008: not all variables. Here's what's inside my pre-requete button:

    DECLARE
    VARCHAR2 (1500) MYQUERY;

    BEGIN

    : SPM_CIRCUITS. DATE_FROM: =: GLOBAL. DATE_FROM;
    : SPM_CIRCUITS. DATE_TO: =: GLOBAL. DATE_TO;
    : SPM_CIRCUITS. GRID: =: GLOBAL. GRID;
    : SPM_CIRCUITS. REGION: =: GLOBAL. REGION;
    : SPM_CIRCUITS. NEIGHBORHOOD: =: GLOBAL. DISTRICT;
    : SPM_CIRCUITS. CLASS: =: GLOBAL. CLASS;
    : SPM_CIRCUITS. VOLTLEVEL: =: GLOBAL. VOLTLEVEL;
    : SPM_CIRCUITS. BRANCH: =: GLOBAL. GENERAL MANAGEMENT;
    : SPM_CIRCUITS. ACC: =: GLOBAL. VAC;

    MYQUERY: = ' (SELECT C.CIRCUIT_CODE, C.SUBSTATION_CODE, C.CIRCUIT, C.DATE_COMMISSION, C.DATE_DECOMMISSION, C.CLASSIFICATION, C.DATE_PRIVATELY_OWNED
    FROM (SELECT A.CIRCUIT_CODE, A.CIRCUIT, A.SUBSTATION_CODE, A.DATE_COMMISSION, A.DATE_DECOMMISSION, A.CLASSIFICATION, A.DATE_PRIVATELY_OWNED
    OF SPM_CIRCUITS, (SELECT SEPARATE NVL2 ('|)) ': SPM_CIRCUITS. DISTRICT ' |', CIRCUIT_CODE,
    DECODE (COMMON_CKT_CODE, NULL, CIRCUIT_CODE, COMMON_CKT_CODE)) CIRCUIT_CODE
    OF SPM_CIRCUITS
    WHEN THE CLASSIFICATION IS NOT NULL
    AND (CLASSIFICATION = ' | ") ' || : SPM_CIRCUITS. CLASS | " ' ||')
    AND SUBSTR (SUBSTATION_CODE, 6, 4) <>"M001"
    AND DATE_COMMISSION IS NOT NULL
    AND (SUBSTR (CIRCUIT_CODE, 5, 1) SUBSTR (CIRCUIT_CODE, 5, 1) AND <>"5" <>"9")
    ) B
    WHERE A.CIRCUIT_CODE = B.CIRCUIT_CODE
    ) C
    WHERE (C.DATE_PRIVATELY_OWNED IS NULL))';

    SET_BLOCK_PROPERTY ('SPM_CIRCUITS', QUERY_DATA_SOURCE_NAME, MYQUERY);

    END;

    I put the query data Source name double. In fact, the problem I have is with the SELECTION bold. When I do a SELECT Circuit_code only, there is no problem, but when I use the
    SELECT SEPARATE NVL2 ('|) ': SPM_CIRCUITS. DISTRICT ' |', CIRCUIT_CODE,
    DECODE (COMMON_CKT_CODE, NULL, CIRCUIT_CODE, COMMON_CKT_CODE)) CIRCUIT_CODE
    Then, I'm having a problem. GLOBAL variables were assigned with value through a button before this block. Help, please. Thanks in advance.

    SPM_CIRCUITS. NEIGHBORHOOD here is interpreted as text. It is necessary to add ".
    Please try

    ...
    SELECT DISTINCT NVL2(' || '''' || :SPM_CIRCUITS.DISTRICT || '''' || ', CIRCUIT_CODE,
    ...
    
  • Error ORA-01008 on the process page

    Hi all

    I get a ' ORA-01008: not all variables bound "error when saving a process in a page. Here is an overview of the process. All bind variables are used in other processes on the same page with no problems.
    DECLARE
    I_EMAIL_SUBJECT      VARCHAR2(100);
    I_EMAIL_BODY         VARCHAR2(4000);
    I_EMAIL_RESULT       NUMBER;
    I_PROCESS_NAME       VARCHAR2(100)  := 'INPUT - Cancel Form';
    
    I_FORM_NUMBER        NUMBER  := TO_NUMBER(:P12_IFORPSP_KEY,'999999');
    I_FORM_VERSION       NUMBER  := TO_NUMBER(:P12_FORM_VERSION,'999999');
    
    I_FUNC_RETURN        VARCHAR2(400)  := NULL;
    
    E_CUSTOM_ERROR       EXCEPTION;
    I_ERROR_MSG          VARCHAR2(4000);
    
    BEGIN
    
       BA_HR_IFO_util_pkg.add_debug_line('-- START --',I_PROCESS_NAME);
       
       --------------------------------
       -- Change WF Step to 'Canceled'
       --------------------------------
       BA_HR_IFO_util_pkg.add_debug_line('Set WF Step to Canceled ',I_PROCESS_NAME);
       -- The function below is triggering the error
       I_FUNC_RETURN := BA_HR_IFO_util_pkg.update_wf_step(p_form_no  => I_FORM_NUMBER,
                                                          p_form_ver => I_FORM_VERSION,
                                                          p_created_by => TO_CHAR(:P12_CREATED_BY),
                                                          p_step_status => TO_CHAR('Canceled'),
                                                          p_next_step_name => TO_CHAR('Canceled Form'),
                                                          p_flex_hiring_freeze => TO_CHAR(:F103_FLEX_HIRING_FREEZE));
       IF I_FUNC_RETURN <> 'S' THEN
          -- Set ERROR msg
          BA_HR_IFO_util_pkg.add_debug_line('Error '||I_FUNC_RETURN,I_PROCESS_NAME);
          I_ERROR_MSG := 'Error: '||I_FUNC_RETURN;
          RAISE E_CUSTOM_ERROR;
       END IF;
    I am using Oracle 11g, APEX 3.2.1

    The function is declared on a package in the same pattern. All the parameters of the function are included. The error seems to be when you call the function. However, I have a use this function and bind variables in other procedures.

    This is my first post. I hope I included enough information.

    Thanks in advance for your help

    Carlos

    You can try something like:

    DECLARE
    ...
    I_CREATED_BY      varchar2(100); -- enter correct size here
    I_F103_FLEX_HIRING_FREEZE varchar2(100); -- enter correct size here
    
    BEGIN
    ...
    
    I_CREATED_BY  := v('P12_CREATED_BY');
    I_F103_FLEX_HIRING_FREEZE := v('F103_FLEX_HIRING_FREEZE');
    
       -- The function below is triggering the error
       I_FUNC_RETURN := BA_HR_IFO_util_pkg.update_wf_step(p_form_no  => I_FORM_NUMBER,
                                                          p_form_ver => I_FORM_VERSION,
                                                          p_created_by => I_CREATED_BY,
                                                          p_step_status => 'Canceled',
                                                          p_next_step_name => 'Canceled Form',
                                                          p_flex_hiring_freeze => I_F103_FLEX_HIRING_FREEZE);
    
    ...
    

    Probably, it helps.

    Lev

Maybe you are looking for

  • GN 3 X 1 carbon upgrades?

    OK, so here is what happened. I need a new laptop to replace the Dell XPS M1530, given that the MoBo has taken a dump and apparently all MoBos for her will be. Was looking at prices and found a carbon Gen 3 X 1 for sale on Craigslist for $435. I call

  • Drive hard failure. Code 7?

    Tech, tried to change the drive letter of the hard drive to I-C, locked to computer. Won't go into office.  Tries to start, but the habit.  Drive hard diagnosis on the home screen displays disk hard failure, Code 7.  What should I do?

  • Router extension antenna cable

    We have the router WRT54G of Cisco in many offices in this building. This router has two antennas. These antennas are screws at the back of the router unit. The antenna is male and side router is female connector. Can you please tell me what are thes

  • After a while, Windows XP Mode destroyed the host network resources contact

    Hello Machine: HP Z210 Workstation, Windows 7 64-bit, 8 GB of RAM Network: Mixed wired and wireless, D-Link I use an old program in Windows XP Mode (Virtual PC). It works very well. We have set up a network printer, thanks to a shared printer on the

  • VCP550D - exam Resit

    Hi guys,.I was wondering how long should I wait to resit the VCP550D?I do anything through the portal of the certification to be allowed to sit again?Thank youD