Error in creating package

Can somebody tell me what the problem is?
Errors during build.
Errors running builder 'Preverification' on project 'Project1'.
org.eclipse.jdt.internal.core.JavaModel.getTarget(Lorg/eclipse/core/resources/IContainer;Lorg/eclipse/core/runtime/IPath;Z)Ljava/lang/Object;
org.eclipse.jdt.internal.core.JavaModel.getTarget(Lorg/eclipse/core/resources/IContainer;Lorg/eclipse/core/runtime/IPath;Z)Ljava/lang/Object;

Preverification of project1 has failed.
Preverification is the process to check if the developed code is suitable (memory, performance wise) for the target device.
its probably missing the preverify1.1.exe file, a eclipse reinstall should fix it .

Similar Messages

  • Error while creating package

    Hi,
    I am trying to create this procedure inside a package but i am getting the below mentioned error, but when i run the SELECT statement alone, it works fine
    but when creating package it throws the error, can anyone please help me in this.
    PROCEDURE Selections(
    p_Last IN VARCHAR2,
    p_CurrentTime IN VARCHAR2,
    p_Selections OUT     NUMBER
    IS
    BEGIN
         SELECT CODE, AMOUNT,INSERT_DATE FROM
         (SELECT b.CODE, a.AMOUNT,a.INSERT_DATE, ROW_NUMBER()
         OVER(PARTITION BY b.CODE ORDER BY a.INSERT_DATE) AS SEQ
         FROM PAYMENTS a,SB b
    WHERE a.INSERT_DATE > p_Last
    AND a.INSERT_DATE <= p_CurrentTime
    AND a.TYPE = 'X'
    AND a.P_CODE IS NULL
    AND a.ACCT=b.C_CODE)
         WHERE SEQ = 1;
    END Selections;
    After throwing the error the cursor is positioned between OVER[CURSOR](PARTITION BY b.CODE ORDER BY a.INSERT_DATE) AS SEQ
    Error Message:
    PLS-00103: Encountered the symbol "(" when expecting one of the following:
    , from
    Thanks

    If you have to use dynamic SQL because of V 8i, try this (not tested):
    PROCEDURE Selections( 
       p_Last IN VARCHAR2,
       p_CurrentTime IN VARCHAR2,
       p_Selections OUT NUMBER
    IS
       l_code NUMBER;
       l_amount NUMBER;
       l_insert_date DATE;
    BEGIN
       execute immediate
       'SELECT code,'||
              'amount,'||
              'insert_date '||
       'FROM   ('||
              'SELECT b.code,'||
                     'a.amount,'||
                     'a.insert_date,'||
                     'row_number() over(PARTITION BY b.code ORDER BY a.insert_date) AS seq '||
              'FROM   payments a,'||
                     'sb b '||
              'WHERE  a.insert_date > p_last '||
              'AND    a.insert_date <= p_currenttime '||
              'AND    a.type = '||''''||'X '||''''||
              'AND    a.p_code IS NULL '||
              'AND    a.acct = b.c_code'||
              ') '||
       'WHERE  seq = 1'
       INTO   l_code,
              l_amount,
              l_insert_date
       dbms_output.put_line(l_code);
       dbms_output.put_line(l_amount);
       dbms_output.put_line(l_insert_date);
    END selections;Regards,
    Gerd

  • ORA-12571 error while creating packages from Windows clients

    Hello,
    We are facing the ORA-12571 error while creating / replacing packages from Windows Clients connected to a 8.1.7.2.0 db on a Solaris server.
    However, there are
    1. no errors in connecting and creating transactions from a Sql session
    2. no errors in creating / replacing unwrapped/wrapped small (few lines) packages
    3. no errors in connecting from a Unix session (remote telnet sessions inclusive).
    This happens only when creating wrapped/unwrapped packages, source code of which is greater than 500 kb approx.
    Can somebody help me resolve this issue. Any Help would be greatly appreciated.
    Regards.
    Lakshmanan, K

    Update: I had unintentionally left my custom tablespace in READONLY state after an earlier experiment with transportable tablespaces. After putting the tablespace back into READ WRITE mode and creating a new template, I was successfully able to create a new db from the template.
    I'm still a little curious why this procedure wouldn't work properly with a READONLY tablespace, however.
    Ben

  • Error when creating package

    Hi All,
    I am executing this command to create a package.
    java -Xmx1024M -jar /ACS4/UploadTest-1_2.jar http://127.0.0.1:8080/packaging/Package /ACS4/sample_books/monteCristo.epub;
    It returned an error:
    Creating package request for: /ACS4/sample_books/monteCristo.epub
    Creating connection to Packaging Server: http://localhost:8080/packaging/Package
    Sending Package Request
    There was an error with the Package Request
    <error xmlns="http://ns.adobe.com/adept" data="E_ADEPT_MISSING_ELEMENT http://localhost:8080/packaging/Package expiration,%20nonce,%20or%20hmac"/>
    Finished!
    Successful packages created: 0
    Unsuccessful package attempts:1
    Here are the files that failed to package:
    /ACS4/sample_books/monteCristo.epub
    I am new to Java and Adobe Content Server. I don't know about this:
    <error xmlns="http://ns.adobe.com/adept" data="E_ADEPT_MISSING_ELEMENT http://localhost:8080/packaging/Package expiration,%20nonce,%20or%20hmac"/>
    Please help.

    Hi Jim,
    With your help I setup some of pdf and epub files. I am just going to apply some restrictions on them and see how they will work. I have some other performance related questions.
    -          I Installed bluefire reader on my Ipad and try to download and open files in bluefire reader. It looks everything working for now. I am confused about rendering. When every time someone load a page it will fetch information from server? Is there something it store in cache and load from there?
    -          We are just worrying about server load thing. I am not sure if we need to use a separate server for this. It may be 100 persons together rendering information for different books. On the other hand our book size is also big. Those are around 100 MB each file.
    Please let us know what is the best configuration for us. Thank you very much.
    Regards,
    Vijay Kumar

  • Package Error when create package via Methods onTables

    Even though I am an APEX developer for 3 years, I just found out about Methods on Tables Utility in SQL Workshop from Dan McGhan's demo. I tried to create a package for about 7 tables in one package. When the package was created, it was invalid. I tried to compile it and it produced several errors. I noticed that the UPDATE table procedure was incomplete as it did not provide parameters even though the procedure uses them.
    I was able to replicate it in APEX.ORACLE.COM.
    WORKSPACE: RGWORK
    PACKAGE: CSRSR_DML
    USER : TESTER
    Password: test123
    Is this a bug? Is there a workaround? Did anyone else experience similar outcome?
    APEX 4.1
    Oracle 10g Rel 2
    Robert
    http://apexjscss.blogspot.com

    sect55 wrote:
    Come on APEX team and gurus, please help....As far as this "guru" is concerned, it's not something I'd ever use:
    http://asktom.oracle.com/pls/apex/f?p=100:11:0::::P11_QUESTION_ID:672724700346558185
    http://asktom.oracle.com/pls/apex/f?p=100:11:0::::P11_QUESTION_ID:25405782527721
    Given Tom's well-known opposition to this approach, I was more than a little surprised when this appeared in APEX as he also appears to have close links to the APEX team. I'd really rather have seen development effort invested elsewhere.
    I'd definitely advocate building applications based on PL/SQL APIs, just not on table-centric, row-by-row ones...
    I tried to create a package for about 7 tables in one package.Why?
    One of the main purposes of packages is to modularize an application. Sticking methods for all of the entities in one package defeats this and makes development, testing and maintenance harder. If you must use the flawed TAPI concept, create a separate API for each table&mdash;at most only combine those where there exist mandatory dependencies, e.g. an <tt>order</tt> package with methods for <tt>orders</tt> and <tt>order_items</tt>.
    As to the immediate problem, it appears to be due to the lack of primary key definitions on some of your tables. This means the generator is unable to identify which columns to use as unique row identifiers.

  • "SUCCESS ERROR" when creating package

    Hi All,
    I am trying to create a package that will handle the uploading of a CSV, but I get "SUCCESS ERROR at line 96: PL/SQL: SQL Statement ignored" after clicking finish. Here is the code:
    **** Package *************************************************************
    package "Validate_Upload" as
    -- Procedure to move uploaded file out of HTML DB's wwv_flow_files & into own table
    PROCEDURE MOVE_UPLOAD(file_name IN VARCHAR2, Extract IN VARCHAR2);
    -- Procedure to Prepare BLOB for conversion into CLOB
    PROCEDURE Prepare_BLOB(file_name IN VARCHAR2, Extract IN VARCHAR2);
    -- Function to convert uploaded file (Blob) into a CLOB for processing
    FUNCTION Convert_BLOB(
    v_clob IN OUT CLOB,
    v_blob IN OUT BLOB,
    v_amount IN OUT NUMBER,
    v_blob_offset IN OUT NUMBER,
    v_clob_offset IN OUT NUMBER,
    v_lang_context IN OUT NUMBER,
    v_warning IN OUT NUMBER)
         RETURN clob;
    end "Validate_Upload";
    ********** BODY ****************************************************
    package body "Validate_Upload" as
    PROCEDURE MOVE_UPLOAD(file_name IN VARCHAR2, Extract IN VARCHAR2) is
    v_file     varchar2(60) := file_name;
    v_extract varchar2(25) := Extract;
    begin
    DBMS_OUTPUT.ENABLE (1000000);
    insert into Upload_Table
    (select ID,
    FLOW_ID,
    NAME,
    FILENAME,
    TITLE,
    MIME_TYPE,
    DOC_SIZE,
    DAD_CHARSET,
    CREATED_BY,
    CREATED_ON,
    UPDATED_BY,
    UPDATED_ON,
    LAST_UPDATED,
    CONTENT_TYPE,
    BLOB_CONTENT,
    LANGUAGE,
    DESCRIPTION,
    FILE_TYPE,
    FILE_CHARSET,
    null
              from wwv_flow_files where name = v_file);
              delete from wwv_flow_files where name = v_file;
    commit;
    EXCEPTION
    WHEN OTHERS
    THEN
    DBMS_OUTPUT.PUT_LINE('The MOVE_UPLOAD procedure is broken ...');
    DBMS_OUTPUT.PUT_LINE(':SQLERRM');
    end MOVE_UPLOAD;
    PROCEDURE Prepare_BLOB(file_name IN VARCHAR2, Extract IN VARCHAR2) is
    v_clob_data clob := null;
    v_blob_data blob := null;
    v_temp_blob clob := null;
    clob_size number := null;
    v_lang number := dbms_lob.default_lang_ctx;
    v_amount number := dbms_lob.lobmaxsize;
    v_src_offset number := 1;
    v_dest_offset number := 1;
    v_warning number := null;
    begin
    DBMS_OUTPUT.ENABLE (1000000);
    dbms_lob.createtemporary(v_clob_data,true,dbms_lob.session);
    select blob_content, UTL_RAW.CAST_TO_VARCHAR2(blob_content)
    into v_blob_data, v_temp_blob
    from UPLOAD_TABLE
    where name = v_filename
    for update;
    clob_size := dbms_lob.getlength(v_clob_data);
    v_clob_data := Convert_BLOB(v_clob_data, v_blob_data, v_amount, v_src_offset, v_dest_offset, v_lang, v_warning);
    update UPLOAD_TABLE
    set CLOB_CONTENT = v_clob_data
    where name = v_filename;
    commit;
    end Prepare_BLOB;
    FUNCTION Convert_BLOB(
    v_clob IN OUT CLOB,
    v_blob IN OUT BLOB,
    v_amount IN OUT NUMBER,
    v_blob_offset IN OUT NUMBER,
    v_clob_offset IN OUT NUMBER,
    v_lang_context IN OUT NUMBER,
    v_warning IN OUT NUMBER)
    RETURN clob
    IS
    BEGIN
    DBMS_LOB.CONVERTTOCLOB(v_clob,
    v_blob,
    v_amount,
    v_clob_offset,
    v_blob_offset,
    1,
    v_lang_context,
    v_warning);
    RETURN v_clob;
    EXCEPTION
    WHEN OTHERS
    THEN
    DBMS_OUTPUT.PUT_LINE('The convert_blob procedure is broken ...');
    DBMS_OUTPUT.PUT_LINE(':SQLERRM');
    END Convert_Blob;
    end "Validate_Upload";
    The error points to the "update UPLOAD_TABLE" line in the Prepare_BLOB procedure.
    Any ideas would be appreciated.
    Thanks in advance,
    Corey

    "but I get "SUCCESS ERROR at line 96: PL/SQL: SQL Statement ignored" after clicking finish."
    96 update UPLOAD_TABLE
    97 set CLOB_CONTENT = v_clob_data
    98 where name = v_filename;
    Do I need to change the SET variable? maybe with quotes, or something? This is where Oracle says the error (SUCCESS ERROR) is...
    Should it be something like SET CLOB_CONTENT = 'v_clob_data'?
    Just don't get it, and I can't seemto find anything on a "SUCCESS ERROR"...
    Anyone seen this before???
    Corey

  • Error while creating Package body

    Hi I tried the following package is created but body is created with errors
    CREATE OR REPLACE PACKAGE pack_ttt IS
    TYPE rec_ttt_colinfo IS RECORD (
      columnName VARCHAR2(30));
    TYPE nt_ttt_colInformation IS TABLE OF rec_ttt_colinfo;
    FUNCTION getColumns(schemaNm VARCHAR2 , TableNm VARCHAR2)
      RETURN nt_ttt_colInformation;
    END;
    CREATE OR REPLACE PACKAGE BODY pack_ttt IS
    function getColumns(
      schemaNm VARCHAR2 ,
      TableNm VARCHAR2)
    RETURN nt_ttt_colInformation IS
    colvarfunc1 nt_ttt_colInformation;
    EXECUTE IMMEDIATE 'SELECT COLUMN_NAME, DATA_TYPE FROM ALL_TAB_COLUMNS WHERE OWNER = ''' || schemaNm || ''' AND TABLE_NAME = ''' || TableNm || ''''
          BULK COLLECT INTO columnsList;
          RETURN colvarfunc1;
    END;
    END;And the error is
    LINE/COL ERROR
    7/20     PLS-00103: Encountered the symbol "SELECT COLUMN_NAME, DATA_TYPE
             FROM ALL_TAB_COLUMNS WHERE OWNER =" when expecting one of the
             following:
             := . ( @ % ; not null range default character
             The symbol ":=" was substituted for "SELECT COLUMN_NAME,
             DATA_TYPE FROM ALL_TAB_COLUMNS WHERE OWNER =" to continue.
    8/7      PLS-00103: Encountered the symbol "BULK" when expecting one of
             the following:
             * & = - + ; < / > at in is mod remainder not rem
             <an exponent (**)> <> or != or ~= >= <= <> and or like LIKE2_
    LINE/COL ERROR
             LIKE4_ LIKEC_ between || member SUBMULTISET_

    Why are you using dynamic SQL, there is absolutely no need for that. And the way you are using it is plain wrong, since it is subject to SQL injection and hard parsing.
    CREATE OR REPLACE PACKAGE BODY pack_ttt IS
      FUNCTION getcolumns (
        schemanm    VARCHAR2,
        tablenm     VARCHAR2
        RETURN nt_ttt_colinformation IS
        colvarfunc1   nt_ttt_colinformation;
      BEGIN
        SELECT column_name,
               data_type
        BULK   COLLECT INTO columnslist
        FROM   all_tab_columns
        WHERE  owner = schemanm
               AND table_name = tablenm;
        RETURN colvarfunc1;
      END;
    END;
    /Don't get into the habbit of doing dynamic sql, it just demonstrates that you have no clue whatsoever as to what you are dealing with.
    Regards
    Peter

  • Error while creating statspack

    i m practicing to create Statspack report
    oracle 9.2 on windows
    i created a database with the name bkp2. listener up and running.
    i had never run the spcreate.sql in this db before
    when i did run it i got the below error
    Creating Package STATSPACK...
    Package created.
    No errors.
    Creating Package Body STATSPACK...
    Warning: Package Body created with compilation errors.
    Errors for PACKAGE BODY STATSPACK:
    LINE/COL ERROR                                                                 
    1655/6   PL/SQL: SQL Statement ignored                                         
    1657/13  PL/SQL: ORA-00942: table or view does not exist                       
    1685/11  PL/SQL: SQL Statement ignored                                         
    1705/22  PL/SQL: ORA-00942: table or view does not exist                       
    NOTE:
    SPCPKG complete. Please check spcpkg.lis for any errors.the code is running successfully till it starts creating the statspack package body. the tablespace and temp file which is given for the perfstat user have more than 200MB space.
    interestingly when i create the same with another database in the system created both through manual and dbca, it runs perfectly.
    i dont want the direct solution for this. i jus want to know how i can find out the cause for this. i tried to trace the session i.e. alter session set sql_trace=true;
    still i didnt understand how to go about from there and when i searched the error in the trace it didnt appear there!! ... so in such cases how do i pinpoint which statement is causing the error. the line no. is not of much use as the whole code is full of comments in between !!
    thank you

    i m using SYSDBA user only ...
    code:
    conn sys as sysdba
    added:
    i v also run spdrop.sql as SYSDBA and tried to re-run the spcreate.sql script several times in this database. still same results. i wonder why this happens jus to this db
    i v also created a new tablespace which is not used by any other user objects. and a new temp tablespace and used them while running the spcreate.sql
    still same results.
    Edited by: iinfi on Oct 31, 2008 8:43 PM

  • Error while creating Info Package

    Hi,
    I am new to SAP-BW .Could anyone help me in fixing the following error .
    I have created an Info source for characteristic data and then trying to create a Infopackage to load master data , I have used the characteristic Material Number(IO-MAT) in this case .
    When creating the Info Package I got two data sources in the pop up , Material number (Master data)IO_MAT_ATTR and Material number (Texts) IO_MAT_TEXT .
    I was able to load data from a flat file into Data Source Material Number (Master data) But when I was trying to follow the same procedure and load the data for 'Material number(Texts) IO_MAT_TEXT' it gives me the following error .
    Select the Language field in the  source system -> Long Text
    I am not able to figure out and proceed further. Pls help me out.
    Regards
    Sudha

    I have another question..I was able to fix the error regarding info package but unable to load the data..(data load is being failed)
    In the DataSource/Transfer Structure I have LANGU , /BIC/ZB4_MAT (Material Number infoobject which i created) and TXTSH Fields ..
    the flat file which i used has Language, MaterialNumber,description pattern alone..
    (eg . E , M001,cookie ) and when i try to load this data..and  check in the Monitor - Administration Workbench..it shows as unsuccessful..
    The following error msg :
    Error message when processing in the Business Warehouse
    Diagnosis
    An error occurred in the SAP BW when processing the data. The error is documented in an error message.
    System response
    A caller 01, 02 or equal to or greater than 20 contains an error meesage.
    I could'nt see the long text of Help information...
    could you help me out in figuring out this..
    Points assigned for previous answer..
    Regards
    Sudha

  • Dump error while creating or double click the info package

    Hello experts,
    I have actived infocube 0FIAR_C03 in BI content. Ago, The creation infopackage have been deleted in the past , today, I  created a infopackage, while I update mode selected u2018initialize delta processu2019, then click save button , the system prompt u2018Deltas already loaded for request  REQU_D64R47LDUSZHY9CBIB86WMLFJ init.selection; no 2. initu2019, I canoti save it for my setting. Why is this?
    Then I have search cause in SDN,  and I have reference OSS Note 852443 to do .
    Note 852443 have mention some table: RSSELDONE、RSSDLINIT、RSSDLINITSEL、ROOSPRMSC、ROOSPRMSF.
    I have to delete that request of record using se16 in these tables: RSSELDONE、RSSDLINIT、RSSDLINITSEL.
    in my BI 7.0 system,   ROOSPRMSC、ROOSPRMSF is no any data.
    I was no found delta queue in RSA7.
    Now . Dump error while creating or double click the info package,  how can I change this?
    Please let me know the solution.
    Thanks for your help.
    Best Regards
    Steve

    Here are some links  which deals with same issue.
    Re: Dump In Infopackage
    Re: Getting into Short dump at the time of selecting InfoPackage to execute for
    Short dump while performing init in infopackage
    Re: Infopackage going into short dump
    Thanks.

  • How to check error whilce creating a package

    Hi,
    I am getting an error while creating a package, individually query is running ok but in package it is showing an error. is there any way to check the error. I am using in TOAD Quest Scriptrunner

    What kind of error you got? A syntactical one or a logical one? Your schema should have following rights to debug package:
    GRANT DEBUG CONNECT SESSION,
    DEBUG ANY PROCEDURE TO <Your_Schema><i>
    I am using in TOAD Quest Scriptrunner</i>
    You can refer the user manual or contact Quest for queries regarding Quest Scriptrunner
    *009*
    Edited by: 009 on Nov 3, 2010 12:09 AM

  • Trying to create package and do not understand error message

    What is wrong with this statement. Its say ASH411APPROVALEMAIL_PKG is not declared. I am trying to create it. Whats wrong?
    ERROR MESSAGE
    I get the following error.
    Error at line 1: PLS-00201: IDENTIFIER 'ASH411APPROVALEMAIL_PKG' must be declared1. CREATE OR REPLACE PACKAGE BODY ASH411APPROVALEMAIL_PKG
    2. AS
    3. PROCEDURE ASH411APPROVALEMAIL_async (P_ATS_NO NUMBER
    CODE
    CREATE OR REPLACE PACKAGE BODY ASH411APPROVALEMAIL_PKG
    AS
    PROCEDURE ASH411APPROVALEMAIL_async (P_ATS_NO NUMBER)
    AS
    BEGIN
    DBMS_SCHEDULER.define_program_argument (program_name => 'ASH411APPROVALEMAIL',
    argument_position => 1,
    argument_name => 'P_ATS_NO',
    argument_type => 'NUMBER'
    --,DEFAULT_VALUE => whatever_value
    DBMS_SCHEDULER.ENABLE (NAME => 'ASH411APPROVALEMAIL');
    DBMS_SCHEDULER.create_job (job_name => 'ASH411APPROVALEMAIL_JOBNAME'
    || P_ATS_NO,
    program_name => 'ASH411APPROVALEMAIL',
    enabled => TRUE,
    comments => 'Comments'
    EXCEPTION
         WHEN NO_DATA_FOUND THEN
         null;
    END ASH411APPROVALEMAIL_async;
    end ASH411APPROVALEMAIL_PKG;

    Hi, Howard,
    csphard wrote:
    Now when I go back and create the package again with the procedures it say package body created but does not
    display anything."Package body created" is all it ever says (unless there's an error message).
    How do I see the procedures I just created when I ran the package again with the procedures?If you want to see the source code, look at the CREATE PACKAGE BODY command in the script you just ran, or query the data dictionary view user_source:
    SELECT       text
    FROM       user_source
    WHERE       name     = 'ASH411APPROVALEMAIL_PKG'
    AND       type     = 'PACKAGE BODY'
    ORDER BY  line
    ;

  • Error while creating procedure and package

    Hi,
    I am getting an error while creating an procedure
    create or replace procedure mke_test (mke_gender varchar2) is
    begin
    declare global temporary table mag_hotline_glob
    INDIVIDUAL_ID NUMBER,
    ONE_MONTH NUMBER,
    THREE_MONTH NUMBER,
    SIX_MONTH NUMBER,
    TWELVE_MONTH NUMBER,
    CHILDREN_PRES VARCHAR2(1 BYTE)
    ) with replace on commit preserve rows not logged;
    begin
    insert into mag_hotline_glob
    select * from magazine_gender;
    end;
    end;
    can anybody plz suggest

    It's a total mess. You need to read the documentation first.
    Create your table separately
    CREATE global temporary table mag_hotline_glob(INDIVIDUAL_ID NUMBER,
                                                ONE_MONTH NUMBER,
                                                THREE_MONTH NUMBER,
                                                SIX_MONTH NUMBER,
                                                TWELVE_MONTH NUMBER,
                                                CHILDREN_PRES VARCHAR2(1 BYTE)) with replace on commit preserve rows not logged;Then use the procedure (I don't know why, this INSERT statement you can fire yourself)
    create or replace procedure mke_test(mke_gender varchar2) is
    begin
        insert into mag_hotline_glob
          select * from magazine_gender;
    end;If you want to create the GTT inside the procedure(should be avoided) then Use EXECUTE IMMEDIATE.
    By the way, where are you using the IN parameter ? It' unnecessary.

  • Error while creating a new entity row for testEO

    Hi All,
    I have a 1st page where I enter the employeeNumber and that particular parameter should get displayed in the 2nd page when I click on the "SubmitButton".I am moving to the 2nd page using pageContext.forwardImmediately.I am passing my parameter with this URL.But, I am getting "Error while creating a new entity row for testEO" in my code before i enter anything in " employeeNumber " field in the 1st page.
    My CO code is:
    /*===========================================================================+
    | Copyright (c) 2001, 2005 Oracle Corporation, Redwood Shores, CA, USA |
    | All rights reserved. |
    +===========================================================================+
    | HISTORY |
    +===========================================================================*/
    package xxfc.oracle.apps.test.OAProject1.webui;
    import com.sun.java.util.collections.HashMap;
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.framework.OAApplicationModule;
    import oracle.apps.fnd.framework.OAViewObject;
    import oracle.apps.fnd.framework.webui.OAControllerImpl;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.OAWebBeanConstants;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.apps.fnd.framework.webui.beans.message.OAMessageTextInputBean;
    import oracle.jbo.Row;
    import xxfc.oracle.apps.test.OAProject1.server.testVOImpl;
    * Controller for ...
    public class testCO extends OAControllerImpl
    public static final String RCS_ID="$Header$";
    public static final boolean RCS_ID_RECORDED =
    VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
    * Layout and page setup logic for a region.
    * @param pageContext the current OA page context
    * @param webBean the web bean corresponding to the region
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    OAApplicationModule am =(OAApplicationModule) pageContext.getApplicationModule(webBean);
    testVOImpl vo1 = (testVOImpl)am.findViewObject("testVO1");
    vo1.executeQuery();
    Row r = vo1.first();
    System.out.println("**************Error in the below Line**********************");
    Row row = vo1.createRow();
    vo1.insertRow(row);
    row.setNewRowState(Row.STATUS_INITIALIZED);
    * Procedure to handle form submissions for form elements in
    * a region.
    * @param pageContext the current OA page context
    * @param webBean the web bean corresponding to the region
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    OAApplicationModule am =(OAApplicationModule) pageContext.getApplicationModule(webBean);
    OAViewObject vo1 = (OAViewObject)am.findViewObject("testVO1");
    if(!vo1.isPreparedForExecution())
    vo1.executeQuery();
    Row row = vo1.getCurrentRow();
    am.getOADBTransaction().commit();
    String strEvent = pageContext.getParameter(EVENT_PARAM);
    if (strEvent.equals("update"))
    String custId = pageContext.getParameter("CustID");
    pageContext.putParameter("CstID",custId);
    HashMap hashMap = new HashMap();
    hashMap.put("CustomerId",custId);
    am.getOADBTransaction().commit();
    pageContext.forwardImmediately("OA.jsp?page=/xxfc/oracle/apps/test/OAProject1/webui/popupPG&CustID=custId",
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,
    hashMap, //hashmap
    true,
    OAWebBeanConstants.ADD_BREAD_CRUMB_YES
    thanks,
    Akshata

    Hi Niranjana,
    It did not work I am getting the same error.does the WHO column order in the table matters? My WHO columns are in the below order:
    LAST_UPDATE_DATE
    LAST_UPDATED_BY
    LAST_UPDATE_LOGIN
    CREATION_DATE
    CREATED_BY
    my error is:
    oracle.jbo.RowCreateException: JBO-25017: Error while creating a new entity row for testEO.
    It appears on the top of my page as a message.
    Thanks,
    Akshata
    Edited by: Akshata on Mar 15, 2012 12:29 AM

  • Error while creating class

    Error while creating class java/util/LinkedHashMap$EntryIterator
    ORA-29545: badly formed class: User has attempted to load a class (java.util
    .LinkedHashMap$EntryIterator) into a restricted package. Permission can be grant
    ed using dbms_java.grant_permission(<user>, LoadClassInPackage...
    -----Any Suggestion?
    regards,
    Anjan

    Anjan,
    Pardon me for stating the obvious, but did you do what the error message suggested? In other words, did you grant the required permission?
    Good Luck,
    Avi.

Maybe you are looking for

  • IOS5 doesn't work with clock radio/speaker accessory

    Since I upgraded the software to IOS5, my clock radio/speaker doesn't work anymore with my iPhone. Before, music would play through the speakers when connected, and the iPhone turned on at the alarm time with playing songs from the songlist. Anyone h

  • Smtp rejecting outgoing mail

    Just started getting smtp rejecting mail. Server response from mail client: Server Configuration error. I tried to edit postfix/main.cf as the root, but get permissions denied. At this point I cannot do anything, although terminal lets me log in as r

  • One Way email-to-SMS

    Hi again In the Q12005 release , and if the setup for one way SMS i.e. email-to-sms is done and working fine, how can I make a setup so that when one userid reeives an email then I will send a notification to the users mobile number with a copy of th

  • TRIAL version of LR6 stand alone

    Need link to download TRIAL version of LR6.  I own standalone LR5.  Don't want CC.  Link to check for update embedded in LR5.7 takes user to CC.

  • Imac 10.8.3 iBooks Author 2.0

    Hi Forum, Frustrating little problem here to do with Pop Over feature. The graphic that I'm dragging onto the pop over picture area looks absolutely fine in CS6 and in iBooks Author however, when I preview the page the thumbnail appears fine on the i