Welcome to the dBforums forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

If you prefer not to see double-underlined words and corresponding ads, place your cursor
here for ContentLink opt out.

Go Back  dBforums > Data Access, Manipulation & Batch Languages > ANSI SQL > ORA-06530 :Reference to uninitialised composite

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-15-02, 07:04
kanchana kanchana is offline
Registered User
 
Join Date: Mar 2002
Posts: 3
Post ORA-06530 :Reference to uninitialised composite

Encountering the error message : ORA-06530: Reference to uninitialized composite

-->Package uses table index by binary integer and also the array values are initialized by opening and fetching from a cursor.
There is no pattern for this error and it occurs randomly.

Please suggest.

Thanks
kanchana.
Reply With Quote
  #2 (permalink)  
Old 03-15-02, 07:55
alligatorsql.com alligatorsql.com is offline
Registered User
 
Join Date: Jul 2001
Location: Germany
Posts: 189
Hello kanchana,

can I get the code - please ?

Thanks

Manfred Peter
(Alligator Company)
http://www.alligatorsql.com
Reply With Quote
  #3 (permalink)  
Old 03-15-02, 08:02
alligatorsql.com alligatorsql.com is offline
Registered User
 
Join Date: Jul 2001
Location: Germany
Posts: 189
Hello again,

it could be that your programm runs out of process memory.
Could it be, that you get an ORA-04030
ORA-04030: out of process memory when trying to allocate xxxxxxx bytes
after the ORA-06530 ?

I think that makes sense - cause Oracle try to initialise a var - and it needs process memory for that operation ...

Hope this helps.

Manfred Peter
(Alligator Company)
http://www.alligatorsql.com
Reply With Quote
  #4 (permalink)  
Old 03-15-02, 08:05
kanchana kanchana is offline
Registered User
 
Join Date: Mar 2002
Posts: 3
--the declaration part :GLOBAL TO THE PACKAGE
TYPE char8_array IS TABLE OF CHAR(8)

INDEX BY BINARY_INTEGER;

TYPE char12_array IS TABLE OF CHAR(12)

INDEX BY BINARY_INTEGER;

TYPE char4_array IS TABLE OF CHAR(4)

INDEX BY BINARY_INTEGER;

TYPE char1_array IS TABLE OF CHAR(1)

INDEX BY BINARY_INTEGER;

TYPE char10_array IS TABLE OF CHAR(10)

INDEX BY BINARY_INTEGER;

TYPE number_array IS TABLE OF NUMBER(10,3)

INDEX BY BINARY_INTEGER;



pur_date_arr char8_array;

time_arr char4_array;

pc_arr char4_array;

item_arr char12_array;

shop_arr char10_array;

hhold_arr char10_array;

price_arr number_array;

prc_grp_arr char1_array;

pricedev_arr number_array;

tempprice_arr number_array;



--the part of the body of the package which uses the array elements :

--CUR2 IS A VARIABLE DEFINED AS TYPE OF CURSOR C2.
--THERE IS NO PROBLEM WITH THE CURSOR DECLARATION OR FOR RETRIEVING THE VALUES OF THE CURSOR
FOR CUR2 IN C2 LOOP

pur_date_arr(counter1) := CUR2.DT_PUR_DATE;
time_arr(counter1):= CUR2.AC_TIME;
hhold_arr(counter1):= CUR2.AC_HHOLD;
shop_arr(counter1):= CUR2.AC_SHOP;
price_arr(counter1):= CUR2.NC_DATAVALUE;
prc_grp_arr(counter1) := CUR2.AC_PRICE_GRP;
counter1 := counter1 +1 ;
END LOOP;
--loop for cursor fetch :end

AFTER SOME FETCHES , THE ERROR OCCURS

Thanks.
Reply With Quote
  #5 (permalink)  
Old 03-15-02, 08:07
kanchana kanchana is offline
Registered User
 
Join Date: Mar 2002
Posts: 3
Quote:
Originally posted by alligatorsql.com
Hello again,

it could be that your programm runs out of process memory.
Could it be, that you get an ORA-04030
ORA-04030: out of process memory when trying to allocate xxxxxxx bytes
after the ORA-06530 ?

I think that makes sense - cause Oracle try to initialise a var - and it needs process memory for that operation ...

Hope this helps.

Manfred Peter
(Alligator Company)
http://www.alligatorsql.com

--------------
No after the ORA-06530 the program terminates and crashes.
There is no other error message reported.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On