Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ORA-30625 Null Self Error when using WF_PARAMETER_LIST_T

612246May 10 2008 — edited May 11 2008
Hello,

I am experiencing a problem for which I could not find any references on metalink or the forums.

In my PLSQL program, I am calling the Business Event WF_EVENT api:

wf_event.AddParameterToList(l_key, l_name, l_parameter_list);


Before calling the API above, I declare the variable as follows:

l_parameter_list wf_parameter_list_t := wf_parameter_list_t();

When I run this program, the API invocation gives error: ORA-30625: method dispatch on NULL SELF argument is disallowed

I understand that this error is equivalen of a 'NULL POINTER" exception in the java world.

I can't understand why this exception is being thrown when

1) I have declared and created the variable so it's not null
2) even if it was null, the documentation of wf_event.AddParameterToList says that it creates the list if it is null.

I am quite new to PLSQL, so I am sure I am doing something silly that's causing this problem. Any help you can provide will be much appreciated.

thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 8 2008
Added on May 10 2008
5 comments
2,402 views