ORA-30625

Hi,
I have created custom insert button in my form and i have written following code on CUSTOM PL/SQL EVENT handler
onINSERT(
p_block_name => p_block_name ,
p_object_name => p_object_name,
p_instance => p_instance ,
p_event_type => p_event_type ,
p_user_args => p_user_args ,
p_session => p_session);
onSuccess(
p_block_name => p_block_name ,
p_object_name => p_object_name,
p_instance => p_instance ,
p_event_type => p_event_type ,
p_user_args => p_user_args ,
p_session => p_session);
When i click on Insert button, i am able to save the record but also i get following error.
ERROR:
ORA-30625: method dispatch on NULL SELF argument is disallowed.
ORA-06512: at "PORTAL30.WWA_AAP_MODULE"
Has anyone comeacross this problem?
Thank you
Shobha
null

I'm getting nearly the same errors running
on portal 3.0.9.
When trying to direct a successful form submission to calling page using
call('','p_back_url');
I get this in apache error log...
ORA-30625: method dispatch on NULL SELF argument is disallowed
ORA-06512: at "PORTALCR.WWA_APP_MODULE", line 42
ORA-06512: at "PORTALCR.WWA_APP_MODULE", line 820
ORA-06501: PL/SQL: program error
ORA-06512: at line 8
This worked in 3.0.6.
The inserts and deletes work fine, I'm just not getting back to the calling page.
Cheers,

Similar Messages

  • ORA-30625: method dispatch on NULL SELF error

    Can Someone help me? I'm new to oracle. I'm writing a procedure to copy a file from my hard drive to oracle. I am getting an error: ORA-30625: method dispatch on NULL SELF argument is disallowed. So I just broke the code down to this little piece. I still get the same error. I created a directory called INPUT_FILE and the file test.jpg is in that directory. What am I missing?
    1 Declare
    2 imag ordsys.ordimage;
    3 ctx raw(4000) :=null;
    4 BEGIN
    5 imag.setsource('FILE' , 'INPUT_FILE', 'test.jpg');
    6 imag.import(ctx);
    7* end;
    SQL> /
    Declare
    ERROR at line 1:
    ORA-30625: method dispatch on NULL SELF argument is disallowed
    ORA-06512: at line 5
    null

    There is a sample code for importing an image from an external file into the database in the section 2.2.8 of the interMedia User's Guide:
    http://otn.oracle.com/doc/oracle8i_816/inter.816/a67299/mm_uses.htm#601053
    Basically, you have to have a table in which you store the image in the database first.

  • ORA-30625: method dispatch on NULL SELF argument is disallowed (WWV-16016)

    I've created a master detail form.
    I only want the master record to be read only, as I have a separate form elsewhere that is used to enter all the fields in the table it is based on.
    I've hidden the fields in the form that I do not wish the user to see and set the onFocus validation to blur(); to prevent data entry.
    The problem is that when a user leaves the master block action to 'None' it produces the error:
    ORA-30625: method dispatch on NULL SELF argument is disallowed (WWV-16016)
    It runs fine on update mode after a record has been queried.
    The table has the correct privs as I already have built a simple form to test inserting records into the master table elsewhere.
    Ideally, I want to override the master block action via a bit of coding so to as to stop the user even attempting to create a new record in the master detail form:
    p_session.set_value (p_block_name => 'MASTER_BLOCK'
    , p_attribute_name => '_MASTER_ACTION'
    , p_value => 'NONE');
    Any ideas?
    cheers,
    John

    Oracle Portal Version: 10.1.2.0.0 (Build: 290)
    DB: 10.1.0.3.1

  • 10g ORA-30625: method dispatch on NULL SELF argument is disallowed Options

    I found this site for consuming a web service from oracle 9i. I'm trying
    it from 10g
    http://www.oracle-base.com/articles/9i/ConsumingWebServices9i.php
    I have an intranet web service (.NET) I know is working as I use it from
    other clients.
    But am getting this error when trying the example:
    Getting error: ORA-30625: method dispatch on NULL SELF argument is
    disallowed.
    on this line:
    l_fullname := soap_api.get_return_value(p_response => l_response,
    p_name => 'yyyResult',
    p_namespace =>
    'xmlns:ns1="urn:http://www.xxx.net/"');
    which calling this in the soap_api package i downloaded and installed
    from the stie:
    FUNCTION get_return_value(p_response IN OUT NOCOPY t_response,
    p_name IN VARCHAR2,
    p_namespace IN VARCHAR2)
    RETURN VARCHAR2 AS
    BEGIN
    RETURN p_response.doc.extract('//'||p_name||'/
    child::text()',p_namespace).getstringval();
    END;
    My test script:
    declare
    l_request soap_api.t_request;
    l_response soap_api.t_response;
    l_fullname varchar2(50);
    BEGIN
    l_request := soap_api.new_request(p_method => 'ns1:yyy',
    p_namespace =>
    'xmlns:ns1="urn:http://www.xxx.net"');
    soap_api.add_parameter(p_request => l_request,
    p_name => 'userName',
    p_type => 'xsd:string',
    p_value => 'somestring');
    l_response := soap_api.invoke(p_request => l_request,
    p_url => 'http://xx.xxx.xx.xx/
    securityservice/service.asmx',
    p_action => 'http://www.xxx.net/
    yyy');
    -- failing on the below line(21)
    l_fullname := soap_api.get_return_value(p_response => l_response,
    p_name => 'yyyResult',
    p_namespace =>
    'xmlns:ns1="urn:http://www.xxx.net/"');
    dbms_output.put_line(l_fullname);
    end;
    Thanks for any help or information.

    This rather cryptic message means that the PL/SQL variable or column whose method is being invoked is null.
    It's the equivilant of a null pointer exeception in java...

  • ORA-30625: method dispatch on NULL SELF argument is disallowed

    I have streams setup with table rules.( 3 tiers). It is working fine, besides for one table when insert record, apply has error "ORA-30625: method dispatch on NULL SELF argument is disallowed". I did include all columns in supplemental log group always. Is any limit for max columns for Oracle Streams. This table has 137 columns and I created 6 supplemental log groups.
    Please help

    Hi,
    No restrictions on number of columns in 10.2. Do you have any rule transformation or dml handler?
    Check also on your bdump if the apply generated any trace file that will allow you to identify the root cause of this error.
    Here is an explanation of why that error happens:
    The following error occurs when passing an uninitialized object to an Object's member procedure/function:
    ORA-30625: method dispatch on NULL SELF argument is disallowed
    The following illustrates the error by first creating the Object specification. Notice there is one member procedure "initialize_object" that passes in SELF.
    CREATE OR REPLACE TYPE role_type AS OBJECT (
    role_name VARCHAR2(30),
    MEMBER PROCEDURE initialize_object(SELF IN OUT role_type));
    The next step is to create the body of the Object's member procedure. There is no need for any actual code as the error occurs when the NULL is attempted to be passed.
    CREATE OR REPLACE TYPE BODY role_type AS
    MEMBER PROCEDURE initialize_object (SELF IN OUT role_type) IS
    BEGIN
    NULL;
    END initialize_object;
    END;
    The following anonymous block passes in a NULL (Uninitialized Object) to the member procedure initialize_object.
    DECLARE
    V_TEMP role_type;
    BEGIN
    ROLE_TYPE.initialize_object(V_temp);
    END;
    ERROR at line 1:
    ORA-30625: method dispatch on NULL SELF argument is disallowed
    ORA-06512: at line 4
    The example has nothing to do with streams but maybe you are trying to invoke an error handler or dml handler that is causing this issue.

  • ORA-30625 error

    I am trying to run a procedure in a package and I keep getting this error
    ERROR at line 1:
    ORA-30625: method dispatch on NULL SELF argument is disallowed
    ORA-06512: at "IXSEMF01.EMF_INTERFACE_PKG", line 7
    Here is my package body:
    PACKAGE BODY EMF_INTERFACE_PKG
    IS
    PROCEDURE EMF_LOG_XML_PROC (wefXmlData IN XMLType)
    IS
    eventId VARCHAR(1024);
    BEGIN
    eventId := wefXmlData.extract('//ManagementEvent/text()').getStringVal();
    INSERT INTO IXSEMF01.EVENT_STORE(EVENT_ID, EVENT_XML)
    VALUES (eventId, wefXmlData);
    END EMF_LOG_XML_PROC;
    END EMF_INTERFACE_PKG;
    This is what I am calling:
    call EMF_INTERFACE_PKG.EMF_LOG_XML_PROC(XMLType('<ManagementEvent xmlns:muws1="http://docs.oasis-open.org/wsdm/muws1-2.xsd" ReportTime="2007-12-04T10:34:00.000-05:00" xmlns="http://docs.oasis-open.org/wsdm/muws1-2.xsd">
    <muws1:EventId>wef://SOASuite/BPEL?eventId=12345</muws1:EventId>
    <muws1:SourceComponent>
    <muws1:ResourceId>wef://SOASuite/sandbox/BPEL/emf/raiseEventBPEL?instanceId=123456</muws1:ResourceId>
    <muws1:ComponentAddress>
    <alticor:ManagementURL xmlns:alticor="http://www.alticor.com/extensions">http://lnax30f:8888/BPELConsole</alticor:ManagementURL>
    </muws1:ComponentAddress>
    </muws1:SourceComponent>
    <muws1:ReporterComponent>
    <muws1:ResourceId>wef://SOASuite/sandbox/BPEL/emf/raiseEventBPEL?instanceId=123456</muws1:ResourceId>
    <muws1:ComponentAddress>
    <alticor:ManagementURL xmlns:alticor="http://www.alticor.com/extensions">http://lnax30f:8888/BPELConsole</alticor:ManagementURL>
    </muws1:ComponentAddress>
    </muws1:ReporterComponent>
    <muws2:Situation xmlns:muws2="http://docs.oasis-open.org/wsdm/muws2-2.xsd">
    <muws2:SituationCategory>
    <muws2:CreateSituation/>
    </muws2:SituationCategory>
    <muws2:SuccessDisposition>Successful</muws2:SuccessDisposition>
    <muws2:Priority>1</muws2:Priority>
    <muws2:Severity>1</muws2:Severity>
    <muws2:Message>Tihs is a test message</muws2:Message>
    <muws2:SubstitutableMsg MsgId="T1" MsgIdType="wef://SOASuite/BPEL/log"/>
    </muws2:Situation>
    <alticor:ExtendedData xmlns:alticor="http://www.alticor.com/extensions" profile="PurchaseOrderKey"/>
    </ManagementEvent>'))
    Message was edited by:
    IT Intern

    Does the following return the error when setting l_data or making the call to your procedure?
    declare
      l_data    XMLTYPE;
    begin
      l_data := XMLType('<ManagementEvent xmlns:muws1="http://docs.oasis-open.org/wsdm/muws1-2.xsd" ReportTime="2007-12-04T10:34:00.000-05:00" xmlns="http://docs.oasis-open.org/wsdm/muws1-2.xsd">
    <muws1:EventId>wef://SOASuite/BPEL?eventId=12345</muws1:EventId>
    <muws1:SourceComponent>
    <muws1:ResourceId>wef://SOASuite/sandbox/BPEL/emf/raiseEventBPEL?instanceId=123456</muws1:ResourceId>
    <muws1:ComponentAddress>
    <alticor:ManagementURL xmlns:alticor="http://www.alticor.com/extensions">http://lnax30f:8888/BPELConsole</alticor:ManagementURL>
    </muws1:ComponentAddress>
    </muws1:SourceComponent>
    <muws1:ReporterComponent>
    <muws1:ResourceId>wef://SOASuite/sandbox/BPEL/emf/raiseEventBPEL?instanceId=123456</muws1:ResourceId>
    <muws1:ComponentAddress>
    <alticor:ManagementURL xmlns:alticor="http://www.alticor.com/extensions">http://lnax30f:8888/BPELConsole</alticor:ManagementURL>
    </muws1:ComponentAddress>
    </muws1:ReporterComponent>
    <muws2:Situation xmlns:muws2="http://docs.oasis-open.org/wsdm/muws2-2.xsd">
    <muws2:SituationCategory>
    <muws2:CreateSituation/>
    </muws2:SituationCategory>
    <muws2:SuccessDisposition>Successful</muws2:SuccessDisposition>
    <muws2:Priority>1</muws2:Priority>
    <muws2:Severity>1</muws2:Severity>
    <muws2:Message>Tihs is a test message</muws2:Message>
    <muws2:SubstitutableMsg MsgId="T1" MsgIdType="wef://SOASuite/BPEL/log"/>
    </muws2:Situation>
    <alticor:ExtendedData xmlns:alticor="http://www.alticor.com/extensions" profile="PurchaseOrderKey"/>
    </ManagementEvent>');
       EMF_INTERFACE_PKG.EMF_LOG_XML_PROC(l_data);
    end;

  • Web Service help - ORA-30625: method dispatch on NULL SELF errors

    Hi All
    I could do with some assistance getting Web service's up & running on my application
    I've been following this guide but altering to fit in with our internal web services... the Internet police here at work have youtube blocked off so unable to test end to end using the OTN tutorial
    I've created a web service named PASSWORDGEN with the results stored in the collection PASSWORDRESULT
    On my page I've created the process that invokes the webservice PASSWORDGEN which is set to run on load - before header - seq #10
    then created the pl/sql anonymous block process which is set to run on load - before header - seq #20
    I've used the pl/sql example given in the tutorial but substituted their references to collections with my named collection .
    declare
    l_clob clob;
    l_xml xmltype;
    l_val clob;
    begin
    for c1 in (select clob001
    from apex_collections
    where collection_name = 'PASSWORDRESULT'
    ) loop
    l_clob := c1.clob001;
    exit;
    end loop;
    l_xml := xmltype.createxml(l_clob);
    l_val := dbms_xmlgen.convert(l_xml.extract('/methodResponse/params/param/value/string/text()').getclobval(),1);
    apex_collection.update_member_attribute(
    p_collection_name => 'PASSWORDRESULT',
    p_seq => '1',
    p_clob_number => '1',
    p_clob_value => l_val );
    end;
    if I try to run the page at this point I get the error ORA-30625: method dispatch on NULL SELF argument is disallowed
    what I think is happening, from what I've read up on, is that the collection is empty?
    so I'm trying to find out if the web service is not populating the collection correctly or have I made a mistake in the above syntax & trying to reference the collection incorrectly.
    Is there a way I can query the collection using TOAD?
    Edited by: Mr JD on 21-Jul-2010 08:38

    ok so found the collection but when I invoke the web service the collection record is not populated. I've tested the webservice & a result is returned but for some reason when I either run the test or run the page which invokes the web service as a page render process the collection is still not populated.....
    what I'm I missing here as the setup of the web service is pretty straight forward & testing the web service does produce a result within the test window

  • Trigger error ORA-30625

    I created a trigger that executes a procedure on INSERT or UPDATE. This is the SQL of the trigger...
    DECLARE
    INDTS VARCHAR2(15);
    REPORTERS VARCHAR2(30);
    p_session myschema.wwa_api_module_session;
    begin
    INDTS:= p_session.get_value_as_varchar2(p_block_name=>'DEFAULT', p_attribute_name => 'A_INDT');
    REPORTERS:=p_session.get_value_as_varchar2(p_block_name=>'DEFAULT', p_attribute_name => 'A_REPORTER');
    nyspcr.alert_returned_transcripts(INDTS,REPORTERS);
    end; .
    Basically, the procedure takes in two values that were just inserted into the table to use in the WHERE statement of a query of another table..if there is a match a print statement appears.
    This trigger worked(executed the procedure,statement appeared) on the first couple of tries BUT I also got this error message
    ORA-30625: method dispatch on NULL SELF argument is disallowed (WWV-16016)
    ...THEN it stopped working and I still got this error message. What does it mean?

    I created a trigger that executes a procedure on INSERT or UPDATE. This is the SQL of the trigger...
    DECLARE
    INDTS VARCHAR2(15);
    REPORTERS VARCHAR2(30);
    p_session myschema.wwa_api_module_session;
    begin
    INDTS:= p_session.get_value_as_varchar2(p_block_name=>'DEFAULT', p_attribute_name => 'A_INDT');
    REPORTERS:=p_session.get_value_as_varchar2(p_block_name=>'DEFAULT', p_attribute_name => 'A_REPORTER');
    nyspcr.alert_returned_transcripts(INDTS,REPORTERS);
    end; .
    Basically, the procedure takes in two values that were just inserted into the table to use in the WHERE statement of a query of another table..if there is a match a print statement appears.
    This trigger worked(executed the procedure,statement appeared) on the first couple of tries BUT I also got this error message
    ORA-30625: method dispatch on NULL SELF argument is disallowed (WWV-16016)
    ...THEN it stopped working and I still got this error message. What does it mean?

  • ORA-30625 sys.xmltype

    every time when I run function GET_PURCHASEORDER_VALUE Oracle rises error ora-30625 in line*. I work in Oracle release 9.0.1.3.0. what shuld I do? help me. please.
    create or replace function GET_PURCHASEORDER_VALUE(PURCHASEORDER in sys.XMLTYPE)
    return number is
    LINEITEMS sys.XMLTYPE;
    LINEITEM sys.XMLTYPE;
    COST number;
    QUANTITY number;
    TOTAL number := 0;
    I binary_integer := 1;
    begin
    LINEITEMS := PURCHASEORDER.extract('//LineItem'); *
    loop
    LINEITEM := LINEITEMS.extract('/LineItem['||I||']');
    exit when LINEITEM is null;
    COST := LINEITEM.extract('/LineItem/Part/@UnitPrice').getNumberVal();
    QUANTITY := LINEITEM.extract('/LineItem/Part/@Quantity').getNumberVal();
    TOTAL := TOTAL + (COST * QUANTITY );
    I := I + 1;
    end loop;
    return TOTAL;
    end GET_PURCHASEORDER_VALUE;
    ORA-30625 method dispatch on NULL SELF argument is disallowed

    9.1.0.3 has limited XPATH support. Can you upgrade to 9.2.0.2?
    Can you try extractValue instead of extract?

  • Ora-30625/xmltype

    Hi!
    I got this error; ORA-30625: method dispatch on NULL SELF argument is disallowed,
    when I tried to do next:
    declare
    xml_lukio xmltype;     
    s1_k1 varchar2(60);
    select v.lukio_doc into xml_lukio
    from vp_lukiopohja v
    where koulutus=1;
    s1_k1:=xml_lukio.extract('/valintapisteytys/arvosanat/sarake1/kentta1/text()').getstringval();
    And this is what lukio_doc includes:
    <valintapisteytys xmlns="http://vp_skeemat/vp_skeema.xsd"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://vp_skeemat/vp_skeema.xsd
    http://vp_skeemat/vp_skeema.xsd">
    <arvosanat>
    <sarake1>
    <kentta1>Yo-todistus</kentta1>
    <kentta2>Lukion päättötodistus</kentta2>
    <kentta3>Lukion päättötodistuksen keskiarvo</kentta3>
    </sarake1>
    </arvosanat>
    </valintapisteytys>
    This worked earlier, when it did not include xml schema.
    So what's wrong?

    s1_k1:=xml_lukio.extract('/valintapisteytys/arvosanat/sarake1/kentta1/text()').getstringval();
    1. extract returns an XMLType. You are then invoking getStringVal on the XMLType returned by extract. If extract returns null you will get the error you are reported.
    2. Your Schema uses a lot of namespaces.
    <valintapisteytys xmlns="http://vp_skeemat/vp_skeema.xsd"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://vp_skeemat/vp_skeema.xsd
    http://vp_skeemat/vp_skeema.xsd">
    You need to pass these namespaces as a third argument to extract...
    s1_k1:=xml_lukio.extract
    ('/valintapisteytys/arvosanat/sarake1/kentta1/text()',xmlns="http://vp_skeemat/vp_skeema.xsd"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://vp_skeemat/vp_skeema.xsd
    http://vp_skeemat/vp_skeema.xsd"').getstringval();

  • Understanding ORA-30625

    Hi everybody
    I'd like to understand the ORA-30625 error that Oracle send while updating a table :
    update mytable set id = id ;
    returns : ORA-30625...
    What's my mistake ?
    Thanx.
    Here is what I've created :
    TYPE : USRDTE
    create or replace type UsrDte as object
    -- Attributes
    usr varchar2(30),
    dte date ,
    -- Member functions and procedures
    member procedure ValDef
    create or replace type body UsrDte is
    -- Member procedures and functions
    member procedure ValDef is
    begin
    usr := user ;
    dte := sysdate ;
    end ValDef ;
    end ;
    create or replace type T_COLSYS as object
    -- Attributes
    Creation UsrDte
    , Modific UsrDte
    -- Member functions and procedures
    , member procedure OnInsert
    , member procedure OnUpdate
    create or replace type body T_COLSYS is
    -- Member procedures and functions
    member procedure OnInsert is
    begin
    Creation.valDef ;
    end OnInsert ;
    member procedure OnUpdate is
    begin
    Modific.ValDef ;
    end OnUpdate ;
    end;
    TABLE :
    MyTable with column COLSYS of type T_COLSYS
    TRIGGER :
    -- Trigger Before on Mytable
    create or replace trigger MyTable_tb
    before insert or update or delete
    on MyTAble
    for each row
    declare
    -- local variables here
    begin
    if inserting
    then
    :new.colsys.onInsert ;
    elsif updating
    then
    :new.colsys.onUpdate ;
    elsif deleting
    then
    null ;
    end if;
    end MyTable_tb;

    SQL> CREATE OR REPLACE TYPE UsrDte AS OBJECT
      2  (
      3  -- Attributes
      4      usr VARCHAR2(30),
      5      dte DATE,
      6  -- Member functions and procedures
      7      MEMBER PROCEDURE ValDef
      8  ) ;
      9  /
    Type created.
    SQL>
    SQL> CREATE OR REPLACE TYPE BODY UsrDte IS
      2      -- Member procedures and functions
      3      MEMBER PROCEDURE ValDef IS
      4      BEGIN
      5          usr := USER;
      6          dte := SYSDATE;
      7      END ValDef;
      8  END;
      9  /
    Type body created.
    SQL>
    SQL>
    SQL> CREATE OR REPLACE TYPE T_COLSYS AS OBJECT
      2  (
      3  -- Attributes
      4      Creation UsrDte,
      5      Modific  UsrDte
      6  -- Member functions and procedures
      7  ,
      8      MEMBER PROCEDURE OnInsert,
      9      MEMBER PROCEDURE OnUpdate
    10  ) ;
    11  /
    Type created.
    SQL>
    SQL> CREATE OR REPLACE TYPE BODY T_COLSYS IS
      2      -- Member procedures and functions
      3      MEMBER PROCEDURE OnInsert IS
      4      BEGIN
      5          Creation.valDef;
      6      END OnInsert;
      7
      8      MEMBER PROCEDURE OnUpdate IS
      9      BEGIN
    10          Modific.ValDef;
    11      END OnUpdate;
    12  END;
    13  /
    Type body created.
    SQL>
    SQL>
    SQL> create table MyTable (id NUMBER, COLSYS T_COLSYS) ;
    Table created.
    SQL>
    SQL> CREATE OR REPLACE TRIGGER MyTable_tb
      2      BEFORE INSERT OR UPDATE OR DELETE ON MyTAble
      3      FOR EACH ROW
      4  DECLARE
      5      -- local variables here
      6  BEGIN
      7      :new.colsys := T_COLSYS(UsrDte(NULL, NULL), UsrDte(NULL, NULL)) ; /* might want to avoid on delete */
      8      IF inserting
      9      THEN
    10          :new.colsys.onInsert;
    11      ELSIF updating
    12      THEN
    13          :new.colsys.onUpdate;
    14      ELSIF deleting
    15      THEN
    16          NULL;
    17      END IF;
    18
    19  END MyTable_tb;
    20  /
    Trigger created.
    SQL>
    SQL>
    SQL> insert into mytable (id) values (1) ;
    1 row created.
    SQL>
    SQL> select * from mytable ;
            ID
    COLSYS(CREATION(USR, DTE), MODIFIC(USR, DTE))
             1
    T_COLSYS(USRDTE('OPS$XXXXX\XXXXX', '18-JUN-2004'), USRDTE(NULL, NULL))
    1 row selected.
    SQL>

  • Stacked with Error:-30625:ORA-30625: method dispatch on NULL SELF argument

    Hello guys!
    I'm totally stacked with Error:-30625 trying to execute CLN_CH_EVENT_SUBSCRIPTION_PKG.CREATE_EVENT_SUB procedure.
    i'm initializing that type object like:
    WF_EVENT_T.initialize(l_myevent_t);
    and then fill it with values...and then passing to that damned procedure. And then em getting error :(.
    Could you please somebody explain me what i'm doing wrong or what should i do to avoid this error?!?
    thanks in advance.

    To allow anyone the chance to answer your question, you will need to post the relevant code that leads up to the error code you reference. Without that information, silence is all you can hope to receive.

  • ORA-30625: method dispatch on NULL SELF argument on apply_dml_hanlder

    My apply dml handler fails with this message. This dml handler is being called on 10 tables. Is there any way to get the LCR info from the SCN number to track on which table it failed and debug the issue?
    Thank You

    your LCR is most probably in the spill over queue rather tha in the queue table. You have to open the AQ$_<cap table>P table. it contains columns of type anydata that embedded the LCR. It is not an easy task but it has been scripted.
    download smenu from www.smenu.org, install and type
    'aq -lq' to see all your queue tables
    'aq -readp <queue table>' to list contents of the queue table and the MSGID and SCN.
    pick one MSG that you want to see :
    'aq -readp <queue table> -key <MSGID> and you will see the before and after values of the rows contained in the MSG (LCR).
    if you want to see the SQL text for this SCN you and the archive is still present on your disk your can pick the SCN of the MSG ID, goes on the source DB (install also smenu) and type lgm -s <SCN> and you will see the text of the SQL at the orgin of this LCR (using logminer).
    I am not sure of the compatibility of Smenu for 9i. It has been started in 9I but streams on 9i is so painful that the compatibilty with this mess has not been cared about.

  • ORA-31013: Invalid XPATH expression -  Oracle9i

    Hello, I have to write a secure website call and below is the code snippet. I am getting following error
    ORA-31013: Invalid XPATH expression
    ORA-06512: at "SYS.XMLTYPE", line 0
    ORA-06512: at line 104
    This is on Oracle9i Enterprise Edition Release 9.2.0.6.0 - 64bit Production
    Code snippet
    soap_request :=
    '<?xml version="1.0" encoding="utf-8"?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Body>
    <NewOrder xmlns="urn:ws.xtech.net/xtechGateway">
    <newOrderRequest xsi:type="ns1:NewOrderRequestElement" xmlns:ns1="urn:ws.xtech.net/xtechGateway" xmlns="">
    <ns1:xConnectionUsername>'
    || 'XXXXXXXX'
    || '</ns1:xConnectionUsername>';
    UTL_HTTP.SET_WALLET ( 'file:/devdb/9.2.0/appsutil/wallet', 'password' );
    http_req :=
    UTL_HTTP.begin_request
    ('https://wsvar.xtech.net/xtechGateway',
    'POST',
    'HTTP/1.1'
    UTL_HTTP.set_header (http_req, 'Content-Type', 'text/xml');
    UTL_HTTP.set_header (http_req, 'Content-Length', LENGTH (soap_request));
    utl_http.set_header(http_req, 'SOAPAction', '');
    UTL_HTTP.write_text (http_req, soap_request);
    http_resp := UTL_HTTP.get_response (http_req);
    UTL_HTTP.read_text (http_resp, soap_respond);
    UTL_HTTP.end_response (http_resp);
    *resp := XMLTYPE.createxml (soap_respond);
    resp :=
    resp.EXTRACT
    ('/soap:Envelope/soap:Body/child::node()',
    'xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"'
    v_resp :=
    resp.EXTRACT ('NewOrderResponse/return/text ()', '"approvalStatus"').getstringval
    Not sure where Am I doing wrong. Please help
    Thanks,
    R

    Okay, I have removed the "ApprovalStatus" and replaced with the xmlns. Also, based on the description of child:node(), I think, then it is required.
    Now I am getting following error
    ORA-30625: method dispatch on NULL SELF argument is disallowed
    Below is the complete code and underneath code I am providing response XML structure
    I can't thank you enough for tracking this post for so long. Thank you so much, I really appreciate your diligence.
    Code_
    DECLARE
    soap_request CLOB;
    soap_respond CLOB;
    v_resp VARCHAR2 (100);
    v_order VARCHAR2 (100);
    v_line_number VARCHAR2 (100);
    http_req UTL_HTTP.req;
    http_resp UTL_HTTP.resp;
    resp XMLTYPE;
    BEGIN
    soap_request :=
    '<?xml version="1.0" encoding="utf-8"?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Body>
    <NewOrder xmlns="urn:ws.xtech.net/xtechGateway">
    <newOrderRequest xsi:type="ns1:NewOrderRequestElement" xmlns:ns1="urn:ws.xtech.net/xtechGateway" xmlns="">
    <ns1:XConnectionUsername>'
    || 'xxxxxxx'
    || '</ns1:xalConnectionUsername>'
    || '<ns1:xalConnectionPassword>'
    || 'xxxxxxx'
    || '</ns1:xalConnectionPassword>'
    || '<ns1:industryType>'
    || 'EC'
    || '</ns1:industryType>'
    || '<ns1:transType>'
    || 'AC'
    || '</ns1:transType>'
    || '<ns1:bin>'
    || '000002'
    || '</ns1:bin>'
    || '<ns1:merchantID>'
    || 700000208789
    || '</ns1:merchantID>'
    || '<ns1:terminalID>'
    || 001
    || '</ns1:terminalID>'
    || '<ns1:ccAccountNum>'
    || '4x1xxxx11x11x1xx1'
    || '</ns1:ccAccountNum>'
    || '<ns1:ccExp>'
    || '122012'
    || '</ns1:ccExp>'
    || '<ns1:ccCardVerifyPresenceInd>'
    || 2
    || '</ns1:ccCardVerifyPresenceInd>'
    || '<ns1:avsZip>'
    || 'T2H 2K6'
    || '</ns1:avsZip>'
    || '<ns1:avsAddress1>'
    || '112-7015 MACLEOD TRAIL SW'
    || '</ns1:avsAddress1>'
    || '<ns1:avsAddress2>'
    || ''
    || '</ns1:avsAddress2>'
    || '<ns1:avsCity>'
    || 'CALGARY'
    || '</ns1:avsCity>'
    || '<ns1:avsState>'
    || ''
    || '</ns1:avsState>'
    || '<ns1:avsName>'
    || 'Testing'
    || '</ns1:avsName>'
    || '<ns1:avsCountryCode>'
    || 'CA'
    || '</ns1:avsCountryCode>'
    || '<ns1:orderID>'
    || '31103142361483'
    || '</ns1:orderID>'
    || '<ns1:amount>'
    || 100
    || '</ns1:amount>'
    || '<ns1:comments>'
    || 'This is a AE AVSCVV AuthCap'
    || '</ns1:comments>'
    || '</newOrderRequest>'
    || '</NewOrder>'
    || '</soapenv:Body>'
    || '</soapenv:Envelope>';
    UTL_HTTP.set_wallet ('file:/a01/oracle/devdb/9.2.0/appsutil/wallet',
    'p4ssword'
    http_req :=
    UTL_HTTP.begin_request
    ('https://wsvar.xtech.net/xtechGateway',
    'POST',
    'HTTP/1.1'
    UTL_HTTP.set_header (http_req, 'Content-Type', 'text/xml');
    UTL_HTTP.set_header (http_req, 'Content-Length', LENGTH (soap_request));
    UTL_HTTP.set_header (http_req, 'SOAPAction', 'xmlns="urn:ws.xtech.net/xtechGateway"');
    UTL_HTTP.write_text (http_req, soap_request);
    http_resp := UTL_HTTP.get_response (http_req);
    UTL_HTTP.read_text (http_resp, soap_respond);
    UTL_HTTP.end_response (http_resp);
    resp := XMLTYPE.createxml (soap_respond);
    resp :=
    resp.EXTRACT ('/soap:Envelope/soap:Body/child::node()',
    'xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"'
    v_resp :=trunc(resp.EXTRACT ('/NewOrderResponse/return/text ()','xmlns:ns1="urn:ws.xtech.net/xtechGateway"').getstringval());
    DBMS_OUTPUT.put_line ('Response: ' || v_resp);
    END;
    XML Response Structure_
    <xml>
    <?xml version="1.0" encoding="UTF-8"?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns="urn:ws.xtech.net/xtechGateway">
    <SOAP-ENV:Body id="_0">
    <NewOrderResponse xmlns="urn:ws.xtech.net/xtechGateway" xsi:type="ns:NewOrderResponse">
    <return xsi:type="ns:NewOrderResponseElement">
    <industryType xsi:type="xsd:string">EC</industryType>
    <transType xsi:type="xsd:string">AC</transType>
    <bin xsi:type="xsd:string">000001</bin>
    <merchantID xsi:type="xsd:string">041756</merchantID>
    <terminalID xsi:type="xsd:string">001</terminalID>
    <cardBrand xsi:type="xsd:string">DI</cardBrand>
    <orderID xsi:type="xsd:string">31103142361483</orderID>
    <txRefNum xsi:type="xsd:string">41C09DBC1D0710F4635C1156509F3CCF491F545E</txRefNum>
    <txRefIdx xsi:type="xsd:string">1</txRefIdx>
    <respDateTime xsi:type="xsd:string">20041215152533</respDateTime>
    <procStatus xsi:type="xsd:string">0</procStatus>
    <approvalStatus xsi:type="xsd:string">1</approvalStatus>
    <respCode xsi:type="xsd:string">00</respCode>
    <avsRespCode xsi:type="xsd:string">B </avsRespCode>
    <cvvRespCode xsi:type="xsd:string">P</cvvRespCode>
    <authorizationCode xsi:type="xsd:string">tst993</authorizationCode>
    <mcRecurringAdvCode xsi:type="xsd:string"/>
    <visaVbVRespCode xsi:type="xsd:string"/>
    <procStatusMessage xsi:type="xsd:string">Approved</procStatusMessage>
    <hostRespCode xsi:type="xsd:string">100</hostRespCode>
    <hostAVSRespCode xsi:type="xsd:string">I3</hostAVSRespCode>
    <hostCVVRespCode xsi:type="xsd:string">P</hostCVVRespCode>
    <retryAttempCount xsi:type="xsd:string"/>
    <lastRetryDate xsi:type="xsd:string"/>
    <customerRefNum xsi:type="xsd:string"/>
    <customerName xsi:type="xsd:string"/>
    <profileProcStatus xsi:type="xsd:string"/>
    <profileProcStatusMsg xsi:type="xsd:string"/>
    </return>
    </NewOrderResponse>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope> </xml>
    Edited by: user2913945 on Mar 8, 2010 10:42 AM

  • Getting "ORA-00932: inconsistent datatypes: expected - got CLOB"

    Hi:
    I've got a stored procedure that is attempting to open a cursor for a SQL string and getting an error. The query in the string is only a select (i.e. I'm not updating anything). I'm not doing a bind because the sole reason for doing any of this is just to validate the SQL. I am given some XML and I translate it into SQL and before saving the XML off because I want to verify that it actually translates into valid SQL. The validation test is dmbs_sql.parse().
    I've tried using varchar2 and CLOB as the sql string argument but still get the error. What is the inconsistency that Oracle is complaining about?
    Oracle 10.2.0.3 on RHEL 4 (64 bit)
    Thanks
    PROCEDURE SaveXML(XMLClob in CLOB, status out integer) IS
        chandle                      INT;
        sqlString                     VARCHAR2(4000);
        errorString                  VARCHAR2(300) := 'NO ERRORS.' ;
        xmldata                      XMLType;  -- The XMLType format of the XML to transform
        xsldata                       XMLType;  -- The XMLType format of the stylesheet to apply
        stylesheetClob             CLOB;   -- The stylesheet in CLOB form.
    BEGIN
        status := -1;
        -- Before saving, convert the XML to SQL and parse it to verify that it will in
        -- fact be able to be represented later as a valid SQL query. 
        -- Get the stylesheet from the stylesheet table.
        select stylesheet into stylesheetClob from saved_query_stylesheets
            where name = 'SAVED_QUERY.XSL' and rownum = 1
            order by version desc;
        xmldata := XMLType.createXML(XMLClob);
        xsldata :=  XMLType.createXML(stylesheetClob);
        sqlString := rto_char(dbms_xmlgen.convert(xmldata.transform(xsldata).getStringVal(),
                    dbms_xmlgen.ENTITY_DECODE) ) ;
        -- dbms_output.put_line('Length of query string is ' || length(sqlString));
        if(length(sqlString) <= 0) then
            dbms_output.put_line('NO sqlString obtained!');
            return;
        end if;
        begin -- catch the exception in this block
            dbms_output.put_line('SaveXML(): parsing XML now.');
            -- The parse command wants a cursor
            chandle := dbms_sql.open_cursor;   
            Dbms_sql.parse(chandle, sqlString, DBMS_SQL.NATIVE);
            DBMS_SQL.CLOSE_CURSOR(chandle);
            status := 0;
            dbms_output.put_line('SaveXML() successful!!  Returning...');
            EXCEPTION
                WHEN OTHERS THEN 
                DBMS_SQL.CLOSE_CURSOR(chandle);       
                DBMS_OUTPUT.PUT_LINE('Exception occurred and caught! ' || SQLERRM);
        end ;  
    EXCEPTION
      WHEN OTHERS THEN         
       DBMS_OUTPUT.PUT_LINE('Exception occurred ' || SQLERRM);
      status := 0;
    END SaveXML;

    Do you mean
    select dbms_lob.SUBSTR(stylesheet ,1,2000) into stylesheetClob from saved_query_stylesheets
    where name = 'SAVED_QUERY.XSL' and rownum = 1
    order by version desc;
    I modified it to be dbms_lob.SUBLSTR(stylesheet,1,4000)...
    and now I get a different errror.
    Exception occurred ORA-30625: method dispatch on NULL SELF argument is disallowed
    This makes me think that internally there is an extract on an empty node or something, i.e., it's data related?
    Update: I think I'm getting the 30625 error because one of my clobs is null and I'm getting the final query string by using (among other things) a command that includes getStringVar().
    SQLQuery := dbms_xmlgen.convert(xmldata.transform(xsldata).getStringVal(), dbms_xmlgen.ENTITY_DECODE);So I guess I'll track that down :)
    SUBSTR(
    STR1 CLOB CHARACTER SET ANY_CS,
    POS  NUMBER,                -- starting position
    LEN  NUMBER := 2147483647)  -- number of characters
    RETURN CLOB CHARACTER SET STR1%CHARSET;
    Edited by: Gaff on Apr 21, 2009 10:55 AM

Maybe you are looking for

  • Opening just one picture at a time

    Every time that I try to open more than one picture in my workspace CS5 does it on top of the previous picture and I cannot move the pictures around, it is like the new picture replace the previous one, even if I close the picture recently opened the

  • What's happening when I change tempo?

    I have some audio tracks that have been chopped into regions. The regions are butted up to one another. They are pieces from different tracks that have been put together. I noticed that if I change the tempo in the transport window, I end up either w

  • MMD Hard Drive issues

    I attempted to install a new PATA hard drive and was never able to get it to be recognized or mount, no matter I gave up on that and went back to my original configuration to find that my 3rd small drive was now unreadable. I erased that and remounte

  • Report Script - How to get the total on the any number of rows selected

    Hi,<BR>I am using Essase and report script for the reporting purpose. In this i would like to know how to get the sum of all the rows selected. I know we can use the calculate row, but it has to be done with print row to display the newly created row

  • Dw cs5 BUG: record insertion Form

    TO RECREATE: When dreamweaver CS5 is connected to Coldfusion 8 and MySql server, And the mySql table field contains allow "NULL" (that is allows NULL) the "Record Insertion Form" generates incorrect code. The varchar(50) does not work -- it incorrect