No data found exception
HelloI wrote code like this... But I'm not get when no data found exceptional... Please advise... !!!
create or replace procedure dis_emp(v_empno in number) as
cursor kk is select * from empl where empno=v_empno;
a kk%rowtype;
begin
open kk;
loop
fetch kk into a;
exit when kk%notfound;
dbms_output.put_line(a.empno||' '||a.ename||' '||a.job);
end loop;
close kk;
exception
when no_data_found then
dbms_output.put_line('Sorry...wrong empid');
when others then
dbms_output.put_line('sorry..');
end;
concerningSA
Hello
The no_data_found exception is thrown when you use select it without cursor... under construction.
And that's exactly what you use when you perform simple extractions. There's nothing "smart" on the declaration of a cursor, instead.
create or replace procedure dis_emp(v_empno in number) as
a empl%rowtype;
begin
select * into a
from empl
where empno=v_empno;
dbms_output.put_line(a.empno||' '||a.ename||' '||a.job);
exception
when no_data_found then
dbms_output.put_line('Sorry...wrong empid');
end procedure dis_emp;
/
Also note, don't get any exception when you are not really going to deal with.
Concerning
Peter
Tags: Database
Similar Questions
-
No reason why my cause of a service no data found exception?
Hello everyone,I had a weird problem with report of research using a function that returns the custom SQL query. I was not the first time I did this sort of thing, but this time it seems I can't see why it does not work.
I have a function with 10 parameters that will return a sql string that will be executed in a region of report:
create or replace
Search (varchar2, p_param1,
p_param2 varchar2,
p_param3 varchar2,
p_param4 varchar2,
p_param5 varchar2,
p_param6 varchar2,
p_param7 varchar2,
p_param8 varchar2,
p_param9 varchar2,
p_param10 varchar2)
return varchar2 asv_sql varchar2 (32767): = ";
v_index number: = 0;
Startv_sql: = ' SELECT col1, col2, col3, col4 FROM (SELECT M.col1, M.col2, M.col3,';)
v_sql: = v_sql | "replace ((select stragg (o.x) in tablex o xwhere o.col1 = m.col1),","," < br / > ") col4,';
v_sql: = v_sql | "DECODE(M.col5,''Y'',''Yes'',''N'',''No'') col5,";
v_sql: = v_sql | 'M.col6, M.col7, M.col8, M.col9, M.col10,';
v_sql: = v_sql | "(select stragg (d.col11) of tabley d where d.col1 = m.col1) col11, ';
v_sql: = v_sql | "(select stragg (d.col12) of tabley d where d.col1 = m.col1) col12, ';
v_sql: = v_sql | "(select stragg (d.col13) of tabley d where d.col1 = m.col1) col13 ';
v_sql: = v_sql | ' FROM tablea M) ';
If (p_param1 is not null and p_param1 <>"NULL") or (p_param2 is not null and p_param2 <>'NULL') then
If v_index = 0 then
v_sql: = v_sql | "WHERE";
v_index: = v_index + 1;
end if;
If p_param1 <>'NULL' and p_param2 <>'NULL' then
v_sql: = v_sql | "col6 ="' | p_param1 | "' and col7 ="' | p_param2 | ''' ';
on the other
If p_param1 <>'NULL' then
v_sql: = v_sql | "col6 ="' | p_param1 | ''' ';
end if;
If p_param2 <>'NULL' then
v_sql: = v_sql | "col7 ="' | p_param2 | ''' ';
end if;
end if;
end if;
If p_param3 is not null and p_param3 <>'NULL' then
If v_index = 0 then
v_sql: = v_sql | "WHERE";
v_index: = v_index + 1;
on the other
v_sql: = v_sql | "AND."
end if;
v_sql: = v_sql | "col8 ="' | p_param3 | ''' ';
end if;
If (p_param4 is not null and p_param4 <>"NULL") or (p_param5 is not null and p_param5 <>"NULL") or (p_param6 is not null and p_param6 <>'NULL') thenIf v_index = 0 then
v_sql: = v_sql | "WHERE";
v_index: = v_index + 1;
on the other
v_sql: = v_sql | "AND."
end if;
If p_param4 <>'NULL' then
v_sql: = v_sql | "col9 ="' | p_param4 | ''' ';
end if;
If p_param5 <>'NULL' then
v_sql: = v_sql | "AND col10 ="' | p_param5 | ''' ';
end if;
If p_param6 <>'NULL' then
v_sql: = v_sql | "AND col11 ="' | p_param6 | ''' ';
end if;end if;
If (p_param7 is not null and p_param7 <>"NULL") or (p_param8 is not null and p_param8 <>"NULL") or (p_param9 is not null and p_param9 <>'NULL') thenIf v_index = 0 then
v_sql: = v_sql | "WHERE";
v_index: = v_index + 1;
on the other
v_sql: = v_sql | "AND."
end if;
If p_param7 <>'NULL' then
v_sql: = v_sql | «INSTR (col12, "' |)» p_param7 | ') > 0 ';
end if;
If p_param8 <>'NULL' then
v_sql: = v_sql | «AND INSTR (col13, "' |)» p_param8 | ') > 0 ';
end if;
If p_des_ville <>'NULL' then
v_sql: = v_sql | «AND INSTR (col14, "' |)» p_param9 | ') > 0 ';
end if;end if;
If (p_param10 is not null) thenIf v_index = 0 then
v_sql: = v_sql | "WHERE";
v_index: = v_index + 1;
on the other
v_sql: = v_sql | "AND."
end if;
v_sql: = v_sql | 'INSTR (UPPER(col2 || ''). '' || COL3 | '' '' || COL4), NVL (SUPERIOR ("' | p_param10 |)) ('), UPPER(col2 ||) '' '' || COL3 | '' '' || COL4))) > 0';
end if;
Return v_sql;
end;And I call it correctly in my area source: SEARCH for return (: P1_1,: P1_2,: P1_3,: P1_4,: P1_5,: P1_6,: P1_7,: P1_8,: P1_9,: P1_10);
When I run the function in SQL develop, the result is always correct and return exactly what I see.
In addition, I initiate my fields default values on entering the page.
I tried to delete all the characters of cariage return, so that the result should be on a single line.
No idea what would be my problem be?
Hi HarryF,
Because I did not understand the real problem, I decided to do the old-fashioned way, and it works well. In any case, the request was not too big to use as a simple query.
Thank you all for your time!
-
No data found Trigger error (before or after)
Dear all,
We have the trigger in the database, whenever we try to insert the record in WIP_OPERATIONS, NO DATA FOUND exception was thrown, when debugging we, we have found no problem. The first select statement is getting has not, even if there is the value entered for: NEW.wip_entity_id and when we execute the query separately in the database with the: NEW. WIP_ENTITY_ID, its getting the value. What could be the reason? We cannot use statement SELECT AFTER or BEFORE INSERT trigger? No idea why its NO_DATA_FOUND Exception throw?
CREATE OR REPLACE TRIGGER sdm_brasil_wj_ops_iface_trg
BEFORE YOU INSERT OR REMOVE
ON WIP_OPERATIONS
SEO
AGAIN LIKE NEW
OLD OLD
FOR EACH LINE
DECLARE
ln_status NUMBER (10): = 0;
ln_item_id Number (20);
--
lc_txn_type VARCHAR2 (1);
v_interface_flag VARCHAR2 (1);
v_err_msg VARCHAR2 (2000): = NULL;
v_error VARCHAR2 (2000): = NULL;
--
lb_insert_iface BOOLEAN: = FALSE;
--
lr_discrete_job_ops wip_operations % ROWTYPE: = NULL;
--
BEGIN
lr_discrete_job_ops.wip_entity_id: =: NEW.wip_entity_id;
BEGIN
INSERT INTO APPS. The VALUES of XX_TEMP (': NEW.wip_entity_id ' |: NEW.wip_entity_id);
SELECT status_type
IN ln_status
OF wip_discrete_jobs
WHERE wip_entity_id =: NEW.wip_entity_id;
INSERT INTO APPS. The XX_TEMP VALUES ('ln_status' | ln_status);
EXCEPTION
WHEN NO_DATA_FOUND THEN
ln_status: = 0;
v_error: = ' ERR001: NO DATA FOUND - primary item for WJ ID Id: ' | To_char (lr_discrete_job_ops.wip_entity_id): ' = > ' | SUBSTR (SQLERRM, 1, 500);
dbg_pk.appmsg (1, vn | v_error);
WHEN TOO_MANY_ROWS THEN
ln_status: = 1;
v_error: = ' ERR001: TOO Manu Rows: primary item for WJ ID Id: ' | To_char (lr_discrete_job_ops.wip_entity_id): ' = > ' | SUBSTR (SQLERRM, 1, 500);
dbg_pk.appmsg (1, vn | v_error);
WHILE OTHERS THEN
ln_status: = 2;
v_error: = ' ERR001: other - of the primary item for WJ ID Id: ' | To_char (lr_discrete_job_ops.wip_entity_id): ' = > ' | SUBSTR (SQLERRM, 1, 500);
dbg_pk.appmsg (1, vn | v_error);
END;932450 wrote:
Hi Blushadow,Thanks for the reply, even I thought that the select statement is get executed before recording is committed to the database.
How we can know, determine if the data enters the wip_discrete_jobs table?
He didn't necessarily need to be committed, but it must have been inserted in the same session.
The NO_DATA_FOUND error would seem to indicate that the trigger on the table wip_operations is put to fire until the data is inserted at wip_discrete_jobs. We have all your code, we are unable to identify the exact location of the error. -
exception: when no data found
Hello
I want to assign a variable var1 leave a select query
Select attr1 in var1 from table1 where (condition)
So I want to 0 when no data found in this application, without throwing an exception, the attr1 value so without stopping the program
someone has an idea?
Thank you
concerning
ELYESHope this helps:
DECLARE v_count PLS_INTEGER; BEGIN SELECT COUNT(1) INTO v_count FROM TABLE1 WHERE (CONDITION); IF v_count = 0 THEN DBMS_OUTPUT.PUT_LINE('NO DATA FOUND'); ELSE DBMS_OUTPUT.PUT_LINE('DATA AVAILABLE'); END IF; EXCEPTION WHEN OTHERS THEN DBMS_OUTPUT.PUT_LINE('OTHER EXCEPTION'); END;
-
report "no data found".
Hello together,
I use Apex 4.2.4 with a DB XE on Windows.
I'm creating a mobile application.
I created a report showing specific information from the user.
Sometimes, it is possible that there is no information available. In this case the report displays the message/exception "no data found".
Is there a solution to hide this message?
My plan is to show only the data if they are available and show nothing when no data found.
For the user, it should look like this, there is not a report if no data is available.
I don't want to see the message "no data found".
Thanks for your help
Joe
Joe_990933 wrote:
I use Apex 4.2.4 with a DB XE on Windows.
My plan is to show only the data if they are available and show nothing when no data found.
For the user, it should look like this, there is not a report if no data is available.
Control if the area of report is displayed using a Exists (SQL query returns at least one row) condition with a query that returns at least one row if the report contains data.
-
Hello
We strive to run a full charge in DAC, but it is a failure.
The S_ASSET table is empty and therefore, we get the error
Could not get column: ORA-01403: no data found
We were not facing this error in DAC 10 g but after upgrade to DCA 11 g, this task has no place if the array is empty. How remove this restriction and DAC will work perfectly even if the tables are empty to full charge?
CAD DETAILS
Console Administration Oracle BI DW
CAD build a 11.1.1.6.4.20121119.2022 Build date: November 19, 2012
Management Console to install, configure, and administer the Warehouse Analytics of Oracle Business
Schema version - 47, Index version - 36, repository version - 6, data version Seed - 16
INFORMATICA - VERSION9.0.1 HF2
Here's the log of IMG_BUILD - S_ASSET when this task was running in DAC 10 g. The task facing any problem when S_ASSET table was empty.
[code]
2013-12-23 15:34:29.644 CHANGE CAPTURE: IMG_BUILD - internal S_ASSET began.
the number of days of prunes: 4
After change data capture: 2013-12-19 12:23:19.332 in full Mode.
2013-12-23 15:34:29.69 - execution:
TRUNCATE TABLE S_ETL_I_IMG_6
2013-12-23 15:34:29.89 - executed successfully.
2013-12-23 15:34:29.9 - execution:
TRUNCATE TABLE S_ETL_R_IMG_6
2013-12-23 15:34:30.145 - executed successfully.
2013-12-23 15:34:30.16 - execution:
TRUNCATE TABLE S_ETL_D_IMG_6
2013-12-23 15:34:30.198 - executed successfully.
2013-12-23 15:34:30.236 - execution:
INSERT / * + APPEND * / INTO S_ETL_R_IMG_6
(ROW_ID, MODIFICATION_NUM, LAST_UPD)
SELECT
ROW_ID
MODIFICATION_NUM
LAST_UPD
Of
S_ASSET
WHERE
LAST_UPD > TO_DATE ('2013-12-19 12:23:19 ',' ' YYYY-MM-DD HH24:MI:SS)
2013-12-23 15:34:30.968 - executed successfully.
2013 12-23 15:34:30.989 - execution of deleting duplicates rowid.
2013-12-23 15:34:31.01 - successfully deleting duplicates rowid.
2013-12-23 15:34:31.27 - execution:
DROP VIEW V_ASSET
2013-12-23 15:34:31.566 - executed successfully.
2013-12-23 15:34:31.569 - execution:
CREATE VIEW V_ASSET AS
SELECT
*
Of
S_ASSET
2013-12-23 15:34:31.743 - executed successfully.
2013-12-23 15:34:31.78 - execution:
SELECT COUNT (*) IN S_ASSET
The County is: 0
Executed successfully: CHANGE CAPTURE: IMG_BUILD - internal S_ASSET
(Number of attempts: 1).
Executed orders:
IMG_BUILD - internal
2013-12-23 15:34:31.851 CHANGE CAPTURE: IMG_BUILD - internal S_ASSET has finished running with the completed state.
The same task, IMG_BUILD - S_ASSET fails when it is running in DAC 11 g, because the table is empty. Here is the log for the failure of the task to 11g.
[code]
2013-12-27 21:21:47.497 acquisition of resources
2013-12-27 21:22:20.33 acquired resources
2013-12-27 21:22:20.787 CHANGE CAPTURE: IMG_BUILD - internal S_ASSET began.
the number of days of plum: 5760
After change data capture: 2013-12-23 21:19:19.233 in full Mode.
21:22:21.211 2013-12-27 - execution:
TRUNCATE TABLE S_ETL_I_IMG_6
2013-12-27 21:22:22.384 - executed successfully.
21:22:22.389 2013-12-27 - execution:
TRUNCATE TABLE S_ETL_R_IMG_6
2013-12-27 21:22:22.532 - executed successfully.
21:22:22.534 2013-12-27 - execution:
TRUNCATE TABLE S_ETL_D_IMG_6
2013-12-27 21:22:22.546 - executed successfully.
21:22:22.55 2013-12-27 - execution:
INSERT / * + APPEND * / INTO S_ETL_R_IMG_6
(ROW_ID, MODIFICATION_NUM, LAST_UPD)
SELECT
ROW_ID
MODIFICATION_NUM
LAST_UPD
Of
S_ASSET
WHERE
LAST_UPD > TO_DATE ('2013-12-23 21:19:19 ',' ' YYYY-MM-DD HH24:MI:SS)
2013-12-27 21:22:22.614 - executed successfully.
2013 12-27 21:22:22.616 - execution of deleting duplicates rowid.
2013-12-27 21:22:24.72 - successfully deleting duplicates rowid.
Could not get column: ORA-01403: no data found
FAULT INFO: Error executing: CHANGE CAPTURE: IMG_BUILD - internal S_ASSET
MESSAGE: com. Siebel.Analytics.etl.Execution.exceptions.ChangeCaptureTaskFailedException: Change Capture failed.
EXCEPTION CLASS: java.lang.RuntimeException
com.siebel.analytics.etl.etltask.GenericTaskImpl.doExecuteWithRetries(GenericTaskImpl.java:536)
com.siebel.analytics.etl.etltask.GenericTaskImpl.execute(GenericTaskImpl.java:372)
com.siebel.analytics.etl.etltask.GenericTaskImpl.execute(GenericTaskImpl.java:253)
com.siebel.analytics.etl.etltask.GenericTaskImpl.run(GenericTaskImpl.java:655)
com.siebel.analytics.etl.taskmanager.XCallable.call(XCallable.java:63)
java.util.concurrent.FutureTask$ Sync.innerRun (FutureTask.java:303)
java.util.concurrent.FutureTask.run(FutureTask.java:138)
java.util.concurrent.Executors$ RunnableAdapter.call (Executors.java:441)
java.util.concurrent.FutureTask$ Sync.innerRun (FutureTask.java:303)
java.util.concurrent.FutureTask.run(FutureTask.java:138)
java.util.concurrent.ThreadPoolExecutor$ Worker.runTask (ThreadPoolExecutor.java:886)
java.util.concurrent.ThreadPoolExecutor$ Worker.run (ThreadPoolExecutor.java:908)
java.lang.Thread.run(Thread.java:619)
: CAUSE:
MESSAGE: change Capture failed.
EXCEPTION CLASS: com.siebel.analytics.etl.execution.exceptions.ChangeCaptureTaskFailedException
com.siebel.analytics.etl.etltask.ChangeCaptureTask.executeChangeCapture(ChangeCaptureTask.java:93)
com.siebel.analytics.etl.etltask.ChangeCaptureTask.doExecute(ChangeCaptureTask.java:46)
com.siebel.analytics.etl.etltask.GenericTaskImpl.doExecuteWithRetries(GenericTaskImpl.java:477)
com.siebel.analytics.etl.etltask.GenericTaskImpl.execute(GenericTaskImpl.java:372)
com.siebel.analytics.etl.etltask.GenericTaskImpl.execute(GenericTaskImpl.java:253)
com.siebel.analytics.etl.etltask.GenericTaskImpl.run(GenericTaskImpl.java:655)
com.siebel.analytics.etl.taskmanager.XCallable.call(XCallable.java:63)
java.util.concurrent.FutureTask$ Sync.innerRun (FutureTask.java:303)
java.util.concurrent.FutureTask.run(FutureTask.java:138)
java.util.concurrent.Executors$ RunnableAdapter.call (Executors.java:441)
java.util.concurrent.FutureTask$ Sync.innerRun (FutureTask.java:303)
java.util.concurrent.FutureTask.run(FutureTask.java:138)
java.util.concurrent.ThreadPoolExecutor$ Worker.runTask (ThreadPoolExecutor.java:886)
java.util.concurrent.ThreadPoolExecutor$ Worker.run (ThreadPoolExecutor.java:908)
java.lang.Thread.run(Thread.java:619)
(Number of attempts: 1).
IMG_BUILD - internal
2013-12-27 21:22:31.526 CHANGE CAPTURE: IMG_BUILD - internal S_ASSET has finished running with the Failed state.
[[code
The CREATE VIEW privilege was missing from the CAD database user, therefore, was not to create the step. I have granted CREATE VIEW and all is well.
-
ORA-01403: no data found
Hello
The following procedure works fine when the select statement returns a line.
However, it creates "ORA-01403: no data found" error when no data is returned for select.
When I put the following exception after select it, It doest go inside the if block. (It stops after selection). Do not know why.
How can I set an exception for this?exception when NO_DATA_FOUND then null;
CREATE OR REPLACE PROCEDURE kill_blocking IS l_sid number(10); l_serial number(10); l_wait number(10); l_username varchar2(20); sqlStmt VARCHAR2(1000); BEGIN SELECT s1.sid,s1.serial#,s2.seconds_in_wait,s2.username into l_sid,l_serial,l_wait,l_username FROM v$lock l1, v$session s1, v$lock l2,v$session s2,v$sql sqlt1, v$sql sqlt2 WHERE s1.sid =l1.sid AND s2.sid =l2.sid AND sqlt1.sql_id= s2.sql_id AND sqlt2.sql_id= s1.prev_sql_id AND l1.BLOCK =1 AND l2.request > 0 AND l1.id1 = l2.id1 AND l2.id2 = l2.id2; if l_username='APP' and l_wait > 100 then sqlStmt := 'ALTER SYSTEM KILL SESSION ''' || TO_CHAR(l_sid) ||',' || TO_CHAR(l_serial) ||'''' ; dbms_output.put_line( sqlStmt ); EXECUTE IMMEDIATE sqlStmt; END IF; END; /
Check this box
SQL> CREATE OR REPLACE PROCEDURE kill_blocking IS 2 l_sid NUMBER (10); 3 l_serial NUMBER (10); 4 l_wait NUMBER (10); 5 l_username VARCHAR2 (20); 6 sqlstmt VARCHAR2 (1000); 7 BEGIN 8 SELECT s1.SID, s1.serial#, s2.seconds_in_wait, s2.username 9 INTO l_sid, l_serial, l_wait, l_username 10 FROM v$lock l1, 11 v$session s1, 12 v$lock l2, 13 v$session s2, 14 v$sql sqlt1, 15 v$sql sqlt2 16 WHERE s1.SID = l1.SID 17 AND s2.SID = l2.SID 18 AND sqlt1.sql_id = s2.sql_id 19 AND sqlt2.sql_id = s1.prev_sql_id 20 AND l1.BLOCK = 1 21 AND l2.request > 0 22 AND l1.id1 = l2.id1 23 AND l2.id2 = l2.id2; 24 25 IF l_username = 'APP' AND l_wait > 100 26 THEN 27 sqlstmt := 28 'ALTER SYSTEM KILL SESSION ''' 29 || TO_CHAR (l_sid) 30 || ',' 31 || TO_CHAR (l_serial) 32 || ''''; 33 DBMS_OUTPUT.put_line (sqlstmt); 34 35 EXECUTE IMMEDIATE sqlstmt; 36 END IF; 37 EXCEPTION 38 WHEN NO_DATA_FOUND 39 THEN 40 41 DBMS_OUTPUT.put_line ('No Data Found'); 42 END; 43 / No Data Found PL/SQL procedure successfully completed.
-
No data found in report csv or pdf on first loading of the page
No data found in report csv output on the first load of the page. Report appears on the page, but no data is available in csv or pdf output. I still need to send the page and then it shows the data in the downloads. The page contains a form (read-only) with a report that refers to 4 page elements by using something like the following:
and b.employee_no = v ('P5_EMPLOYEE_NO')
and c.fisc_year_pk = v ('P5_FISC_YEAR_PK')
and b.job_class = v ('P5_JOB_CLASS')
and b.organization = v ('P5_ORGANIZATION')
Yet once again, report to page appears except there is no data in the downloads. Can someone help me solve this problem? I'm under Oracle APEX 4.2.1 in Oracle database 11 g 2.
Thank you.Sounds like a question of classic session state.
You must eat the page elements using calculations of page rendering to ensure they are set to session state.
Or if the download is triggered by a button, you should check that the elements of the page are subject to session state, perhaps via an action of PL/SQL.
Scott
-
Help simple loop for no data found
I am new to PL/SQL and will have problems trying to manage people entering in a good REC BANNER_ID. In the beginning of the game
I get no data found when an identification number is entered that does not exist in the spriden table. I want to be able to have the people who did not go in a good REC BANNER_ID in skipped records County which is towards the end. I tried a lot of things, but I do not seem to get anywhere. I'm sure it's pretty simple. I think I need to add some kind of "* IF."for rec in c1 loop select SPRIDEN_pidm into pidm from SPRIDEN where SPRIDEN_ID = rec.BANNER_ID and SPRIDEN_CHANGE_IND is null;
statement to the article mentioned above. Here is the whole part of the code
Here are the results I get with 1 id good and a bad id--set serveroutput on format wraped; set serveroutput on; set verify off; spool /u03/banjobs/LOCAL/student/scholar_insert.txt Declare term_code varchar2(6) := '&&TERM'; cursor c1 is select * from ttubantemp.SXTSCHOLAR; Pidm Number; so varchar2(2); icnt number := 0; cnt number := 0; insert_cnt number := 0; update_cnt number := 0; exist_cnt number := 0; skip_cnt number := 0; BEGIN dbms_output.enable (buffer_size => null); for rec in c1 loop select SPRIDEN_pidm into pidm from SPRIDEN where SPRIDEN_ID = rec.BANNER_ID and SPRIDEN_CHANGE_IND is null; Select Count(*) Into Cnt From SPRCMNT Where Sprcmnt_Pidm = Pidm And Sprcmnt_Cmtt_Code = 'SO'; -- and SPRCMNT_TEXT not like term_code; If Cnt > 0 Then Select Sprcmnt_Cmtt_Code Into So From Sprcmnt Where Sprcmnt_Pidm = Pidm and SPRCMNT_CMTT_CODE = 'SO'; Else so := null; end if; -- dbms_output.put_line('BANNER_ID = '||rec.BANNER_ID|| ' - PIDM = '||Pidm|| ' - Term = '||Term_Code|| ' - cnt = '||Cnt); If Pidm Is Not Null then Select Count(*) Into Cnt From Spriden Where Spriden_Pidm = Pidm And So Is Null; if cnt > 0 then dbms_output.put_line(' INSERTING'); INSERT INTO sprcmnt( SPRCMNT_PIDM, SPRCMNT_CMTT_CODE, SPRCMNT_TEXT, SPRCMNT_TEXT_NAR, SPRCMNT_CONFIDENTIAL_IND, SPRCMNT_DATE, SPRCMNT_ORIG_CODE, SPRCMNT_ACTIVITY_DATE, SPRCMNT_CTYP_CODE, SPRCMNT_CONTACT_DATE, SPRCMNT_USER_ID, SPRCMNT_CONTACT_FROM_TIME, SPRCMNT_CONTACT_TO_TIME) VALUES (pidm, 'SO', term_code, NULL, 'N', Sysdate, 'SCHL', SYSDATE, NULL, Null, 'NEXTGEN', NULL, NULL); insert_cnt := insert_cnt + 1; else select count(*) into cnt from sprcmnt Where Sprcmnt_Pidm = Pidm And So Is Not Null And Sprcmnt_Text Like '&&%TERM%'; if cnt > 0 then dbms_output.put_line(' UPDATING'); update sprcmnt set SPRCMNT_TEXT = SPRCMNT_TEXT||' '||term_code where SPRCMNT_PIDM = pidm and SPRCMNT_CMTT_CODE = 'SO'; update sprcmnt set SPRCMNT_ACTIVITY_DATE = sysdate where SPRCMNT_PIDM = pidm and SPRCMNT_CMTT_CODE = 'SO'; Update Sprcmnt set SPRCMNT_USER_ID = 'NEXTGEN' where SPRCMNT_PIDM = pidm and SPRCMNT_CMTT_CODE = 'SO'; update_cnt := update_cnt + 1; else dbms_output.put_line(' RECORD EXISTS'); exist_cnt := exist_cnt + 1; end if; end if; icnt := icnt + 1; else dbms_output.put_line('SKIPPED BANNER_ID = '||rec.BANNER_ID); skip_cnt := skip_cnt + 1; end if; end loop; commit; dbms_output.put_line('Total Records = '||icnt); dbms_output.put_line('Records Inserted = '||insert_cnt); dbms_output.put_line('Records Updated = '||update_cnt); dbms_output.put_line('Records Existed = '||exist_cnt); dbms_output.put_line('Records Skipped = '||skip_cnt); END; / spool off; / EXIT
Error report:
ORA-01403: no data found
ORA-06512: at line 15 level
01403 00000 - "no data found".
* Cause:
* Action:
BANNER_ID = T00001227 - PIDM = 1450 - term = 201280 - cnt = 0
INSERTION OF
Engage
Here are the results with only a good idea
anonymous block filled
BANNER_ID = T00001227 - PIDM = 1450 - term = 201280 - cnt = 0
INSERTION OF
Total records = 1
Inserted records = 1
Put records = 0
Folders existed = 0
Ignored records = 0
Engage
Edited by: Withnoe 6 July 2012 14:27Put another block of start-end inside the loop (around your select statement) and includes an exception handler.
Pseudocode here:for rec in c1 loop BEGIN select SPRIDEN_pidm into pidm from SPRIDEN where SPRIDEN_ID = rec.BANNER_ID and SPRIDEN_CHANGE_IND is null; EXCEPTION WHEN NO_DATA_FOUND THEN dbms_output.put_line('SKIPPED BANNER_ID = '||rec.BANNER_ID); skip_cnt := skip_cnt + 1; END; . . . end loop;
In addition, if you count the records to see if he has at least 1 card that meets the condition, why count ALL records? You can count and put "rownum = 1" or "" rownum < 2"="" so="" it="" stops="" when="" it="" gets="" to="" one="" row.="" another="" way="" i="" like="" to="" do="" it="" is="" "select="" count(*)="" from="" dual="" where="">
". But often there is no need to count at all. People will sometimes do a count to see if there is to be done and if so, then run. In many cases, it is best to try just to get the job done without counting any first.
-
We do not currently use Oracle planning.
I'm setting up planning in development server if it will help us.
After you set a database mapping (which points to the development server itself)
I have create a selection of games for Receivables Tax Codes and rates.
Then I extracted to download an extract, no problem.
I update the selection sets, click the defined filter, it gave me an error page:
------
You have encountered an unexpected error. Please contact the system administrator for assistance.
Click here for exception details.
------
Click on the 'here', a long java exception stack traces, what should I do to solve this problem:
------
oracle.apps.fnd.framework.OAException: no data found for the region (/ oracle/apps/az/regionMap/TAX_CODE).
at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getWebBeanBaseData(OAWebBeanFactoryImpl.java:1705)
at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntry(P13NWebUIHelper.java:928)
at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:842)
at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:849)
at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:849)
at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:849)
at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:849)
at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:849)
at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:849)
at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:849)
at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonzliationToolEntries(P13NWebUIHelper.java:830)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1796)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
to _html._OA._jspService(_OA.java:88) oa
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
at oracle.jsp.JspServlet.service(JspServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187)
to _html._OA._jspService(_OA.java:98) oa
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
at oracle.jsp.JspServlet.service(JspServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
at org.apache.jserv.JServConnection.run(JServConnection.java:294)
at java.lang.Thread.run(Thread.java:534)
# # 0 in detail
Exception:
oracle.adf.mds.MetadataDefException: unable to find the component with an absolute reference = / oracle/apps/az/regionMap/TAX_CODE, XML Path = null. Please check that the reference is valid and the definition of the component on the file system or in the MDS repository.
at oracle.adf.mds.internal.MetadataManagerBase.findElement(MetadataManagerBase.java:1343)
at oracle.adf.mds.MElement.findElement(MElement.java:97)
at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getJRADWebBeanBaseData(OAWebBeanFactoryImpl.java:2881)
at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getWebBeanBaseData(OAWebBeanFactoryImpl.java:1700)
at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntry(P13NWebUIHelper.java:928)
at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:842)
at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:849)
at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:849)
at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:849)
at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:849)
at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:849)
at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:849)
at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:849)
at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonzliationToolEntries(P13NWebUIHelper.java:830)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1796)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
to _html._OA._jspService(_OA.java:88) oa
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
at oracle.jsp.JspServlet.service(JspServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187)
to _html._OA._jspService(_OA.java:98) oa
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
at oracle.jsp.JspServlet.service(JspServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
at org.apache.jserv.JServConnection.run(JServConnection.java:294)
at java.lang.Thread.run(Thread.java:534)
Exception:
oracle.adf.mds.MetadataDefException: unable to find the component with an absolute reference = / oracle/apps/az/regionMap/TAX_CODE, XML Path = null. Please check that the reference is valid and the definition of the component on the file system or in the MDS repository.
at oracle.adf.mds.internal.MetadataManagerBase.findElement(MetadataManagerBase.java:1343)
at oracle.adf.mds.MElement.findElement(MElement.java:97)
at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getJRADWebBeanBaseData(OAWebBeanFactoryImpl.java:2881)
at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getWebBeanBaseData(OAWebBeanFactoryImpl.java:1700)
at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntry(P13NWebUIHelper.java:928)
at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:842)
at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:849)
at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:849)
at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:849)
at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:849)
at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:849)
at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:849)
at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonalizationToolEntryRecursive(P13NWebUIHelper.java:849)
at oracle.apps.fnd.framework.webui.P13NWebUIHelper.addPersonzliationToolEntries(P13NWebUIHelper.java:830)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1796)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
to _html._OA._jspService(_OA.java:88) oa
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
at oracle.jsp.JspServlet.service(JspServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187)
to _html._OA._jspService(_OA.java:98) oa
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
at oracle.jsp.JspServlet.service(JspServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
at org.apache.jserv.JServConnection.run(JServConnection.java:294)
at java.lang.Thread.run(Thread.java:534)Please see if (Planning Framework error (no data found for the region) when the filters in selection rule [367684.1 ID]) help.
Thank you
Hussein -
Hi all
I have a cursor and when there is no data found an error message must meet. Can someone help me to do this
cursor c_user (p_username in VARCHAR2
) is
SELECT *.
OF qhr_employee emp
Upper WHERE (emp. USER name) = upper (p_username)
AND to_date(sysdate,'dd-mm-yyyy') > = to_date (emp. Start_date, 'dd-mm-yyyy');I can hardly believe that the procedure that you have published is in fact to launch a mistake any except 20001 or 20002. You have a when other hider of exception that don't re - not raise the error, so you shouldn't see any other errors. A procedure like yours will never throw this error 6503. There is clearly something that don't show us you.
(If one) you correctly report the error and b) are actually something run with a vague resemblance with the code you posted, then saw the error ORA-06503, I think that one of the gen_functions. DATEDIFF or qhr_gen_functions.f_get_sys_param causes the error because you call it incorrectly, or because it is poorly written.
Remove the when appropriate other hider error in your procedure in order to get a stack of error. It should tell you that the function returns the error.
John
-
apex_application.g_f0X - no data found?
All,
We are running in a sporadic error (don't you hate those?) save a form in a table where up an error "no data found". We use a custom PL/SQL record the process which makes a loop through all the fields in g_f0X to save the data of the user. Through the liberal use of the debug messages, I found that the error occurs in these two lines:
Here is the HTML code for the appropriate line (in this case, I have is 22), just before hitting the Save button and get the error:nmin := apex_application.g_f04(i); nmax := apex_application.g_f05(i);
No idea what's happening, and how can I solve this problem?<td headers="NEW_MIN" class="data"> <label for="f04_0022" class="hideMe508">NEW_MIN</label> <input type="text" name="f04" size="6" maxlength="2000" value="11" data_field="new_min" id="f04_0022"/> </td> <td headers="NEW_MAX" class="data"> <label for="f05_0022" class="hideMe508">NEW_MAX</label> <input type="text" name="f05" size="6" maxlength="2000" value="17" data_field="new_max" id="f05_0022"/> </td>
Thank you
-David - Is there some JS code disabled a few lines before the submit?
- Is it possible that you use one of these paintings 04 or 05 in other places on the page, except the measurement report?
- If you use a wwv_flow.debug (apex_application.g_f04. COUNTY) and wwv_flow.debug (apex_application.g_f05. COUNTY)
Match these values, which is also the same as the number of lines that you see in the report? -
Hi all
I try to choose in a variable in a loop of cursor but I get NO DATA FOUND when
Select does not return a value.
I want to set the variable to 0 when the selection fails.
I tried to add an exception, but I get the following:
ORA-00900: invalid SQL statement
Here is the code I am trying to run (the exception is commented):
Line: -.
PROCEDURE MyProc IS
v_op NUMBER;
BEGIN
FOR cursor1 IN (select * from myTable)
LOOP
Operation of SELECTION IN v_op from operationsTable where id = cursor1.ID;
-EXCEPTION *.
-WHEN NO_DATA_FOUND THEN
-v_op: = 0;
-END; *
END LOOP;
MyProc END;
Line: -.
Does anyone know how to set a variable when the selection fails and NO DATA FOUND?
Thank you
dyahavYou need to hold your exception by BEGIN and END
BEGIN select into... EXCEPTION WHEN NO_DATA_FOUND do_something END;
-
run immediately - stop running on "no data found".
run immediately v_sql
in v_georaster
using p_prin_id;
On an exception "no data found", execution seems to stop. No error is thrown. If I wrap an exception/begin/end block around I can catch the error.
11 GR 1 material patch7
What is this problem fixed in 11 GR 2?itsme1234 wrote:
Select wma_test.insert_coin (double);If you call your function in a SQL statement. In this case, it throws an error like "0 rows returned" is a valid state for a SQL statement.
If you want no_data_found to throw an error when it is called from a SQL statement, you must trigger a different error - user-defined would be best.
-
Hello
I'm kinda new to OA framework and to try to run the Test Page form Jdeveloper himself. I do a query of xxPersonMainPG and press the 'GO' button update the record, I navigate to managePersonPG. Here on this page when I update the record and press the button "Commit Data", I got the following error message:
Details of the exception.
oracle.apps.fnd.framework.OAException: no data found for the region (/ oracle/apps/ak/xxPerson/webui/xxPersonMainPG).
at oracle.apps.fnd.framework.webui.JRAD2AKMapper.getRootMElement(JRAD2AKMapper.java:527)
at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getWebBeanTypeDataFromJRAD(OAWebBeanFactoryImpl.java:3718)
at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getRootApplicationModuleClass(OAWebBeanFactoryImpl.java:3451)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:999)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:502)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:423)
in OA. jspService(OA.jsp:40)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)
at com.evermind.server.http.GetParametersRequestDispatcher.forward(GetParametersRequestDispatcher.java:189)
at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:199)
in OA. jspService(OA.jsp:45)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
to EDU.oswego.cs.dl.util.concurrent.PooledExecutor$ Worker.run (PooledExecutor.java:803)
at java.lang.Thread.run(Thread.java:534)
# # 0 in detail
Exception:
oracle.adf.mds.MetadataDefException: unable to find the component with an absolute reference =
/ Oracle/Apps/AK/xxPerson/WebUI/xxPersonMainPG, XML Path =
C:\JDevloper\jdevhome\jdev\myclasses\JRADXML; C:\JDevloper\jdevhome\jdev\myprojects; C:\JDevloper\jdevbin\jdev\oamdsxml\fwk.
Please check that the reference is valid and the definition of the component exists on the file system or in the MDS
Repository.
at oracle.adf.mds.internal.MetadataManagerBase.findElement(MetadataManagerBase.java:1350)
at oracle.adf.mds.MElement.findElement(MElement.java:97)
at oracle.apps.fnd.framework.webui.JRAD2AKMapper.getRootMElement(JRAD2AKMapper.java:501)
at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getWebBeanTypeDataFromJRAD(OAWebBeanFactoryImpl.java:3718)
at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getRootApplicationModuleClass(OAWebBeanFactoryImpl.java:3451)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:999)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:502)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:423)
in OA. jspService(OA.jsp:40)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)
at com.evermind.server.http.GetParametersRequestDispatcher.forward(GetParametersRequestDispatcher.java:189)
at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:199)
in OA. jspService(OA.jsp:45)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
to EDU.oswego.cs.dl.util.concurrent.PooledExecutor$ Worker.run (PooledExecutor.java:803)
at java.lang.Thread.run(Thread.java:534)
Exception:
oracle.adf.mds.MetadataDefException: unable to find the component with an absolute reference =
/ Oracle/Apps/AK/xxPerson/WebUI/xxPersonMainPG, XML Path =
C:\JDevloper\jdevhome\jdev\myclasses\JRADXML; C:\JDevloper\jdevhome\jdev\myprojects; C:\JDevloper\jdevbin\jdev\oamdsxml\fwk.
Please check that the reference is valid and the definition of the component exists on the file system or in the MDS
Repository.
at oracle.adf.mds.internal.MetadataManagerBase.findElement(MetadataManagerBase.java:1350)
at oracle.adf.mds.MElement.findElement(MElement.java:97)
at oracle.apps.fnd.framework.webui.JRAD2AKMapper.getRootMElement(JRAD2AKMapper.java:501)
at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getWebBeanTypeDataFromJRAD(OAWebBeanFactoryImpl.java:3718)
at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getRootApplicationModuleClass(OAWebBeanFactoryImpl.java:3451)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:999)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:502)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:423)
in OA. jspService(OA.jsp:40)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)
at com.evermind.server.http.GetParametersRequestDispatcher.forward(GetParametersRequestDispatcher.java:189)
at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:199)
in OA. jspService(OA.jsp:45)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
to EDU.oswego.cs.dl.util.concurrent.PooledExecutor$ Worker.run (PooledExecutor.java:803)
at java.lang.Thread.run(Thread.java:534)
Could someone please help me out what why this error is coming?
Please let me know if any installation do I have to do. Also let me know if any of the steps that I missed.
Thank you
RaviCheck this xxt.oracle.apps.ak.xxperson. * webui.webui * .managePersonCO, twice "webui", on the Page or somewhere, you gave this bad reference. It should be "xxt.oracle.apps.ak.xxperson.webui.managePersonCO".
Thank you
Maybe you are looking for
-
Laptop frozen on the login page
HelloAnyone got any ideas before considering shop? My Toshiba laptop has frozen on the main login page. The cursor blinks but the mouse is frozen and none of the keys work so I can't even shift tab to open a session. The last time that I used, it was
-
Merceanaries 2 wont install windows 7
I need help. I bought merceanaries 2 and it will not be installed. I have windows 7 64 bit. I have check the compatibility of windows 7 from microsoft, and it is said merceanaries 2 should work. Is there something I need to do? Thank you
-
Impossible to update to lollipop 5 compact z3
I tried repair on companion pc tool, etc. Do not know what other details to post here... The current firmware version is 4.4.4 Kitkat, pc companion and the phone itself goes on to say that it is up-to-date, mobile sony said it was currently on lollip
-
How can I go about sending new e-mail address to all my contacts from Outlook Express?
New mailing address of email to all my contacts from outlook express How can I go on to send new email to all my contacts from outlook express address
-
Missed call log blackBerry smartphones?
I must be missing something... When I see my "missed calls" and click on the screen, I see a real basic/text list for a missed call. But no immediate button to call the person back? Am I missing something? I must be... On my last Samsung, it wou