i am getting these errors when i was trying to comile this function.
Error1 - PLS-00801: internal error [20605]
Error2 - PL/SQL: ORA-06544: PL/SQL: internal error, arguments: [20605], [], [], [], [], [], [], [].

i am using pipeline function for getting records from a function, that function is calling to another function.
please help me out.

CREATE OR REPLACE FUNCTION funCBForEventdate(v_insured_id IN varchar2)
RETURN myTableType PIPELINED
IS
bvForScreen varchar2(30) := NULL;
v_given_name varchar2(150) ;
v_ReportedClaim varchar2(30) ;
v_NonReportedClaim varchar2(30) ;
v_Company varchar2(60) ;
v_policy_number varchar2(20) ;
v_cession_id varchar2(30) ;
v_BENEFIT_NAME varchar2(256) ;
v_Par_Nonpar varchar2(30) ;
v_aar NUMBER ;
v_Status varchar2(30) ;
v_StatusDate date ;


CURSOR c1 IS
SELECT distinct cb.cession_benefit_id, claimevent.event_date
FROM ces_benefit_version bv,
ces_risk_assessment ra,
ins_name ins,
ces_benefit cb,
ces_cession c,
trt_plan_benefit tpb,
trt_plan tp,
(SELECT ce.insured_id, event_date
FROM clm_event ce, ins_insured ins, ins_name inm
WHERE ins.insured_id = inm.insured_id
AND ce.insured_id = ins.insured_id
AND inm.insured_id = v_insured_id --'tstdat-525300'
) claimevent,
(SELECT VALUE
FROM co_company co, co_operating_parameter cop
WHERE co.company_id = cop.owner_id
AND company_oper_param_type_id = 'resoft-346596' /*CBS*/
AND company_code = 'RGAUSA' /*Logged in Managed Company*/) graceperiod
WHERE cb.assuming_benefit_id = tpb.treaty_benefit_id
AND tpb.treaty_plan_id = tp.treaty_plan_id
AND cb.cession_id = c.cession_id
AND cb.is_wip <> '1'
AND ins.insured_id = claimevent.insured_id
AND ( bv.change_effective_date <=
(claimevent.event_date + graceperiod.VALUE
)
OR (bv.change_effective_date IS NULL)
)
AND ( (bv.change_end_date IS NULL)
OR (bv.change_end_date >=
(claimevent.event_date - graceperiod.VALUE
)
)
)
AND bv.cession_benefit_id = cb.cession_benefit_id
AND bv.is_history = '0'
AND ra.parent_benefit_version_id = bv.benefit_version_id
AND ins.insured_name_id = ra.insured_name_id;
-- AND ins.insured_id = :insured_id;

BEGIN
for c1_rec in c1 loop
dbms_output.put_line('Main Event_Date- ' || c1_rec.event_date );
dbms_output.put_line('Main Cession Benefit ID- ' || c1_rec.cession_benefit_id);

select funFilterBV(c1_rec.cession_benefit_id,c1_rec.event_date) into bvForScreen from dual;

select ins.given_name, '' ReportedClaim, '' NonReportedClaim,
(select company_name from co_company where company_id = c.CEDING_COMPANY_ID) Company,
c.policy_number, c.cession_id, tpb.BENEFIT_NAME,
nvl(getmlt(getabbrid(tp.PARTICIPATION_TYPE_ID),'resoft-101'),'Undefined') "Par/Nonpar",
getAAR(bv.benefit_version_id, claimevent.event_date) aar,
getmlt(getabbrid(bv.BENEFIT_VERSION_STATUS_ID),'resoft-101') Status,
bv.CHANGE_EFFECTIVE_DATE StatusDate
INTO v_given_name,v_ReportedClaim,v_NonReportedClaim,v_Company,v_policy_number,v_cession_id,v_BENEFIT_NAM E,v_Par/Nonpar,v_aar,v_Status,v_StatusDate
From ces_benefit_version bv,
ces_benefit cb,
ces_cession c,
trt_plan_benefit tpb,
trt_plan tp,
ins_name ins,
(select ce.insured_id, event_date from clm_event ce, ins_insured ins, ins_name inm where
ins.insured_id = inm.insured_id
and ce.insured_id = ins.insured_id
-- and inm.INSURED_NAME_ID = 'tstdat-525300'
) claimevent
where cb.ASSUMING_BENEFIT_ID = tpb.TREATY_BENEFIT_ID
AND tpb.TREATY_PLAN_ID = tp.TREATY_PLAN_ID
AND cb.CESSION_BENEFIT_ID = bv.CESSION_BENEFIT_ID
AND cb.cession_id = c.cession_id
AND bv.BENEFIT_VERSION_ID = bvForScreen
AND ins.insured_id = claimevent.insured_id ;

PIPE ROW (pipeObjectFormat(bvForScreen,v_given_name,v_ReportedClaim,v_NonReportedClaim,v_Company,v_policy_num ber,v_cession_id,v_BENEFIT_NAME,v_Par_Nonpar,v_aar,v_Status,v_StatusDate));


exit when c1%NOTFOUND;
END LOOP;
dbms_output.put_line('Last Main' || bvForScreen ) ;

RETURN;
END funCBForEventdate;
/

Thanks
rjain