WebcamPublisher null error at line 1066
Hello.
I don't know if this was reported or not but is a very weird situation.
I have two buttons to start an AudioPublisher and an WebcamPublisher.
<rtc:WebcamPublisher id="wcPublisher" />
<rtc:AudioPublisher id="audioPublisher"/>
<mx:Button
toggle="true" id="camButt" click="handleClickVideo()"/>
<mx:Button
toggle="true" id="btnMic" click="handleClickMic()"/>
In those methods if the button is selected i publish or stop. On first time everything works properly, I can start microphone alone, start camera alone, stop both. After I stop the camera and try to start the microphone again I receive two null errors from WebcamPublisher, not from AudioPublisher. This is weird, there are any connections between webcamPublisher and audioPublisher for the same session? As I check the sources at line 1066 is the onNetStatus method and at 1075 is making the same call _stream.send(), both giving null. Maybe because I stop the webcamPublisher is making the _stream null.
I'm using the Flex SDK for FP10. Can you please tell me if is something that I miss?
Thank you,
andrei.
Hello.
I've modified your code and add the changes that I've done on my code. I couldn't replicate the error.
After I made some tests in my project and still getting the error I went in your code and instead of integrating the afcs.swc library I've copied the source files for player10. Then I could replicate the error also in your project(the project with your code). I've set a if on line 1066 and 1075 to check if the stream is null and it fixed (the sound was working without microphone).
I think is ok if I'll use the source files instead of afcs.swc library.
If you find a connection why the AudioPublisher can get bound with WebcamPublisher may give me an ideea why this is happening. I forgot to say that in my session I also have an AudioSubscriber and WebcamSubscriber to listen the publisher.
Thank you,
andrei.
Similar Messages
-
Help for debug un package PL/SQL error at line 723 Encountered
create or replace package body SPR_AP_FUSION_EXTRACT_PKG is
PROCEDURE MAIN_FUSION_EXTRACT(
pv_errbuff IN OUT VARCHAR2,
pn_retcode IN OUT NUMBER
IS
lv_ligne VARCHAR2 (500);
lv_rep VARCHAR2 (260); --:= '/usr/tmp';
ln_retcode NUMBER;
vv_separator VARCHAR2 (2) := ';';
ln_compteur_lignes NUMBER := 0; -- nombre de lignes insérées dans le fichier
ln_counteur NUMBER := 0;
vv_buffer VARCHAR2 (32000);
vv_buffer_et VARCHAR2 (32000);
vv_buffer_etold VARCHAR2 (32000);
lt_id UTL_FILE.file_type;
ln_counter NUMBER (24, 0);
lv_seq VARCHAR2 (30);
lv_num_paiement VARCHAR2 (10);
flag_ecriture VARCHAR2 (1);
lv_filler_ligne VARCHAR2 (500);
ln_long_buff NUMBER := 0;
ln_compteur_factures NUMBER := 0;
lv_name VARCHAR2 (500);
vv_entete VARCHAR2 (500);
LV_INVOICE_ID ap_invoices_all.invoice_id%type;
ln_compteur_hold NUMBER := 0;
lv_hode_reason VARCHAR2 (500);
lv_release_reason VARCHAR2 (500);
lv_societe_absorbee VARCHAR2 (500);
lv_societe_absorbante VARCHAR2 (500);
ln_org_id NUMBER := 0;
lv_date_fusion DATE;
err_non_parameter Exception;
err_Soc_sr Exception;
err_file_write Exception;
err_file_invalid_path Exception;
err_ecriture_file Exception;
CURSOR cur_ap_hold_invoices
( LV$invoice_id IN AP_invoices_all.Invoice_Id%TYPE)
IS
SELECT aha.hold_reason, aha.release_reason
from ap_holds_all aha
where aha.invoice_id = LV$invoice_id
rec_ap_hold_invoices cur_ap_hold_invoices%ROWTYPE;
--Enregistrement "DESTINATAIRE"
CURSOR cur_fusion_extract_AP_invoice
( LV$Societe_absorbee IN cgey_parameters.VARCHAR2_VALUE%Type,
LV$Societe_absorbant IN cgey_parameters.VARCHAR2_VALUE%Type,
LV$Date_fusion IN cgey_parameters.DATE_VALUE%Type
IS
SELECT
Aia.Invoice_Id
, Aia.Invoice_Num
, Aia.Invoice_Type_Lookup_Code
, Aia.Invoice_Date
, Pv.Vendor_Id
, Pv.Segment1
, Pv.Vendor_Name
, pvsa.Vendor_Site_Id
, Pvsa.Vendor_Site_Code
, aia.invoice_amount
, aia.amount_paid
-- RG3: Montant repris = valeur restante a regler
, ROUND (NVL(SUM(Apsa.Amount_Remaining),0),2) Amount_Remaining
, Ap_Invoices_Utility_Pkg.get_approval_status(aia.invoice_id,aia.invoice_amount,aia.payment_status_flag,aia.invoice_type_lookup_code) STATUT
, aia.invoice_currency_code
, aia.exchange_rate
, aia.exchange_rate_type
, aia.exchange_date
, Ate.Name Terms_Name
, aia.terms_date
, aia.source
, aia.doc_category_code
, aia.payment_method_lookup_code
, aia.pay_group_lookup_code
, aia.gl_date
, Aia.Doc_Sequence_Id
, aia.accts_pay_code_combination_id
, CGEY_TOOLS_PKG.get_segments_from_ccid(Aia.Accts_Pay_Code_Combination_Id) Cle_Comptable_Founisseur
, aia.org_id
, aia.payment_cross_rate_type
, aia.payment_cross_rate_date
, aia.payment_cross_rate
, aia.payment_currency_code
, aia.attribute_category
, Aia.Attribute1
, Aia.Attribute2
, Aia.Attribute3
, Aia.Attribute4
, Aia.Attribute5
, Aia.Attribute6
, Aia.Attribute7
, Aia.Attribute8
, Aia.Attribute9
, Aia.Attribute10
, Aia.Attribute11
, Aia.Attribute12
, Aia.Attribute13
, Aia.Attribute14
, Aia.Attribute15
, Aia.Global_Attribute_Category
, Aia.Global_Attribute1
, Aia.Global_Attribute2
, Aia.Global_Attribute3
, Aia.Global_Attribute4
, Aia.Global_Attribute5
, Aia.Global_Attribute6
, Aia.Global_Attribute7
, Aia.Global_Attribute8
, Aia.Global_Attribute9
, Aia.Global_Attribute10
, Aia.Global_Attribute11
, Aia.Global_Attribute12
, Aia.Global_Attribute13
, Aia.Global_Attribute14
, Aia.Global_Attribute15
, Aia.Global_Attribute16
, Aia.Global_Attribute17
, Aia.Global_Attribute18
, Aia.Global_Attribute19
, Aia.Global_Attribute20
FROM
Ap_Invoices_All Aia
, Ap_Payment_Schedules_All Apsa
, Po_Vendor_Sites_All Pvsa
, Ap_Terms Ate
, Po_Vendors Pv
WHERE
1=1
-- RG1: Type de la facture
AND Aia.invoice_type_lookup_code IN ('STANDARD', 'CREDIT', 'DEBIT')
AND Apsa.Invoice_Id = Aia.Invoice_Id
AND Pvsa.Vendor_Site_Id = Aia.Vendor_Site_Id
AND Ate.Term_Id = Aia.Terms_Id
AND Pv.Vendor_Id = Aia.Vendor_Id
-- RG 1: pour les factures créées antétieur à la date de fusion
AND Aia.Creation_Date < LV$Date_fusion
-- RG1: Ensemble des lignes de la facture postees
AND NOT EXISTS ( SELECT 'x'
FROM
Ap_Invoice_Distributions_All Aida
WHERE
Aida.Invoice_id = Aia.Invoice_Id
AND NVL(Aida.Accrual_Posted_Flag,'N') <> 'Y' )
-- pour la société absorbée
AND aia.org_id = (select ORGANIZATION_ID from HR_ALL_ORGANIZATION_UNITS HAOU
where HAOU.Name = LV$Societe_absorbee
GROUP BY
Aia.Invoice_Id
, Aia.Invoice_Num
, Aia.Invoice_Type_Lookup_Code
, Aia.Invoice_Date
, Pv.Vendor_Id
, Pv.Segment1
, Pv.Vendor_Name
, pvsa.Vendor_Site_Id
, Pvsa.Vendor_Site_Code
, aia.invoice_amount
, aia.amount_paid
-- RG3: Montant repris = valeur restante a regler
, Apsa.Amount_Remaining
, aia.payment_status_flag
, aia.invoice_currency_code
, aia.exchange_rate
, aia.exchange_rate_type
, aia.exchange_date
, Ate.Name
, aia.terms_date
, aia.source
, aia.doc_category_code
, aia.payment_method_lookup_code
, aia.pay_group_lookup_code
, aia.gl_date
, Aia.Doc_Sequence_Id
, aia.accts_pay_code_combination_id
, aia.org_id
, aia.payment_cross_rate_type
, aia.payment_cross_rate_date
, aia.payment_cross_rate
, aia.payment_currency_code
, aia.attribute_category
, Aia.Attribute1
, Aia.Attribute2
, Aia.Attribute3
, Aia.Attribute4
, Aia.Attribute5
, Aia.Attribute6
, Aia.Attribute7
, Aia.Attribute8
, Aia.Attribute9
, Aia.Attribute10
, Aia.Attribute11
, Aia.Attribute12
, Aia.Attribute13
, Aia.Attribute14
, Aia.Attribute15
, Aia.Global_Attribute_Category
, Aia.Global_Attribute1
, Aia.Global_Attribute2
, Aia.Global_Attribute3
, Aia.Global_Attribute4
, Aia.Global_Attribute5
, Aia.Global_Attribute6
, Aia.Global_Attribute7
, Aia.Global_Attribute8
, Aia.Global_Attribute9
, Aia.Global_Attribute10
, Aia.Global_Attribute11
, Aia.Global_Attribute12
, Aia.Global_Attribute13
, Aia.Global_Attribute14
, Aia.Global_Attribute15
, Aia.Global_Attribute16
, Aia.Global_Attribute17
, Aia.Global_Attribute18
, Aia.Global_Attribute19
, Aia.Global_Attribute20
HAVING NVL(SUM(Apsa.Amount_Remaining),0) <> 0
UNION ALL
SELECT
Aia.Invoice_Id
, Aia.Invoice_Num
, Aia.Invoice_Type_Lookup_Code
, Aia.Invoice_Date
, Pv.Vendor_Id
, Pv.Segment1
, Pv.Vendor_Name
, pvsa.Vendor_Site_Id
, Pvsa.Vendor_Site_Code
, aia.invoice_amount
, aia.amount_paid
-- RG3: Montant repris = valeur restante a regler
, Ap_Invoices_Utility_PKG.get_prepay_amount_remaining (Aia.invoice_Id) "Amount_Remaining"
, Ap_Invoices_Utility_Pkg.get_approval_status(aia.invoice_id,aia.invoice_amount,aia.payment_status_flag,aia.invoice_type_lookup_code) STATUT
, aia.invoice_currency_code
, aia.exchange_rate
, aia.exchange_rate_type
, aia.exchange_date
, Ate.Name Terms_Name
, aia.terms_date
, aia.source
, aia.doc_category_code
, aia.payment_method_lookup_code
, aia.pay_group_lookup_code
, aia.gl_date
, Aia.Doc_Sequence_Id
, aia.accts_pay_code_combination_id
, CGEY_TOOLS_PKG.get_segments_from_ccid(Aia.Accts_Pay_Code_Combination_Id) Cle_Comptable_Founisseur
, aia.org_id
, aia.payment_cross_rate_type
, aia.payment_cross_rate_date
, aia.payment_cross_rate
, aia.payment_currency_code
, aia.attribute_category
, Aia.Attribute1
, Aia.Attribute2
, Aia.Attribute3
, Aia.Attribute4
, Aia.Attribute5
, Aia.Attribute6
, Aia.Attribute7
, Aia.Attribute8
, Aia.Attribute9
, Aia.Attribute10
, Aia.Attribute11
, Aia.Attribute12
, Aia.Attribute13
, Aia.Attribute14
, Aia.Attribute15
, Aia.Global_Attribute_Category
, Aia.Global_Attribute1
, Aia.Global_Attribute2
, Aia.Global_Attribute3
, Aia.Global_Attribute4
, Aia.Global_Attribute5
, Aia.Global_Attribute6
, Aia.Global_Attribute7
, Aia.Global_Attribute8
, Aia.Global_Attribute9
, Aia.Global_Attribute10
, Aia.Global_Attribute11
, Aia.Global_Attribute12
, Aia.Global_Attribute13
, Aia.Global_Attribute14
, Aia.Global_Attribute15
, Aia.Global_Attribute16
, Aia.Global_Attribute17
, Aia.Global_Attribute18
, Aia.Global_Attribute19
, Aia.Global_Attribute20
FROM
Ap_Invoices_All Aia
, Po_Vendor_Sites_All Pvsa
, Ap_Terms Ate
, Po_Vendors Pv
WHERE 1=1
-- RG2: Type de la facture
AND Aia.invoice_type_lookup_code = 'PREPAYMENT'
-- RG2: Amount_Paid <> Invoice_Amount
AND NVL(Aia.Invoice_Amount,0) = NVL(Aia.Amount_Paid,0)
AND Pvsa.Vendor_Site_Id = Aia.Vendor_Site_Id
AND Ate.Term_Id = Aia.Terms_Id
AND Pv.Vendor_Id = Aia.Vendor_Id
-- RG2: Ensemble des lignes de la facture postees
AND NOT EXISTS ( SELECT 'x'
FROM
Ap_Invoice_Distributions_All Aida
WHERE
Aida.Invoice_id = Aia.Invoice_Id
AND NVL(Aida.Accrual_Posted_Flag,'N') <> 'Y' )
-- pour la société absorbée
AND aia.org_id = (select ORGANIZATION_ID from HR_ALL_ORGANIZATION_UNITS HAOU
where HAOU.Name = LV$Societe_absorbee
-- RG 1: pour les factures créées antétieur à la date de fusion
AND Aia.Creation_Date < LV$Date_fusion
GROUP BY
Aia.Invoice_Id
, Aia.Invoice_Num
, Aia.Invoice_Type_Lookup_Code
, Aia.Invoice_Date
, Pv.Vendor_Id
, Pv.Segment1
, Pv.Vendor_Name
, pvsa.Vendor_Site_Id
, Pvsa.Vendor_Site_Code
, aia.invoice_amount
, aia.amount_paid
, aia.payment_status_flag
, aia.invoice_currency_code
, aia.exchange_rate
, aia.exchange_rate_type
, aia.exchange_date
, Ate.Name
, aia.terms_date
, aia.source
, aia.doc_category_code
, aia.payment_method_lookup_code
, aia.pay_group_lookup_code
, aia.gl_date
, Aia.Doc_Sequence_Id
, aia.accts_pay_code_combination_id
, aia.org_id
, aia.payment_cross_rate_type
, aia.payment_cross_rate_date
, aia.payment_cross_rate
, aia.payment_currency_code
, aia.attribute_category
, Aia.Attribute1
, Aia.Attribute2
, Aia.Attribute3
, Aia.Attribute4
, Aia.Attribute5
, Aia.Attribute6
, Aia.Attribute7
, Aia.Attribute8
, Aia.Attribute9
, Aia.Attribute10
, Aia.Attribute11
, Aia.Attribute12
, Aia.Attribute13
, Aia.Attribute14
, Aia.Attribute15
, Aia.Global_Attribute_Category
, Aia.Global_Attribute1
, Aia.Global_Attribute2
, Aia.Global_Attribute3
, Aia.Global_Attribute4
, Aia.Global_Attribute5
, Aia.Global_Attribute6
, Aia.Global_Attribute7
, Aia.Global_Attribute8
, Aia.Global_Attribute9
, Aia.Global_Attribute10
, Aia.Global_Attribute11
, Aia.Global_Attribute12
, Aia.Global_Attribute13
, Aia.Global_Attribute14
, Aia.Global_Attribute15
, Aia.Global_Attribute16
, Aia.Global_Attribute17
, Aia.Global_Attribute18
, Aia.Global_Attribute19
, Aia.Global_Attribute20
HAVING Ap_Invoices_Utility_PKG.get_prepay_amount_remaining (Aia.invoice_Id) <> 0
AND Ap_Invoices_Utility_Pkg.get_approval_status(aia.invoice_id,aia.invoice_amount,aia.payment_status_flag,aia.invoice_type_lookup_code) = 'AVAILABLE'
Rec_fusion_extract_AP_invoice cur_fusion_extract_AP_invoice%ROWTYPE;
BEGIN
---------Initialisation
pn_retcode := 0;
pv_errbuff := NULL;
ln_compteur_lignes := 0;
lv_societe_absorbee := CGEY_TOOLS_PKG.get_varchar2_parameter ('SPR_FUSION_AP_SOCIETE', 'SOC_SR');
lv_societe_absorbante :=CGEY_TOOLS_PKG.get_varchar2_parameter ('SPR_FUSION_AP_SOCIETE', 'SOC_CB');
lv_date_fusion := CGEY_TOOLS_PKG.get_date_parameter ('SPR_FUSION_AP_SOCIETE', 'DATE_FUSION');
lv_rep := cgey_tools_pkg.get_varchar2_parameter ('SPR_FUSION_AP_SOCIETE', 'REPERTOIRE_SORTIE');
----err_non_parameter
IF lv_societe_absorbee is null or lv_societe_absorbante is null or lv_date_fusion is null or lv_rep is null
THEN raise err_non_parameter;
select NVL(ORGANIZATION_ID, 'NULL')
INTO ln_org_id
from HR_ALL_ORGANIZATION_UNITS HAOU
where HAOU.Name = lv_societe_absorbee
----err_Soc_sr
IF ln_org_id ='NULL'
THEN Raise err_Soc_sr;
BEGIN
----Création du fichier sorti
cgey_tools_pkg.put_log_message ('Création et Ouverture du fichier en lecture');
lv_name := 'FUSION_fac_AP_EXTRAIRE' || TO_CHAR(SYSDATE, 'DDMMYYYY_HH24MISS') || '.txt';
cgey_tools_pkg.put_log_message ('Fichier sortie est '|| lv_name );
lt_id := UTL_FILE.FOPEN(lv_rep, lv_name, 'w');
IF UTL_FILE.IS_OPEN(lt_id) THEN
cgey_tools_pkg.put_log_message (cv_line);
cgey_tools_pkg.put_log_message('Creation OK du fichier: ' || lv_name);
ELSE
cgey_tools_pkg.put_log_message(cv_line);
cgey_tools_pkg.put_log_message('Probleme ouverture du fichier ' ||lv_name);
END IF;
----EXCEPTION UTL_FILE.WRITE_ERROR, UTL_FILE.INVALID_PATH
EXCEPTION
WHEN UTL_FILE.WRITE_ERROR
THEN raise err_file_write;
WHEN UTL_FILE.INVALID_PATH
THEN raise err_file_invalid_path;
----Création du fichier sorti
END;
BEGIN
UTL_FILE.PUT_LINE(lt_id, vv_entete);
----CURSOR FACTURE A EXTRAIRE
OPEN cur_fusion_extract_AP_invoice
(lv_societe_absorbee,
lv_societe_absorbante,
lv_date_fusion
LOOP
FETCH cur_fusion_extract_AP_invoice
INTO rec_fusion_extract_AP_invoice;
EXIT WHEN cur_fusion_extract_AP_invoice%NOTFOUND;
LV_INVOICE_ID := rec_fusion_extract_AP_invoice.Invoice_Id;
ln_compteur_hold := 0;
lv_hode_reason := null;
lv_release_reason := null;
OPEN cur_ap_hold_invoices (rec_fusion_extract_AP_invoice.Invoice_Id);
LOOP
FETCH cur_ap_hold_invoices
INTO rec_ap_hold_invoices;
EXIT WHEN cur_ap_hold_invoices%NOTFOUND;
----La première blocage à traiter
IF ln_compteur_hold =0 THEN
lv_hode_reason := nvl(rec_ap_hold_invoices.hold_reason, ' ') ;
lv_release_reason := nvl(rec_ap_hold_invoices.release_reason, ' ');
----concatener des autres blocages suivants pour la même facture
Else
lv_hode_reason := lv_hode_reason||nvl(rec_ap_hold_invoices.hold_reason, ' ');
lv_release_reason := lv_release_reason||nvl(rec_ap_hold_invoices.release_reason, ' ');
END IF;
ln_compteur_hold := ln_compteur_hold +1;
END LOOP;
CLOSE cur_ap_hold_invoices;
vv_buffer :=
NVL(lv_societe_absorbee, ' ') ||vv_separator||
NVL(lv_societe_absorbante, ' ') ||vv_separator||
NVL(to_char(lv_date_fusion,'dd/mm/yyyy' ), ' ') ||vv_separator||
NVL(to_char(rec_fusion_extract_AP_invoice.Invoice_Id), ' ') ||vv_separator
UTL_FILE.PUT_LINE(lt_id, vv_buffer);
ln_compteur_lignes := ln_compteur_lignes + 1;
END LOOP;
cgey_tools_pkg.put_log_message(to_char(ln_compteur_lignes) ||
' lignes inserees dans le fichier ' ||lv_rep||'/'
|| lv_name);
CLOSE cur_fusion_extract_AP_invoice;
UTL_FILE.FCLOSE(lt_id);
cgey_tools_pkg.put_log_message(' ');
cgey_tools_pkg.put_log_message(cv_line);
EXCEPTION
WHEN OTHERS THEN
ROLLBACK;
Raise err_ecriture_file;
END ;
EXCEPTION_
WHEN err_non_parameter THEN
pn_retcode := SQLCODE;
cgey_tools_pkg.put_log_message ('error'||SQLCODE);
cgey_tools_pkg.put_log_message ('error parameter : Veuillez vous verifier la configuration dans la table CGEY_PARAMETERS!');
WHEN err_Soc_sr THEN
pn_retcode := SQLCODE;
cgey_tools_pkg.put_log_message ('error'||SQLCODE);
cgey_tools_pkg.put_log_message ('error société_absorbée : Veuillez vous verifier le parameter de la société absorbée !');
WHEN err_file_write THEN
UTL_FILE.FCLOSE(lt_id);
pv_errbuff := SQLERRM;
pn_retcode := SQLCODE;
cgey_tools_pkg.put_log_message ('error'||SQLCODE);
cgey_tools_pkg.put_log_message('erreur write_error:'||pv_errbuff);
WHEN err_file_invalid_path THEN
UTL_FILE.FCLOSE(lt_id);
pn_retcode := SQLCODE;
pv_errbuff := SQLERRM;
cgey_tools_pkg.put_log_message ('error'||SQLCODE);
cgey_tools_pkg.put_log_message('erreur invalid_path:'||pv_errbuff);
WHEN err_ecriture_file THEN
UTL_FILE.FCLOSE(lt_id);
pn_retcode := SQLCODE;
pv_errbuff := SQLERRM;
cgey_tools_pkg.put_log_message ('error'||SQLCODE);
cgey_tools_pkg.put_log_message('err_ecriture_file:'||pv_errbuff);
WHEN OTHERS THEN
cgey_tools_pkg.put_log_message ('Une Erreur inconnue arrive lors que l''extraction du FUSION_fac_AP_EXTRAIRE!!');
END MAIN_FUSION_EXTRACT;
END SPR_AP_FUSION_EXTRACT_PKG;
error at line 723 PLS-100103 "EXCEPTION"
when expecting one of the following Error. Please help me!!
Thanks a lot
Edited by: kinkichin on 11 mars 2010 03:19Hi ,
I have made some changes to the code search for --check condition* and check if the condition is correct.
CREATE OR REPLACE PACKAGE BODY spr_ap_fusion_extract_pkg
IS
PROCEDURE main_fusion_extract (
pv_errbuff IN OUT VARCHAR2,
pn_retcode IN OUT NUMBER
IS
lv_ligne VARCHAR2 (500);
lv_rep VARCHAR2 (260); --:= '/usr/tmp';
ln_retcode NUMBER;
vv_separator VARCHAR2 (2) := ';';
ln_compteur_lignes NUMBER := 0;
-- nombre de lignes insérées dans le fichier
ln_counteur NUMBER := 0;
vv_buffer VARCHAR2 (32000);
vv_buffer_et VARCHAR2 (32000);
vv_buffer_etold VARCHAR2 (32000);
lt_id UTL_FILE.file_type;
ln_counter NUMBER (24, 0);
lv_seq VARCHAR2 (30);
lv_num_paiement VARCHAR2 (10);
flag_ecriture VARCHAR2 (1);
lv_filler_ligne VARCHAR2 (500);
ln_long_buff NUMBER := 0;
ln_compteur_factures NUMBER := 0;
lv_name VARCHAR2 (500);
vv_entete VARCHAR2 (500);
lv_invoice_id ap_invoices_all.invoice_id%TYPE;
ln_compteur_hold NUMBER := 0;
lv_hode_reason VARCHAR2 (500);
lv_release_reason VARCHAR2 (500);
lv_societe_absorbee VARCHAR2 (500);
lv_societe_absorbante VARCHAR2 (500);
ln_org_id NUMBER := 0;
lv_date_fusion DATE;
err_non_parameter EXCEPTION;
err_soc_sr EXCEPTION;
err_file_write EXCEPTION;
err_file_invalid_path EXCEPTION;
err_ecriture_file EXCEPTION;
CURSOR cur_ap_hold_invoices (
lv$invoice_id IN ap_invoices_all.invoice_id%TYPE
IS
SELECT aha.hold_reason, aha.release_reason
FROM ap_holds_all aha
WHERE aha.invoice_id = lv$invoice_id;
rec_ap_hold_invoices cur_ap_hold_invoices%ROWTYPE;
--Enregistrement "DESTINATAIRE"
CURSOR cur_fusion_extract_ap_invoice (
lv$societe_absorbee IN cgey_parameters.varchar2_value%TYPE,
lv$societe_absorbant IN cgey_parameters.varchar2_value%TYPE,
lv$date_fusion IN cgey_parameters.date_value%TYPE
IS
SELECT aia.invoice_id, aia.invoice_num,
aia.invoice_type_lookup_code, aia.invoice_date, pv.vendor_id,
pv.segment1, pv.vendor_name, pvsa.vendor_site_id,
pvsa.vendor_site_code, aia.invoice_amount, aia.amount_paid
-- RG3: Montant repris = valeur restante a regler
ROUND (NVL (SUM (apsa.amount_remaining), 0),
2
) amount_remaining,
ap_invoices_utility_pkg.get_approval_status
(aia.invoice_id,
aia.invoice_amount,
aia.payment_status_flag,
aia.invoice_type_lookup_code
) statut,
aia.invoice_currency_code, aia.exchange_rate,
aia.exchange_rate_type, aia.exchange_date,
ate.NAME terms_name, aia.terms_date, aia.SOURCE,
aia.doc_category_code, aia.payment_method_lookup_code,
aia.pay_group_lookup_code, aia.gl_date, aia.doc_sequence_id,
aia.accts_pay_code_combination_id,
cgey_tools_pkg.get_segments_from_ccid
(aia.accts_pay_code_combination_id
) cle_comptable_founisseur,
aia.org_id, aia.payment_cross_rate_type,
aia.payment_cross_rate_date, aia.payment_cross_rate,
aia.payment_currency_code, aia.attribute_category,
aia.attribute1, aia.attribute2, aia.attribute3,
aia.attribute4, aia.attribute5, aia.attribute6,
aia.attribute7, aia.attribute8, aia.attribute9,
aia.attribute10, aia.attribute11, aia.attribute12,
aia.attribute13, aia.attribute14, aia.attribute15,
aia.global_attribute_category, aia.global_attribute1,
aia.global_attribute2, aia.global_attribute3,
aia.global_attribute4, aia.global_attribute5,
aia.global_attribute6, aia.global_attribute7,
aia.global_attribute8, aia.global_attribute9,
aia.global_attribute10, aia.global_attribute11,
aia.global_attribute12, aia.global_attribute13,
aia.global_attribute14, aia.global_attribute15,
aia.global_attribute16, aia.global_attribute17,
aia.global_attribute18, aia.global_attribute19,
aia.global_attribute20
FROM ap_invoices_all aia,
ap_payment_schedules_all apsa,
po_vendor_sites_all pvsa,
ap_terms ate,
po_vendors pv
WHERE 1 = 1
-- RG1: Type de la facture
AND aia.invoice_type_lookup_code IN
('STANDARD', 'CREDIT', 'DEBIT')
AND apsa.invoice_id = aia.invoice_id
AND pvsa.vendor_site_id = aia.vendor_site_id
AND ate.term_id = aia.terms_id
AND pv.vendor_id = aia.vendor_id
-- RG 1: pour les factures créées antétieur à la date de fusion
AND aia.creation_date < lv$date_fusion
-- RG1: Ensemble des lignes de la facture postees
AND NOT EXISTS (
SELECT 'x'
FROM ap_invoice_distributions_all aida
WHERE aida.invoice_id = aia.invoice_id
AND NVL (aida.accrual_posted_flag, 'N' = 'Y')
--check condition
-- pour la société absorbée
AND aia.org_id =
(SELECT organization_id
FROM hr_all_organization_units haou
WHERE haou.NAME = lv$societe_absorbee)
GROUP BY aia.invoice_id,
aia.invoice_num,
aia.invoice_type_lookup_code,
aia.invoice_date,
pv.vendor_id,
pv.segment1,
pv.vendor_name,
pvsa.vendor_site_id,
pvsa.vendor_site_code,
aia.invoice_amount,
aia.amount_paid
-- RG3: Montant repris = valeur restante a regler
apsa.amount_remaining,
aia.payment_status_flag,
aia.invoice_currency_code,
aia.exchange_rate,
aia.exchange_rate_type,
aia.exchange_date,
ate.NAME,
aia.terms_date,
aia.SOURCE,
aia.doc_category_code,
aia.payment_method_lookup_code,
aia.pay_group_lookup_code,
aia.gl_date,
aia.doc_sequence_id,
aia.accts_pay_code_combination_id,
aia.org_id,
aia.payment_cross_rate_type,
aia.payment_cross_rate_date,
aia.payment_cross_rate,
aia.payment_currency_code,
aia.attribute_category,
aia.attribute1,
aia.attribute2,
aia.attribute3,
aia.attribute4,
aia.attribute5,
aia.attribute6,
aia.attribute7,
aia.attribute8,
aia.attribute9,
aia.attribute10,
aia.attribute11,
aia.attribute12,
aia.attribute13,
aia.attribute14,
aia.attribute15,
aia.global_attribute_category,
aia.global_attribute1,
aia.global_attribute2,
aia.global_attribute3,
aia.global_attribute4,
aia.global_attribute5,
aia.global_attribute6,
aia.global_attribute7,
aia.global_attribute8,
aia.global_attribute9,
aia.global_attribute10,
aia.global_attribute11,
aia.global_attribute12,
aia.global_attribute13,
aia.global_attribute14,
aia.global_attribute15,
aia.global_attribute16,
aia.global_attribute17,
aia.global_attribute18,
aia.global_attribute19,
aia.global_attribute20
HAVING NVL (SUM (apsa.amount_remaining), 0) <>
0
--check condition
UNION ALL
SELECT aia.invoice_id, aia.invoice_num,
aia.invoice_type_lookup_code, aia.invoice_date,
pv.vendor_id, pv.segment1, pv.vendor_name,
pvsa.vendor_site_id, pvsa.vendor_site_code,
aia.invoice_amount, aia.amount_paid
-- RG3: Montant repris = valeur restante a regler
ap_invoices_utility_pkg.get_prepay_amount_remaining
(aia.invoice_id)
"Amount_Remaining",
ap_invoices_utility_pkg.get_approval_status
(aia.invoice_id,
aia.invoice_amount,
aia.payment_status_flag,
aia.invoice_type_lookup_code
) statut,
aia.invoice_currency_code, aia.exchange_rate,
aia.exchange_rate_type, aia.exchange_date,
ate.NAME terms_name, aia.terms_date, aia.SOURCE,
aia.doc_category_code,
aia.payment_method_lookup_code,
aia.pay_group_lookup_code, aia.gl_date,
aia.doc_sequence_id,
aia.accts_pay_code_combination_id,
cgey_tools_pkg.get_segments_from_ccid
(aia.accts_pay_code_combination_id
) cle_comptable_founisseur,
aia.org_id, aia.payment_cross_rate_type,
aia.payment_cross_rate_date,
aia.payment_cross_rate, aia.payment_currency_code,
aia.attribute_category, aia.attribute1,
aia.attribute2, aia.attribute3, aia.attribute4,
aia.attribute5, aia.attribute6, aia.attribute7,
aia.attribute8, aia.attribute9, aia.attribute10,
aia.attribute11, aia.attribute12, aia.attribute13,
aia.attribute14, aia.attribute15,
aia.global_attribute_category,
aia.global_attribute1, aia.global_attribute2,
aia.global_attribute3, aia.global_attribute4,
aia.global_attribute5, aia.global_attribute6,
aia.global_attribute7, aia.global_attribute8,
aia.global_attribute9, aia.global_attribute10,
aia.global_attribute11, aia.global_attribute12,
aia.global_attribute13, aia.global_attribute14,
aia.global_attribute15, aia.global_attribute16,
aia.global_attribute17, aia.global_attribute18,
aia.global_attribute19, aia.global_attribute20
FROM ap_invoices_all aia,
po_vendor_sites_all pvsa,
ap_terms ate,
po_vendors pv
WHERE 1 = 1
-- RG2: Type de la facture
AND aia.invoice_type_lookup_code = 'PREPAYMENT'
-- RG2: Amount_Paid Invoice_Amount
AND NVL (aia.invoice_amount, 0) =
NVL (aia.amount_paid, 0)
AND pvsa.vendor_site_id = aia.vendor_site_id
AND ate.term_id = aia.terms_id
AND pv.vendor_id = aia.vendor_id
-- RG2: Ensemble des lignes de la facture postees
AND NOT EXISTS (
SELECT 'x'
FROM ap_invoice_distributions_all aida
WHERE aida.invoice_id = aia.invoice_id
AND NVL (aida.accrual_posted_flag, 'N') =
'Y')
--check condition
-- pour la société absorbée
AND aia.org_id =
(SELECT organization_id
FROM hr_all_organization_units haou
WHERE haou.NAME = lv$societe_absorbee)
-- RG 1: pour les factures créées antétieur à la date de fusion
AND aia.creation_date < lv$date_fusion
GROUP BY aia.invoice_id,
aia.invoice_num,
aia.invoice_type_lookup_code,
aia.invoice_date,
pv.vendor_id,
pv.segment1,
pv.vendor_name,
pvsa.vendor_site_id,
pvsa.vendor_site_code,
aia.invoice_amount,
aia.amount_paid,
aia.payment_status_flag,
aia.invoice_currency_code,
aia.exchange_rate,
aia.exchange_rate_type,
aia.exchange_date,
ate.NAME,
aia.terms_date,
aia.SOURCE,
aia.doc_category_code,
aia.payment_method_lookup_code,
aia.pay_group_lookup_code,
aia.gl_date,
aia.doc_sequence_id,
aia.accts_pay_code_combination_id,
aia.org_id,
aia.payment_cross_rate_type,
aia.payment_cross_rate_date,
aia.payment_cross_rate,
aia.payment_currency_code,
aia.attribute_category,
aia.attribute1,
aia.attribute2,
aia.attribute3,
aia.attribute4,
aia.attribute5,
aia.attribute6,
aia.attribute7,
aia.attribute8,
aia.attribute9,
aia.attribute10,
aia.attribute11,
aia.attribute12,
aia.attribute13,
aia.attribute14,
aia.attribute15,
aia.global_attribute_category,
aia.global_attribute1,
aia.global_attribute2,
aia.global_attribute3,
aia.global_attribute4,
aia.global_attribute5,
aia.global_attribute6,
aia.global_attribute7,
aia.global_attribute8,
aia.global_attribute9,
aia.global_attribute10,
aia.global_attribute11,
aia.global_attribute12,
aia.global_attribute13,
aia.global_attribute14,
aia.global_attribute15,
aia.global_attribute16,
aia.global_attribute17,
aia.global_attribute18,
aia.global_attribute19,
aia.global_attribute20
HAVING ap_invoices_utility_pkg.get_prepay_amount_remaining
(aia.invoice_id) <>
0
AND ap_invoices_utility_pkg.get_approval_status
(aia.invoice_id,
aia.invoice_amount,
aia.payment_status_flag,
aia.invoice_type_lookup_code
) = 'AVAILABLE');
--check condition;
rec_fusion_extract_ap_invoice cur_fusion_extract_ap_invoice%ROWTYPE;
BEGIN
---------Initialisation
pn_retcode := 0;
pv_errbuff := NULL;
ln_compteur_lignes := 0;
lv_societe_absorbee :=
cgey_tools_pkg.get_varchar2_parameter ('SPR_FUSION_AP_SOCIETE',
'SOC_SR'
lv_societe_absorbante :=
cgey_tools_pkg.get_varchar2_parameter ('SPR_FUSION_AP_SOCIETE',
'SOC_CB'
lv_date_fusion :=
cgey_tools_pkg.get_date_parameter ('SPR_FUSION_AP_SOCIETE',
'DATE_FUSION'
lv_rep :=
cgey_tools_pkg.get_varchar2_parameter ('SPR_FUSION_AP_SOCIETE',
'REPERTOIRE_SORTIE'
----err_non_parameter
IF lv_societe_absorbee IS NULL
OR lv_societe_absorbante IS NULL
OR lv_date_fusion IS NULL
OR lv_rep IS NULL
THEN
RAISE err_non_parameter;
END IF;
SELECT NVL (organization_id, 'NULL')
INTO ln_org_id
FROM hr_all_organization_units haou
WHERE haou.NAME = lv_societe_absorbee;
----err_Soc_sr
IF ln_org_id = 'NULL'
THEN
RAISE err_soc_sr;
END IF;
BEGIN
----Création du fichier sorti
cgey_tools_pkg.put_log_message
('Création et Ouverture du fichier en lecture');
lv_name :=
'FUSION_fac_AP_EXTRAIRE'
|| TO_CHAR (SYSDATE, 'DDMMYYYY_HH24MISS')
|| '.txt';
cgey_tools_pkg.put_log_message ('Fichier sortie est ' || lv_name);
lt_id := UTL_FILE.fopen (lv_rep, lv_name, 'w');
IF UTL_FILE.is_open (lt_id)
THEN
cgey_tools_pkg.put_log_message (cv_line);
cgey_tools_pkg.put_log_message ( 'Creation OK du fichier: '
|| lv_name
ELSE
cgey_tools_pkg.put_log_message (cv_line);
cgey_tools_pkg.put_log_message
( 'Probleme ouverture du fichier '
|| lv_name
END IF;
----EXCEPTION UTL_FILE.WRITE_ERROR, UTL_FILE.INVALID_PATH
EXCEPTION
WHEN UTL_FILE.write_error
THEN
RAISE err_file_write;
WHEN UTL_FILE.invalid_path
THEN
RAISE err_file_invalid_path;
----Création du fichier sorti
END;
BEGIN
UTL_FILE.put_line (lt_id, vv_entete);
----CURSOR FACTURE A EXTRAIRE
OPEN cur_fusion_extract_ap_invoice (lv_societe_absorbee,
lv_societe_absorbante,
lv_date_fusion
LOOP
FETCH cur_fusion_extract_ap_invoice
INTO rec_fusion_extract_ap_invoice;
EXIT WHEN cur_fusion_extract_ap_invoice%NOTFOUND;
lv_invoice_id := rec_fusion_extract_ap_invoice.invoice_id;
ln_compteur_hold := 0;
lv_hode_reason := NULL;
lv_release_reason := NULL;
OPEN cur_ap_hold_invoices
(rec_fusion_extract_ap_invoice.invoice_id);
LOOP
FETCH cur_ap_hold_invoices
INTO rec_ap_hold_invoices;
EXIT WHEN cur_ap_hold_invoices%NOTFOUND;
----La première blocage à traiter
IF ln_compteur_hold = 0
THEN
lv_hode_reason :=
NVL (rec_ap_hold_invoices.hold_reason, ' ');
lv_release_reason :=
NVL (rec_ap_hold_invoices.release_reason, ' ');
----concatener des autres blocages suivants pour la même facture
ELSE
lv_hode_reason :=
lv_hode_reason
|| NVL (rec_ap_hold_invoices.hold_reason, ' ');
lv_release_reason :=
lv_release_reason
|| NVL (rec_ap_hold_invoices.release_reason, ' ');
END IF;
ln_compteur_hold := ln_compteur_hold + 1;
END LOOP;
CLOSE cur_ap_hold_invoices;
vv_buffer :=
NVL (lv_societe_absorbee, ' ')
|| vv_separator
|| NVL (lv_societe_absorbante, ' ')
|| vv_separator
|| NVL (TO_CHAR (lv_date_fusion, 'dd/mm/yyyy'), ' ')
|| vv_separator
|| NVL (TO_CHAR (rec_fusion_extract_ap_invoice.invoice_id),
|| vv_separator;
UTL_FILE.put_line (lt_id, vv_buffer);
ln_compteur_lignes := ln_compteur_lignes + 1;
END LOOP;
cgey_tools_pkg.put_log_message
( TO_CHAR (ln_compteur_lignes)
|| ' lignes inserees dans le fichier '
|| lv_rep
|| '/'
|| lv_name
CLOSE cur_fusion_extract_ap_invoice;
UTL_FILE.fclose (lt_id);
cgey_tools_pkg.put_log_message (' ');
cgey_tools_pkg.put_log_message (cv_line);
EXCEPTION
WHEN OTHERS
THEN
ROLLBACK;
RAISE err_ecriture_file;
END;
EXCEPTION
WHEN err_non_parameter
THEN
pn_retcode := SQLCODE;
cgey_tools_pkg.put_log_message ('error' || SQLCODE);
cgey_tools_pkg.put_log_message
('error parameter : Veuillez vous verifier la configuration dans la table CGEY_PARAMETERS!'
WHEN err_soc_sr
THEN
pn_retcode := SQLCODE;
cgey_tools_pkg.put_log_message ('error' || SQLCODE);
cgey_tools_pkg.put_log_message
('error société_absorbée : Veuillez vous verifier le parameter de la société absorbée !'
WHEN err_file_write
THEN
UTL_FILE.fclose (lt_id);
pv_errbuff := SQLERRM;
pn_retcode := SQLCODE;
cgey_tools_pkg.put_log_message ('error' || SQLCODE);
cgey_tools_pkg.put_log_message ('erreur write_error:' || pv_errbuff);
WHEN err_file_invalid_path
THEN
UTL_FILE.fclose (lt_id);
pn_retcode := SQLCODE;
pv_errbuff := SQLERRM;
cgey_tools_pkg.put_log_message ('error' || SQLCODE);
cgey_tools_pkg.put_log_message ('erreur invalid_path:' || pv_errbuff);
WHEN err_ecriture_file
THEN
UTL_FILE.fclose (lt_id);
pn_retcode := SQLCODE;
pv_errbuff := SQLERRM;
cgey_tools_pkg.put_log_message ('error' || SQLCODE);
cgey_tools_pkg.put_log_message ('err_ecriture_file:' || pv_errbuff);
WHEN OTHERS
THEN
cgey_tools_pkg.put_log_message
('Une Erreur inconnue arrive lors que l''extraction du FUSION_fac_AP_EXTRAIRE!!'
END main_fusion_extract;
END spr_ap_fusion_extract_pkg;*009*
Edited by: 009 on Mar 11, 2010 3:31 AM -
Change the Required Field " Fieldname value cannot not be null" error.
Does anyone know how to change the error message on a Table based form for a required field? By default it gives:
<Fieldname> value cannot be null
Do I need a field type validation?I got the screen working ok, now when I do a "Reset" on the screen I get a syntax error.
Line: 10
Char: 1
Error: Syntax error
Code: 0
URL: https://www.testmasterease.com/portal/pls/portal/PORTAL.wwa_app_module.show?sessionid=9073
The first 10 lines of HTML are:
<HTML dir=LTR>
<HEAD>
<TITLE>FORM NEW USER ADMIN REQUEST</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#444444" LINK="#444455" VLINK="#554455" ALINK="#666644">
<SCRIPT TYPE="text/javascript">
<SCRIPT TYPE="text/javascript">
function show_context_help(h) {
newWindow = window.open(h,"Help", "menubar=1,toolbar=1,scrollbars=1,resizable=1,width=700, height=500");
</SCRIPT>
</SCRIPT>
I did not purposly put the show_context_help() in the form. Is there away to remove it? -
I have an ODSI Physical Service that is based on a Java Function. The Java Function builds a SQL statement and uses JDBC to query for a ResultSet. One of the columns that is queried is a Clob. Sometimes, the data in this column causes an XMLBeans validation exception in ODSI: {err}XQ0027: Validation failed: error: decimal: Invalid decimal value: unexpected char '114'
The issue is not consistently replicable with particular database record, the database records that present this issue at one point in time will be resolved after a restart of ODSI and replaced by another list of records that present the same error.
As can be seen from the stack trace, it looks like the issue is happening after the database query has returned and while the process is assembling the SOAP response.
Error at line:2 col:481 Line:2 '=' expected, got char[99]
at weblogic.xml.babel.scanner.ScannerState.expect(ScannerState.java:241)
at weblogic.xml.babel.scanner.OpenTag.read(OpenTag.java:60)
at weblogic.xml.babel.scanner.Scanner.startState(Scanner.java:251)
at weblogic.xml.babel.scanner.Scanner.scan(Scanner.java:178)
at weblogic.xml.babel.baseparser.BaseParser.accept(BaseParser.java:533)
at weblogic.xml.babel.baseparser.BaseParser.accept(BaseParser.java:510)
at weblogic.xml.babel.baseparser.EndElement.parse(EndElement.java:34)
at weblogic.xml.babel.baseparser.BaseParser.parseElement(BaseParser.java:457)
at weblogic.xml.babel.baseparser.BaseParser.parseSome(BaseParser.java:326)
at weblogic.xml.stax.XMLStreamReaderBase.advance(XMLStreamReaderBase.java:195)
at weblogic.xml.stax.XMLStreamReaderBase.next(XMLStreamReaderBase.java:237)
at weblogic.xml.stax.XMLEventReaderBase.parseSome(XMLEventReaderBase.java:189)
at weblogic.xml.stax.XMLEventReaderBase.nextEvent(XMLEventReaderBase.java:122)
at weblogic.xml.query.parsers.StAXEventAdaptor.queueNextTokens(StAXEventAdaptor.java:136)
at weblogic.xml.query.parsers.StAXEventAdaptor.queueNextTokens(StAXEventAdaptor.java:124)
at weblogic.xml.query.parsers.BufferedParser.fetchNext(BufferedParser.java:79)
at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:104)
at weblogic.xml.query.runtime.navigation.ChildPath.fetchNext(ChildPath.java:308)
at weblogic.xml.query.iterators.GenericIterator.hasNext(GenericIterator.java:133)
at weblogic.xml.query.schema.BestEffortValidatingIterator$OpenedIterator.hasNext(BestEffortValidatingIterator.java:224)
at weblogic.xml.query.schema.ValidatingIterator.fetchNext(ValidatingIterator.java:82)
at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:104)
at weblogic.xml.query.xdbc.iterators.ItemIterator.fetchNext(ItemIterator.java:86)
at weblogic.xml.query.iterators.LegacyGenericIterator.next(LegacyGenericIterator.java:109)
at weblogic.xml.query.schema.BestEffortValidatingIterator.fetchNext(BestEffortValidatingIterator.java:85)
at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:104)
at weblogic.xml.query.xdbc.iterators.ItemIterator.fetchNext(ItemIterator.java:86)
at weblogic.xml.query.iterators.LegacyGenericIterator.next(LegacyGenericIterator.java:109)
at weblogic.xml.query.runtime.typing.SeqTypeMatching.fetchNext(SeqTypeMatching.java:137)
at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:104)
at com.bea.dsp.wrappers.jf.JavaFunctionIterator.fetchNext(JavaFunctionIterator.java:273)
at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:104)
at weblogic.xml.query.runtime.querycide.QueryAssassin.fetchNext(QueryAssassin.java:54)
at weblogic.xml.query.iterators.GenericIterator.peekNext(GenericIterator.java:163)
at weblogic.xml.query.runtime.qname.InsertNamespaces.fetchNext(InsertNamespaces.java:247)
at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:104)
at weblogic.xml.query.runtime.core.ExecutionWrapper.fetchNext(ExecutionWrapper.java:88)
at weblogic.xml.query.iterators.GenericIterator.next(GenericIterator.java:104)
at weblogic.xml.query.xdbc.iterators.ItemIterator.fetchNext(ItemIterator.java:86)
at weblogic.xml.query.iterators.LegacyGenericIterator.hasNext(LegacyGenericIterator.java:130)
at weblogic.xml.query.xdbc.util.Serializer.serializeItems(Serializer.java:251)
at com.bea.ld.server.ResultPusher$DSP25CompatibilityPusher.next(ResultPusher.java:236)
at com.bea.ld.server.ResultPusher.pushResults(ResultPusher.java:112)
at com.bea.ld.server.XQueryInvocation.execute(XQueryInvocation.java:770)
at com.bea.ld.EJBRequestHandler.invokeQueryInternal(EJBRequestHandler.java:624)
at com.bea.ld.EJBRequestHandler.invokeOperationInternal(EJBRequestHandler.java:478)
at com.bea.ld.EJBRequestHandler.invokeOperation(EJBRequestHandler.java:323)
at com.bea.ld.ServerWrapperBean.invoke(ServerWrapperBean.java:153)
at com.bea.ld.ServerWrapperBean.invokeOperation(ServerWrapperBean.java:80)
at com.bea.ld.ServerWrapper_s9smk0_ELOImpl.invokeOperation(ServerWrapper_s9smk0_ELOImpl.java:63)
at com.bea.dsp.ws.RoutingHandler$PriviledgedRunner.run(RoutingHandler.java:96)
at com.bea.dsp.ws.RoutingHandler.handleResponse(RoutingHandler.java:217)
at weblogic.wsee.handler.HandlerIterator.handleResponse(HandlerIterator.java:287)
at weblogic.wsee.handler.HandlerIterator.handleResponse(HandlerIterator.java:271)
at weblogic.wsee.ws.dispatch.server.ServerDispatcher.dispatch(ServerDispatcher.java:176)
at weblogic.wsee.ws.WsSkel.invoke(WsSkel.java:80)
at weblogic.wsee.server.servlet.SoapProcessor.handlePost(SoapProcessor.java:66)
at weblogic.wsee.server.servlet.SoapProcessor.process(SoapProcessor.java:44)
at weblogic.wsee.server.servlet.BaseWSServlet$AuthorizedInvoke.run(BaseWSServlet.java:285)
at weblogic.wsee.server.servlet.BaseWSServlet.service(BaseWSServlet.java:169)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3498)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
<Apr 29, 2011 12:47:01 PM EDT> <Notice> <ODSI> <BEA-000000> <LabOrderDataServices> <Error occurred performing ODSI operation: {ld:LabOrder/logical/LabOrderReport}getLabOrderDetails:1
weblogic.xml.query.exceptions.XQueryDynamicException: ld:LabOrder/logical/LabOrderReport.ds, line 34, column 6: {err}FODC0002 [{bea-err}FODC0002a]: Error parsing input XML: Error at line:2 col:481 Line:2 '=' expected, got char[99]
at weblogic.xml.query.iterators.AbstractIterator.reportUserError(AbstractIterator.java:95)
at weblogic.xml.query.iterators.AbstractIterator.reportUserError(AbstractIterator.java:147)
at weblogic.xml.query.parsers.Parser.reportParseError(Parser.java:157)
at weblogic.xml.query.parsers.StAXEventAdaptor.queueNextTokens(StAXEventAdaptor.java:225)
at weblogic.xml.query.parsers.StAXEventAdaptor.queueNextTokens(StAXEventAdaptor.java:124)
Truncated. see log file for complete stacktrace
javax.xml.stream.XMLStreamException: Error at line:2 col:481 Line:2 '=' expected, got char[99]
at weblogic.xml.stax.XMLStreamReaderBase.advance(XMLStreamReaderBase.java:206)
at weblogic.xml.stax.XMLStreamReaderBase.next(XMLStreamReaderBase.java:237)
at weblogic.xml.stax.XMLEventReaderBase.parseSome(XMLEventReaderBase.java:189)
at weblogic.xml.stax.XMLEventReaderBase.nextEvent(XMLEventReaderBase.java:122)
at weblogic.xml.query.parsers.StAXEventAdaptor.queueNextTokens(StAXEventAdaptor.java:136)
Truncated. see log file for complete stacktrace
Error at line:2 col:481 Line:2 '=' expected, got char[99]
at weblogic.xml.babel.scanner.ScannerState.expect(ScannerState.java:241)
at weblogic.xml.babel.scanner.OpenTag.read(OpenTag.java:60)
at weblogic.xml.babel.scanner.Scanner.startState(Scanner.java:251)
at weblogic.xml.babel.scanner.Scanner.scan(Scanner.java:178)
at weblogic.xml.babel.baseparser.BaseParser.accept(BaseParser.java:533)
Truncated. see log file for complete stacktrace
>
Can somebody shed some light on this issue?
Thanks
Edited by: user738507 on May 6, 2011 7:21 AMHere is the java function:
* Iterate through the search results and build out the XmlBean response
* @param helper A helper class used to simplify common JDBC commands
* @param doc The XmlBean document to populate
* @param isCollectionsIncluded True if Collection info should be included in results, False otherwise
* @param isFullDetailsIncluded True if Result data should be included in results, False otherwise
* @throws Exception
private static void addOrders(XmlBeansJDBCHelper helper, LabOrderReportDocument doc,
boolean isCollectionsIncluded, boolean isFullDetailsIncluded) throws Exception {
int rows = 0;
ResultSet rs = helper.getResultSet();
LabOrders labOrders = doc.getLabOrderReport().addNewLabOrders();
LabOrder record = null;
HashMap<Long, Collection> parentCollectionMap = null;
// initialize variable used to track when child elements of the XML should be created
long previousRowOrderId = 0;
long previousRowParentOrderCollectionId = 0;
long previousRowOrderCollectionId = 0;
long previousRowResultId = 0;
boolean isRootCollectionNode = false;
LabOrder.Collections lastParentOuterCollectionsAdded = null;
com.idexx.services.lde.laborder.Collection.Collections lastParentInnerCollectionsAdded = null;
com.idexx.services.lde.laborder.Collection lastCollectionAdded = null;
Result lastResultAdded = null;
// Loop through the results and build XmlBean nodes for each row
// Since the SQL is joining Orders to Collections (one-to-many) to Results (one-to-many),
// and returning a flat structure, there will be duplicate Order data on each row when
// multiple collections exist on the Order, and duplicate Collection data when multiple
// Results exist. We can use this fact to determine when to create a new Collection, or
// Result node.
while (helper.getResultSet().next())
rows++;
long currentRowParentOrderCollectionId = 0;
long currentRowOrderCollectionId = 0;
long currentRowResultId = 0;
long currentRowResultRemarkId = 0;
//int rowno = helper.getResultSet().getRow();
// Get the Order ID
logDebug("Getting the OrderId.....");
BigInteger dbOrderId = JDBCHelper.getBigInteger(rs, DataConstants.ORDER_ID);
logDebug("DONE getting the OrderId.");
long currentRowOrderId = dbOrderId.longValue();
// Determine the Order ID, Order Collection ID, and Result ID currently being processed.
// These will be used to determine whether to start a new LabOrder Bean, Collections Bean, or Results Bean
if (isCollectionsIncluded || isFullDetailsIncluded) {
// Get the ParentOrderCollectionID
logDebug("Getting the Parent Collection Order ID.....");
BigInteger dbParentOrderCollectionId = JDBCHelper.getBigInteger(rs, DataConstants.PARENT_ORDER_COLLECTION_ID);
if ( dbParentOrderCollectionId != null )
currentRowParentOrderCollectionId = dbParentOrderCollectionId.longValue();
else
currentRowParentOrderCollectionId = 0;
// Get the OrderCollectionID
logDebug("Getting the Order Collection ID.....");
BigInteger dbOrderCollectionId = JDBCHelper.getBigInteger(rs, DataConstants.ORDER_COLLECTION_ID);
if ( dbOrderCollectionId != null )
currentRowOrderCollectionId = dbOrderCollectionId.longValue();
else
currentRowOrderCollectionId = 0;
if ( isFullDetailsIncluded ) {
// Get the ResultID
logDebug("Getting the Result Id.....");
BigInteger dbResultId = JDBCHelper.getBigInteger(rs, DataConstants.RESULT_ID);
if ( dbResultId != null )
currentRowResultId = dbResultId.longValue();
else
currentRowResultId = 0;
// Get the ResultRemarkID
BigInteger dbResultRemarkId = JDBCHelper.getBigInteger(rs, DataConstants.RESULT_REMARK_ID);
if ( dbResultRemarkId != null )
currentRowResultRemarkId = dbResultRemarkId.longValue();
else
currentRowResultRemarkId = 0;
isRootCollectionNode = (currentRowParentOrderCollectionId == 0);
logDebug("currentRowOrderId: " + currentRowOrderId);
logDebug("previousRowOrderId: " + previousRowOrderId);
logDebug("currentRowResultId: " + currentRowResultId);
logDebug("previousRowResultId: " + previousRowResultId);
logDebug("currentRowResultRemarkId: " + currentRowResultRemarkId);
logDebug("previousRowResultRemarkId: N/A");
logDebug("currentRowParentOrderCollectionId: " + currentRowParentOrderCollectionId);
logDebug("previousRowParentOrderCollectionId: " + previousRowParentOrderCollectionId);
logDebug("currentRowOrderCollectionId: " + currentRowOrderCollectionId);
logDebug("previousRowOrderCollectionId: " + previousRowOrderCollectionId);
if ( currentRowOrderId != previousRowOrderId ) {
parentCollectionMap = new HashMap<Long, Collection>();
lastParentOuterCollectionsAdded = null;
lastParentInnerCollectionsAdded = null;
lastCollectionAdded = null;
lastResultAdded = null;
// This is a new Order, generate a new Lab Order bean
record = addOrder(labOrders, helper, dbOrderId, isFullDetailsIncluded);
logDebug("Order Added!");
// If there is Parent Collection data and it should be included, build a Collections element,
// and populate the first one
if ( !isRootCollectionNode && (isCollectionsIncluded || isFullDetailsIncluded) ) {
lastParentOuterCollectionsAdded = record.addNewCollections();
lastCollectionAdded = addCollection(record, helper, lastParentOuterCollectionsAdded, true);
logDebug("Collection Added! Is it null? " + (lastCollectionAdded == null));
// If there is Collection data and it should be included, build a Collections element,
// and populate the first one
if ( currentRowOrderCollectionId > 0 && (isCollectionsIncluded || isFullDetailsIncluded) ) {
if ( isRootCollectionNode ) {
lastParentOuterCollectionsAdded = record.addNewCollections();
lastCollectionAdded = addCollection(record, helper, lastParentOuterCollectionsAdded, false);
parentCollectionMap.put(new Long(currentRowOrderCollectionId), lastCollectionAdded);
logDebug("parent collection added to map: " + currentRowOrderCollectionId);
else {
lastParentInnerCollectionsAdded = lastCollectionAdded.addNewCollections();
lastCollectionAdded = addCollection(record, helper, lastParentInnerCollectionsAdded, false);
logDebug("Collection Added! Is it null? " + (lastCollectionAdded == null));
// If there is Result data and it should be included, build a Results element,
// and populate the first one
if ( currentRowResultId > 0 && isFullDetailsIncluded ) {
logDebug("Adding result....");
lastResultAdded = addResult(record, helper, lastCollectionAdded);
logDebug("Result Added!");
// If there is Result Remark data and it should be included, build a ResultRemarks element,
// and populate the first one
if ( currentRowResultRemarkId > 0 && isFullDetailsIncluded ) {
addResultRemark(record, helper, lastResultAdded);
logDebug("DONE getting first Collection and Result.");
else if ( currentRowParentOrderCollectionId != previousRowParentOrderCollectionId
&& (isCollectionsIncluded || isFullDetailsIncluded) ) {
// This is a new, top level, Order Collection to be included
lastParentOuterCollectionsAdded = null;
lastParentInnerCollectionsAdded = null;
lastCollectionAdded = null;
lastResultAdded = null;
logDebug("Getting next Order Collection...");
// If there is Parent Collection data and it should be included, build a Collections element,
// and populate the first one
if ( !isRootCollectionNode ) {
lastCollectionAdded = (com.idexx.services.lde.laborder.Collection)parentCollectionMap.get(new Long(currentRowParentOrderCollectionId));
logDebug("A Collection Added! Is it null? " + (lastCollectionAdded == null));
// If there is Collection data and it should be included, build a Collections element,
// and populate the first one
if ( currentRowOrderCollectionId > 0 ) {
if ( isRootCollectionNode ) {
//LabOrder.Collections collections = record.addNewCollections();
lastParentOuterCollectionsAdded = record.getCollections();
lastCollectionAdded = addCollection(record, helper, lastParentOuterCollectionsAdded, false);
parentCollectionMap.put(new Long(currentRowOrderCollectionId), lastCollectionAdded);
else {
lastParentInnerCollectionsAdded = lastCollectionAdded.addNewCollections();
lastCollectionAdded = addCollection(record, helper, lastParentInnerCollectionsAdded, false);
logDebug("B Collection Added! Is it null? " + (lastCollectionAdded == null));
// If there is Result data and it should be included, build a Results element,
// and populate the first one
if ( currentRowResultId > 0 && isFullDetailsIncluded ) {
lastResultAdded = addResult(record, helper, lastCollectionAdded);
// If there is Result Remark data and it should be included, build a ResultRemarks element,
// and populate the first one
if ( currentRowResultRemarkId > 0 && isFullDetailsIncluded ) {
addResultRemark(record, helper, lastResultAdded);
else if ( currentRowOrderCollectionId != previousRowOrderCollectionId
&& (isCollectionsIncluded || isFullDetailsIncluded) ) {
// This is a new Order Collection to be included inside of a parent collection
logDebug("Getting next CHILD Order Collection...");
logDebug("isRootCollectionNode: " + isRootCollectionNode);
logDebug("Order ID: " + helper.getBigInteger(DataConstants.ORDER_ID));
logDebug("Order Collection ID: " + helper.getBigInteger(DataConstants.ORDER_COLLECTION_ID));
logDebug("Collection ID: " + helper.getBigInteger(DataConstants.COLLECTION_ID));
if ( isRootCollectionNode ) {
lastCollectionAdded = addCollection(record, helper, lastParentOuterCollectionsAdded, false);
parentCollectionMap.put(new Long(currentRowOrderCollectionId), lastCollectionAdded);
else {
com.idexx.services.lde.laborder.Collection parentCollection = (com.idexx.services.lde.laborder.Collection)parentCollectionMap.get(new Long(currentRowParentOrderCollectionId));
if(parentCollection == null) {
log(LOG_LEVEL.WARN, "Parent Collection with id: " + currentRowParentOrderCollectionId + " is null for collection id: " + currentRowOrderCollectionId + " but isRootCollectionNode is " + isRootCollectionNode);
} else {
lastParentInnerCollectionsAdded = parentCollection.getCollections();
logDebug("Is lastParentInnerCollectionsAdded null? " + (lastParentInnerCollectionsAdded == null));
lastCollectionAdded = addCollection(record, helper, lastParentInnerCollectionsAdded, false);
// If there is Result data and it should be included, build a Results element,
// and populate the first one
if ( currentRowResultId > 0 && isFullDetailsIncluded ) {
lastResultAdded = addResult(record, helper, lastCollectionAdded);
// If there is Result Remark data and it should be included, build a ResultRemarks element,
// and populate the first one
if ( currentRowResultRemarkId > 0 && isFullDetailsIncluded ) {
addResultRemark(record, helper, lastResultAdded);
else if ( currentRowResultId != previousRowResultId
&& isFullDetailsIncluded ) {
// There is a new Result to be included
logDebug("Getting next Result...");
// This is a new result to be included
lastResultAdded = addResult(record, helper, lastCollectionAdded);
// If there is Result Remark data and it should be included, build a ResultRemarks element,
// and populate the first one
if ( currentRowResultRemarkId > 0 && isFullDetailsIncluded ) {
addResultRemark(record, helper, lastResultAdded);
else if ( isFullDetailsIncluded ) {
// There is a new Result Remark to include
logDebug("Getting next Result Remark...");
// This is a new result remark to be included
addResultRemark(record, helper, lastResultAdded);
logDebug("Done building response.");
previousRowResultId = currentRowResultId;
previousRowParentOrderCollectionId = currentRowParentOrderCollectionId;
previousRowOrderCollectionId = currentRowOrderCollectionId;
previousRowOrderId = currentRowOrderId;
logDebug("Found " + rows + " rows of data.");
} -
ERROR at line 1: ORA-29913: error in executing ODCIEXTTABLEOPEN callout ORA
Hi,
i am using external tables for fetching values from text file
1)
create or replace directory XTERN_DATA_DIRTEST
as 'E:\test';
2)
create table xtern_countrytest
COUNTRYNAME VARCHAR2(200)
organization external
( default directory XTERN_DATA_DIRtest
access parameters
records delimited by '|$|'
fields terminated by '|#|'
MISSING FIELD VALUES ARE NULL
location ('Country.txt')
when i execute
select * from xtern_countrytest am gettng following error
ERROR at line 1:
ORA-29913: error in executing ODCIEXTTABLEOPEN callout
ORA-29400: data cartridge error
KUP-04040: file Country.txt in XTERN_DATA_DIRTEST not found
ORA-06512: at "SYS.ORACLE_LOADER", line 19
FYI,i have granted access,file is present at location,same thing works in development environment,but this error is happening in live server,
can any one has a idea about this,its urgentsybrand_b wrote:
Hi,
Welcome to the forums.
First of all I must remind you this is not a free support forum. Also everyone here is volunteer.
This means using words like 'urgent' and 'asap' is usually considered inappropriate as there is paid support.
In your transcript I notice you have no
grant read, write directory on XTERN_DATA_DIRTEST
I also notice in your external table definition your location directive appears to be incomplete
It should be
location(XTERN_DATA_DIRTEST:'Country.txt')
Hth
Sybrand Bakker
Senior Oracle DBASybrand
He doesn't need to write "location(XTERN_DATA_DIRTEST:'Country.txt')" because he sets the default directory:
( default directory XTERN_DATA_DIRtest
access parameters
user 854436,
Please check MOS [ID 150737.1]: ORA-29913 ORA-29400 KUP-04040 While Selecting from External Table
Regards
Gokhan -
ERROR at line 1: ORA-03113: end-of-file on communication channel
I have a DRDA gateway set up between my Oracle 10.2.0.4 instance (linux 64 bit), and a DB2 UDB instance (v 8.2 32 Bit). Within a SQLPlus session, I'm able to successfully interact with tables (select, update, delete) that do not have CLOB columns defined. However, whenever I try to access a table with a CLOB column (even doing a select on a single row), I get an end-of-file communication error and it kicks me out of my session. I can interact with the table as long as I don't include the CLOB/BLOB columns. Is there some additional configuration or memory settings I'm missing?
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> select * from mytablewithaclob@db2 where l_column= 1;
select * from dbo.mytablewithaclob@db2 where l_column= 1
ERROR at line 1:
ORA-03113: end-of-file on communication channelI add the following codepage.map (as per another post) - packages are bound properly, and tables without clobs I can interact with just fine.:
S 367 > US7ASCII
D 13488 > AL16UTF16
D 1200 = AL16UTF16
M 1208 = UTF8
MBC 1208 = 1208 1200
column in question is defined as follows in DB2:
mycol CLOB(1G) DEFAULT '' NOT NULL NOT LOGGEDAny thoughts? Much appreciated.
Edited by: kpw on Sep 3, 2009 4:21 PMUnfortunately TG4DRDA 10.2.0 does not support DB2 (C)LOB datatype. A crash is a rather unpleasant way to report this inability... but that could depend on the version of TG4DRDA you use (10.2.0.1.0). I guess when you upgrade TG4DRDA to 10.2.0.4.0 you will get a proper error message (ORA-28527 - datatype conversion error).
As workaround you could:
- create a view on the DB2 table and exclude the (C)LOB columns
- move/copy the (C)LOB data into a TG4DRDA supported datatype ((long) varchar for bit data)
Regards,
Ed -
Java Null Error when Trying to commit
Hello,
I just received a new PC and installed OWB Client 10.1.0.2.0 on it.
When I try to commit, I receive the following java null error:
null
null
at oracle.wh.repos.impl.foundation.DirtyCache.persist(DirtyCache.java:442)
at oracle.wh.repos.impl.foundation.DirtyCache.persist(DirtyCache.java:355)
at oracle.wh.repos.impl.foundation.DirtyCache.persist(DirtyCache.java:230)
at oracle.wh.repos.impl.foundation.CacheMediator.postChanges(CacheMediator.java:458)
at oracle.wh.repos.impl.foundation.CacheMediator.postChanges(CacheMediator.java:451)
at oracle.wh.repos.impl.foundation.CacheMediator.commit(CacheMediator.java:1419)
at oracle.wh.repos.impl.transaction.TransactionManager.commitGlobalTransaction(TransactionManager.java:328)
at oracle.wh.repos.impl.transaction.TransactionManager.commit(TransactionManager.java:444)
at oracle.wh.ui.runtime.application.WHRuntimeCommandUtil.commitAllChanges(WHRuntimeCommandUtil.java:321)
at oracle.wh.ui.runtime.application.WHRuntimeCommandGenerateDeploy.doCompile(WHRuntimeCommandGenerateDeploy.java:870)
at oracle.wh.ui.runtime.application.WHRuntimeCommandGenerateDeploy.generate(WHRuntimeCommandGenerateDeploy.java:917)
at oracle.wh.ui.runtime.application.WHRuntimeCommandGenerateDeploy.doDeployment(WHRuntimeCommandGenerateDeploy.java:1105)
at oracle.wh.ui.runtime.application.WHRuntimeCommandHandler.doCommand(WHRuntimeCommandHandler.java:536)
at oracle.wh.ui.runtime.application.WHRuntimeCommandHandler.actionPerformed(WHRuntimeCommandHandler.java:329)
at oracle.wh.ui.common.OWBConsumer.dataItemAvailable(OWBInfoBus.java:380)
at javax.infobus.DefaultController.fireItemAvailable(DefaultController.java:90)
at javax.infobus.InfoBus.fireItemAvailable(InfoBus.java:989)
at oracle.wh.ui.common.OWBInfoBus.produce(OWBInfoBus.java:159)
at oracle.wh.ui.common.OWBInfoBus.produce(OWBInfoBus.java:76)
at oracle.wh.ui.runtime.RuntimeController$8.actionPerformed(RuntimeController.java:3331)
at oracle.wh.ui.runtime.WHJMenuToolBar$2.actionPerformed(WHJMenuToolBar.java:367)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
at java.awt.Component.processMouseEvent(Component.java:5100)
at java.awt.Component.processEvent(Component.java:4897)
at java.awt.Container.processEvent(Container.java:1569)
at java.awt.Component.dispatchEventImpl(Component.java:3615)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
at java.awt.Container.dispatchEventImpl(Container.java:1613)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
\nCMPException message and stack trace:\nnull
at oracle.wh.repos.impl.foundation.DirtyCache.persist(DirtyCache.java:442)
at oracle.wh.repos.impl.foundation.DirtyCache.persist(DirtyCache.java:355)
at oracle.wh.repos.impl.foundation.DirtyCache.persist(DirtyCache.java:230)
at oracle.wh.repos.impl.foundation.CacheMediator.postChanges(CacheMediator.java:458)
at oracle.wh.repos.impl.foundation.CacheMediator.postChanges(CacheMediator.java:451)
at oracle.wh.repos.impl.foundation.CacheMediator.commit(CacheMediator.java:1419)
at oracle.wh.repos.impl.transaction.TransactionManager.commitGlobalTransaction(TransactionManager.java:328)
at oracle.wh.repos.impl.transaction.TransactionManager.commit(TransactionManager.java:444)
at oracle.wh.ui.runtime.application.WHRuntimeCommandUtil.commitAllChanges(WHRuntimeCommandUtil.java:321)
at oracle.wh.ui.runtime.application.WHRuntimeCommandGenerateDeploy.doCompile(WHRuntimeCommandGenerateDeploy.java:870)
at oracle.wh.ui.runtime.application.WHRuntimeCommandGenerateDeploy.generate(WHRuntimeCommandGenerateDeploy.java:917)
at oracle.wh.ui.runtime.application.WHRuntimeCommandGenerateDeploy.doDeployment(WHRuntimeCommandGenerateDeploy.java:1105)
at oracle.wh.ui.runtime.application.WHRuntimeCommandHandler.doCommand(WHRuntimeCommandHandler.java:536)
at oracle.wh.ui.runtime.application.WHRuntimeCommandHandler.actionPerformed(WHRuntimeCommandHandler.java:329)
at oracle.wh.ui.common.OWBConsumer.dataItemAvailable(OWBInfoBus.java:380)
at javax.infobus.DefaultController.fireItemAvailable(DefaultController.java:90)
at javax.infobus.InfoBus.fireItemAvailable(InfoBus.java:989)
at oracle.wh.ui.common.OWBInfoBus.produce(OWBInfoBus.java:159)
at oracle.wh.ui.common.OWBInfoBus.produce(OWBInfoBus.java:76)
at oracle.wh.ui.runtime.RuntimeController$8.actionPerformed(RuntimeController.java:3331)
at oracle.wh.ui.runtime.WHJMenuToolBar$2.actionPerformed(WHJMenuToolBar.java:367)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
at java.awt.Component.processMouseEvent(Component.java:5100)
at java.awt.Component.processEvent(Component.java:4897)
at java.awt.Container.processEvent(Container.java:1569)
at java.awt.Component.dispatchEventImpl(Component.java:3615)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
at java.awt.Container.dispatchEventImpl(Container.java:1613)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
I remember something similar happening when I upgraded from 9 to 10g on my last machine. A co-worker provided a fix by adding a line to some sort of java file, I think. However, he is un-available to ask about this issue again.
Any help would be much appreciated!
-RyanDoes this happen after a particular operation (Metadata Import, a mapping creation, etc)? Or does it happen regardless of the preceding operation - i.e. start the Client, immediately after logon do the commit - get that error?
Nikolai Rochnik -
Hi All
I would like to install Oracle Database 11gR1 On Solaris 10
When I run root.sh command, I confused to input path
*# cd /home/oracle11/app/oracle11/product/11.1.0/db_1*
*# ./root.sh*
Running Oracle 11g root.sh script...
The following environment variables are set as:
ORACLE_OWNER= oracle11
ORACLE_HOME= /usr2/home/oracle11/app/oracle11/product/11.1.0/db_1
*Enter the full pathname of the local bin directory: [usr/local/bin]:/usr/bin/bash*
I have inputed "/usr/bin/bash"
Now I can not run bash on Solaris 10.
*# bash*
bash[34]: syntax error at line 40 : `set' unexpected
Please help me!
Thankyou and best regards,
thiensu2810Hi
Output of "$ find /usr -name bash 2>/dev/null" is
*# find /usr -name bash 2>/dev/null*
*/usr/bin/bash*
*# less /usr/bin/bash*
+###################################+
+#+
+# $Header: coraenv.sh 17-may-2007.08:31:33 jboyce Exp $ coraenv+
+#+
+# Copyright (c) 1987, 2007, Oracle. All rights reserved.+
+#+
+# This routine is used to condition a C shell user's environment+
+# for access to an ORACLE database. It should be installed in+
+# the system local bin directory.+
+#+
+# The user will be prompted for the database SID, unless the variable+
+# ORAENV_ASK is set to NO, in which case the current value of ORACLE_SID+
+# is used.+
+# An asterisk '*' can be used to refer to the NULL SID.+
+#+
+# 'dbhome' is called to locate ORACLE_HOME for the SID. If+
+# ORACLE_HOME cannot be located, the user will be prompted for it also.+
+# The following environment variables are set:+
+#+
+# ORACLE_SID Oracle system identifier+
+# ORACLE_HOME Top level directory of the Oracle system hierarchy+
+# PATH Old ORACLE_HOME/bin removed, new one added+
+# ORACLE_BASE Top level directory for storing data files and+
+..................................+
+.................................+
else
if (-e $ORABASE_EXEC) then
if (-x $ORABASE_EXEC) then
set BASEVAL=`$ORABASE_EXEC`
setenv ORACLE_BASE $BASEVAL
echo "The Oracle base for ORACLE_HOME=$ORACLE_HOME is $ORACLE_BASE"
else
echo "The $ORACLE_HOME/bin/orabase binary does not have execute privile
ge"
echo "for the current user, $USER. Rerun the script after changing"
echo "the permission of the mentioned executable."
endif
else
setenv ORACLE_BASE $ORACLE_HOME
echo "The Oracle base for ORACLE_HOME=$ORACLE_HOME is $ORACLE_BASE"
endif
endif
+#+
+# Install local modifications here+
+#+
thank,
thiensu2810 -
'UIComponent is null' error while opening a tab in ADF
Hi,
I am using JDeveloper 11.1.1.5.0
I am navigating from one ADF page to other in my ADF task flow. 2nd ADF page is having multiple tabs with showDetailItem. My requirement is that i need to open a particular tab in 2nd page from 1st page
(1st page) ---> (2nd page) (here a particular tab should open)
I have made use of NavigationHandler in my code which is working fine. But when I am trying to open a tab during navigation, I am getting 'UIComponent is null' error. below is the code I am using
public void openDataTab(ActionEvent actionEvent) {
NavigationHandler nvHndlr = FacesContext.getCurrentInstance().getApplication().getNavigationHandler();
nvHndlr.handleNavigation(FacesContext.getCurrentInstance(), null, "showOverview");
AdfFacesContext.getCurrentInstance().addPartialTarget(panelTabbed); //getting 'UIComponent is null' error here
dataTab.setDisclosed(true);
transactionTab.setDisclosed(false);
}I am getting the error only for the first time. From second time onwards, the functionality is working fine.
Please let me know how to resolve this error.
regards,
RajanHi,
this code should not be used for navigation as it bypasses JSF lifecycle methods
//don't use
NavigationHandler nvHndlr = FacesContext.getCurrentInstance().getApplication().getNavigationHandler();
nvHndlr.handleNavigation(FacesContext.getCurrentInstance(), null, "showOverview");
To solve your issue, add a managed bean in pageFlowScope or use an attribute inpageFlowScope that you use to identify the tab to be opened. Then in the second page, use the "disclosed" property on the showdetailItems to evaluate the pageFlowScope information and then return true or false respectively. The tab that evaluates to "true" will be opened.
Frank
Ps.: JSF component trees are created upon render response phase, which is why your programmatic attempt (which happens during invoke_application phase fails -
While running a report through workspace getting "Null" error
While running a report through workspace i am getting "Null" error.i have checekd the db connection and also access to hfm.
ThanksHi Raj,
There are a few OSS Notes for your issue.
If your Query has hierarchy in it then check 734184
If your query is based on Infoset then check Note 784502 and 701941.
Also check 668921.
Bye
Dinesh -
"Value cannot be null" error when trying to edit or create Maintenance Plan in SQL Server 2008
I have SQL Server 2008 installed on Windows Server 2008 64bit, every time I try to open or create a new Maintenance Plan I receive the error:
Value cannot be null.
Parameter name: component (System.Design)
Program Location:
at System.ComponentModel.Design.DesignerHost.System.ComponentModel.Design.IDesignerHost.GetDesigner(IComponent component)
at Microsoft.DataTransformationServices.VsIntegration.DtsDesignerService.OpenDesigner(String connectionString, Object connection, String objectUrn)
at Microsoft.SqlServer.Management.DatabaseMaintenance.MaintDesignerMenuHandler.Invoke()
And in the Design view screen
"Microsoft SQL Server Management Studio is unable to load this document: Could not load type 'Microsoft.SqlServer.Dts.runtime.Wrapper.IDTSPackageSigning100' from assembly 'Microsoft.SqlServer.DTSRunTimeWrap, Version=10.0.0.0, Culture=neutral'.
I have searched for a possible solution and have tried some suggestions of registering the msxml6.dll but and have installed VS2008 SP1 but I'm not in a position where I can do a full reinstall of SQL Server right now. Any help is appreciated. My SQL server
environment information is below.
Microsoft SQL Server Management Studio
10.0.1600.22 ((SQL_PreRelease).080709-1414 )
Microsoft Analysis Services Client Tools
2007.0100.1600.022 ((SQL_PreRelease).080709-1414 )
Microsoft Data Access Components (MDAC)
6.0.6002.18005 (lh_sp2rtm.090410-1830)
Microsoft MSXML 3.0 4.0 5.0 6.0
Microsoft Internet Explorer 8.0.6001.18943
Microsoft .NET Framework 2.0.50727.4206
Operating System 6.0.6002I digged a little deeper and figured out it was a missing directory/file in %TEMP%. Seems some CleaningTool removes all files/directories in %Temp% and after that SSMS was not working any longer. The missing file is actually not needed, but the
missing directory causes the "Value cannot be null" error.
My missing file name was:
C:\Users\<username>\AppData\Local\Temp\2\6vvdaozf.tmp
But the file name changes on every startup.
So my missing directory name was:
C:\Users\<username>\AppData\Local\Temp\2
After creating a empty directory with the name "2" in %TEMP% all went back to work fine for me.
I'm not sure the directory name is every time the same, but you can discover your missing file with the process monitor from Sysinternal Tools and filters to "Process Name is ssms.exe" and "Path contains AppData\Local\Temp"
Hope this helps other people to solve their issues too.
Thank you!! When I run %temp% it takes me to "C:\Users\Admin ...~\AppData\Local\Temp\some random number". At first the random number was 3, after I logged off and back on it was 2. My temp variable in enviromental variables is correct. I looked on another machine
running SQL2008 and temp is correct there. If I try to rename the numbered folder SSMS stops working. Any idea? -
Hello All,
I am supporting a Java 5 project on Tomcat. We've used Spring and Stored Procedure in the project.
Recently we deployed our application in a GoLive environment and have started seeing Timeout errors in log files. After around two days we also have to restart Tomcat as users are no more able to login to access the application.
Same application runs fine without any timeout issues on another environment.
The only difference between two environments is that the Go-Live env has a firewall between Tomcat and Database and the other environment hosts both Tomcat and Database on same machine (i.e. no firewall).
For GoLive env the only port open on firewall for JDBC connection is 1521 and is used in the connection string url for obtaining the connections.
When there is a Timeout error, the N/w admin guy observed that the JDBC connection was not attempted on 1521 port, but on some random port which is not open on firewall, due to which the Database server logs also do not show entry for this connection attempt as it gets blocked by the firewall.
I am not sure why a randam port should be used to connect when a specific port is mentioned in the connection url? Also what can be making this port switching?
Application uses Apache DBCP with Spring to obtain connections.
Has anyone experienced similar errors?
Any suggestions/help on this issue is greatly appreciated!
Many Thanks,
CD
===============================
Error Log Extract:
Error while extracting database product name - falling back to empty error codes
org.springframework.jdbc.support.MetaDataAccessException: Error while extracting DatabaseMetaData; nested exception is java.sql.SQLException: Closed Connection
java.sql.SQLException: Closed Connection
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:208)
at oracle.jdbc.driver.PhysicalConnection.getMetaData(PhysicalConnection.java:1605)
at org.apache.commons.dbcp.DelegatingConnection.getMetaData(DelegatingConnection.java:247)
at org.apache.commons.dbcp.DelegatingConnection.getMetaData(DelegatingConnection.java:247)
at org.apache.commons.dbcp.PoolingDataSource$PoolGuardConnectionWrapper.getMetaData(PoolingDataSource.java:231)
at org.springframework.jdbc.support.JdbcUtils.extractDatabaseMetaData(JdbcUtils.java:172)
at org.springframework.jdbc.support.JdbcUtils.extractDatabaseMetaData(JdbcUtils.java:207)
at org.springframework.jdbc.support.SQLErrorCodesFactory.getErrorCodes(SQLErrorCodesFactory.java:187)
at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.setDataSource(SQLErrorCodeSQLExceptionTranslator.java:126)
at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.<init>(SQLErrorCodeSQLExceptionTranslator.java:92)
at org.springframework.jdbc.support.JdbcAccessor.getExceptionTranslator(JdbcAccessor.java:96)
at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:294)
at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:348)
at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:352)
at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:356)
at com.o2.morse.dao.impl.sql.UserDaoImpl.batchLoad(UserDaoImpl.java:371)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:287)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
at $Proxy3.batchLoad(Unknown Source)
at com.o2.morse.domain.User.doHousekeeping(User.java:667)
at com.o2.morse.domain.User$$FastClassByCGLIB$$372ff70b.invoke(<generated>)
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:705)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:643)
at com.o2.morse.domain.User$$EnhancerByCGLIB$$d5ac966a.doHousekeeping(<generated>)
at com.o2.morse.scheduler.EndOfDay.run(EndOfDay.java:63)
at com.o2.morse.scheduler.EndOfDay$$FastClassByCGLIB$$3b2d4927.invoke(<generated>)
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:705)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:643)
at com.o2.morse.scheduler.EndOfDay$$EnhancerByCGLIB$$488a9f86.run(<generated>)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.springframework.util.MethodInvoker.invoke(MethodInvoker.java:248)
at org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean$MethodInvokingJob.executeInternal(MethodInvokingJobDetailFactoryBean.java:165)
at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:90)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)
Could not close JDBC Connection
java.sql.SQLException: Already closed.
at org.apache.commons.dbcp.PoolableConnection.close(PoolableConnection.java:77)
at org.apache.commons.dbcp.PoolingDataSource$PoolGuardConnectionWrapper.close(PoolingDataSource.java:180)
at org.springframework.jdbc.datasource.DataSourceUtils.doReleaseConnection(DataSourceUtils.java:286)
at org.springframework.jdbc.datasource.DataSourceUtils.releaseConnection(DataSourceUtils.java:247)
at org.springframework.jdbc.datasource.DataSourceTransactionManager.doCleanupAfterCompletion(DataSourceTransactionManager.java:297)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.cleanupAfterCompletion(AbstractPlatformTransactionManager.java:754)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.processRollback(AbstractPlatformTransactionManager.java:615)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.rollback(AbstractPlatformTransactionManager.java:560)
at org.springframework.transaction.interceptor.TransactionAspectSupport.doCloseTransactionAfterThrowing(TransactionAspectSupport.java:284)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:100)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
at $Proxy3.batchLoad(Unknown Source)
at com.o2.morse.domain.User.doHousekeeping(User.java:667)
at com.o2.morse.domain.User$$FastClassByCGLIB$$372ff70b.invoke(<generated>)
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:705)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:643)
at com.o2.morse.domain.User$$EnhancerByCGLIB$$d5ac966a.doHousekeeping(<generated>)
at com.o2.morse.scheduler.EndOfDay.run(EndOfDay.java:63)
at com.o2.morse.scheduler.EndOfDay$$FastClassByCGLIB$$3b2d4927.invoke(<generated>)
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:705)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:643)
at com.o2.morse.scheduler.EndOfDay$$EnhancerByCGLIB$$488a9f86.run(<generated>)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.springframework.util.MethodInvoker.invoke(MethodInvoker.java:248)
at org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean$MethodInvokingJob.executeInternal(MethodInvokingJobDetailFactoryBean.java:165)
at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:90)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)
Application exception overridden by rollback exception
org.springframework.jdbc.UncategorizedSQLException: StatementCallback; uncategorized SQLException for SQL [SELECT ID_USER_DETAILS, USERNAME, CREATED_ON, LAST_LOGIN FROM USER_DETAILS WHERE STATUS = 157 AND SUPERUSER <> 'Y']; SQL state [null]; error code [17002] ; Io exception: Connection timed out; nested exception is java.sql.SQLException: Io exception: Connection timed out
java.sql.SQLException: Io exception: Connection timed out
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:255)
at oracle.jdbc.driver.T4CStatement.executeForDescribe(T4CStatement.java:820)
at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1049)
at oracle.jdbc.driver.T4CStatement.executeMaybeDescribe(T4CStatement.java:845)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1154)
at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1313)
at org.apache.commons.dbcp.DelegatingStatement.executeQuery(DelegatingStatement.java:205)
at org.apache.commons.dbcp.DelegatingStatement.executeQuery(DelegatingStatement.java:205)
at org.springframework.jdbc.core.JdbcTemplate$1QueryStatementCallback.doInStatement(JdbcTemplate.java:333)
at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:282)
at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:348)
at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:352)
at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:356)
at com.o2.morse.dao.impl.sql.UserDaoImpl.batchLoad(UserDaoImpl.java:371)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:287)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
at $Proxy3.batchLoad(Unknown Source)
at com.o2.morse.domain.User.doHousekeeping(User.java:667)
at com.o2.morse.domain.User$$FastClassByCGLIB$$372ff70b.invoke(<generated>)
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:705)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:643)
at com.o2.morse.domain.User$$EnhancerByCGLIB$$d5ac966a.doHousekeeping(<generated>)
at com.o2.morse.scheduler.EndOfDay.run(EndOfDay.java:63)
at com.o2.morse.scheduler.EndOfDay$$FastClassByCGLIB$$3b2d4927.invoke(<generated>)
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:705)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:643)
at com.o2.morse.scheduler.EndOfDay$$EnhancerByCGLIB$$488a9f86.run(<generated>)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.springframework.util.MethodInvoker.invoke(MethodInvoker.java:248)
at org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean$MethodInvokingJob.executeInternal(MethodInvokingJobDetailFactoryBean.java:165)
at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:90)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)
Batch Job Failed: org.springframework.transaction.TransactionSystemException: Could not roll back JDBC transaction; nested exception is java.sql.SQLException: Closed ConnectionI am using latest Jrockit 16)5, ojdbc6_g.jar,spring.jar Weblogic 10.3 and Oracle 10G 10.2.4 .. whatever but always get "Closed Connection"
java.lang.Throwable: Closed Connection
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:208)
at oracle.jdbc.driver.PhysicalConnection.createStatement(PhysicalConnection.java:750)
at oracle.jdbc.OracleConnectionWrapper.createStatement(OracleConnectionWrapper.java:183)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:7053)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3902)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2773)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183) -
I am getting this error since purchasing my latest book:
“This page contains the following errors: error on line 1 at column 1: error on line 1 at column 1: Encoding error
Below is a rendering of the page up to the first error”
This message also appears on some, but not all books I purchased earlier.
I've tried to restart my iPhone (5) and downloaded iBooks (and the books itself) again several times but nothing has changed. I’m also synced the iPhone via iTunes without luck.
It’s the latest version of iBooks from Appstore. The same books on iBooks for iPad and Mac working fine!
iOS 7.0.6
iBooks 3.2 (2083)Did you Reset your iphone?
-
ERROR at line 1:ORA-01012: not logged on
Hi ,i installed OID and the owner of the binaries and database(repository ) is Oracle and then i cahnged the permissions to 775 and now when i am trying to logon to a db(locally) using a different user x who is member of DBA group its saying not logged on .Is something wrong with permissions?
env|grep ORA
ORACLE_SID=oidtest
PS1=[${ME}:${UNAME}:${ORACLE_SID}] ${PWD} >
ORACLE_HOME=/amoidts1/OID
[amoidts1:panther:oidtest] /home/amoidts1 > sqlplus
SQL*Plus: Release 10.1.0.5.0 - Production on Wed Nov 21 19:24:37 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Enter user-name: / as sysdba
Connected.
SQL> select * from v$database;
select * from v$database
ERROR at line 1:
ORA-01012: not logged onWhat oracle version?
Probably there is not enough OS resources.
*Process J000 died, kkjcre1p: unable to spawn jobq slave process [ID 833613.1]* -
I cannot open a file from lightroom into CC2014 unless I open it as a smart object. CC opens, just will not display my image. i am given an error code when I save an image, and can only save to my desktop or other locations, not automatically back into my lightroom.
I am using LR5 latest update, as well as CC2014
Below is the error message:
Line: 1 -> photoshop.notifyLightroomDocClosed ('lightroom-2.0', 'B53AFA39-A49B-4709-A9BD-0B6467C175C3', 'Macintosh HD:Users:BPexposures:Desktop:_DSC5962 as Smart Object-1.psd');I was also having this issue, and I did some more searching and found this answer in the Adobe forums: Re: Photos from Lightroom 5 to Photoshop CC (2014) and back.... The issue appears to be caused by having not updated Lightroom to the latest version prior to having CC2014 installed (wow that's stupid). The trick seems to be to uninstall Photoshop CC2014 and to then reinstall it after having upgraded to Lightroom 5.5.
Maybe you are looking for
-
Hello people from the forum, I have made a beatifull website, and upload it with filezilla to a server, and also I upload it to a local map. Everthing was going very well, but i don't get my website on the internet, because one page will not be uploa
-
When i have saved genius playlists or compile my own on my ipod touch they do not save when i then connect to my pc. Ocasionally a message saying cannot sync data services pops up.but i always lose the playlists. The only way i can save playlists is
-
I have doen something - as of 5 minutes ago When I preview my site in IE The right hand scroll bar has gone,anyone knwo what I have done? This only happens in DW not other sites. Cheers Kylie
-
N73 Hangs Sometimes after sending SMS
I am using N73(non music edition). I am having a strange problem in my phone. Sometimes after sending sms the phone hangs. When I press menu key to check the background applications it shows "message" there. When I try to kill it by pressing 'c' key
-
BW3.5 : Busness content == Need to find the source cube from an web item
Hi, While executing( preview) an iview of the predelivered CRM business package( com.sap.pct.crm.slsAnalyt.spa.Customer iview for Sales manager), in Enterprise Portal, I get an error " Error loading template 0TPL_0CRM_SM_CUSTOMER". I can see thi