473,378 Members | 1,456 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

ORA-06531: Reference to uninitialized collection

I am invoking one Package Procedure in a PLSQL Block.The Procedure is

PROCEDURE createFault(
reportedBy IN varchar2,
reportedDate IN date,
description IN varchar2,
priority IN number,
workgroup IN WorkgroupID,--Subtype as varchar2(20)
creatingUser IN UserID,--subtype as varchar2(40)
faultAttributes IN AttributesList,--collectiontype MAY BE NULL
initialClassifications IN AttributesList,--collectiontype MAY BE NULL
createdFaultId OUT FaultID, subtype number
returnStatus OUT CallStatus);


Invoking Block:



declare
v_reportedBy varchar2(40):='Prasanna';
v_reportedDate date:= sysdate ;
v_description varchar2(80):='Test';
v_priority number:=1;
v_workgroup varchar2(20):='UNIT_1';
v_creatingUser varchar2(40):='CLARITY_DEMO';
returnstatus CallStatus;
v_faultAttributes AttributesList := NULL;
v_initialClassifications AttributesList := NULL;
v_createdFaultId number;

begin
P_FAULTMGR_API.createFault(v_reportedBy,v_reported Date,v_description,v_priority,v_workgroup,v_creati ngUser,
v_faultAttributes,v_initialClassifications,v_creat edFaultId,returnstatus );

DBMS_OUTPUT.PUT_LINE('Fault NUMBER :' ||v_createdFaultId);
DBMS_OUTPUT.PUT_LINE('ResponseCode : ' ||returnstatus.CODE);
DBMS_OUTPUT.PUT_LINE('ResponseText :' || returnstatus.MSG);
DBMS_OUTPUT.PUT_LINE('ResponseType :' || returnstatus.CODETYPE);
END;


After Execution in SQL Plus:

Error in p_faultmgr_api.createFault ORA-06531: Reference to uninitialized
collection
Fault NUMBER :
ResponseCode :
ResponseText :Error in p_faultmgr_api.createFault ORA-06531: Reference to
uninitialized collection
ResponseType :FLT

PL/SQL procedure successfully completed.




Can Anybody please help me out?

Thanks in Advance....
Nov 2 '06 #1
0 7039

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Subrahmanyam Arya | last post by:
Dear oracle gurus, I am unable to get past the error ORA-12154: TNS: could not resolve service name on my host when using hsodbc to talk to a remote mysql database. i got from the meta link all...
6
by: John | last post by:
Hi Right password -> ORA-12154: TNS:Could not resolve service name wrong password => ORA-01017: invalid username/password; logon denied Tested on a Windows XP client connecting to Oracle on...
1
by: Park Yeon Jo | last post by:
About Error : ORA-12514: TNS:listener could not resolve SERVICE_NAME given in connect descriptor I installed Oracle 8.1.7 on Windows XP Professional. and I wanto connect to that server...
1
by: Adam Ruth | last post by:
I'm using OCI on Mac OS X and I've run into a strange problem with my TNSNAMES.ORA file. My TNSNAMES.ORA file has one entry INV4II and it works fine. However, it will only work if that is the...
6
by: bdj | last post by:
Hello! I have at set of tnsnames.ora. I wich to make an union, e.g. a single file of it. How can I do that easy? Greetings Bjørn
4
by: Tig | last post by:
Hi all. I have a need to connect to an Oracle 7.3.3.5 database. I have a user who successfully connects to it with her Oracle 7.3 client. I have an Oracle 9.2 client installed on my machine. ...
2
by: mpatel6 | last post by:
I had this error in alert log and my instance was down, anybody can help me? Errors in file /u01/app/oracle/admin/sotstest/bdump/sotstest_p004_626740.trc: ORA-07445: exception encountered: core...
5
by: mivey4 | last post by:
Hi, First off, I am aware that this is a very heavily documented error and I have done my homework for throughly researching probable causes before deciding to post my problem here. At this point,...
0
by: basmgokul | last post by:
I am using oracle 10g in windows vista.. when starting DB it throws an error Errors in file c:\database\udump\practice_ora_440.trc: ORA-00704: bootstrap process failure ORA-39700: database...
1
by: michael ngong | last post by:
michael.john@gmx.at (Michael John) wrote in message news:<90cc4edd.0306230900.28075193@posting.google.com>... MIchael I you stated the OS and platform that could make it easier to address your...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.