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 for rec in c1 loop
select SPRIDEN_pidm into pidm
from SPRIDEN
where SPRIDEN_ID = rec.BANNER_ID and SPRIDEN_CHANGE_IND is null;
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."statement to the article mentioned above. Here is the whole part of the code
--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
Here are the results I get with 1 id good and a bad idError 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:27
Put 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.
Tags: Database
Similar Questions
-
Leak memory in a simple loop to save data in the table?
Hello world
I'm trying to set up a simple code to read a certain amount of data in a table at a fixed sampling rate and put these data in a local variable. I'll put this on one OR cRIO-9073 using the scanning engine and the data comes from one NOR 9208 with a speed of approximately 250 Hz scanning, even if it is not really important at the moment.
I made this little test VI which I suspect contains a memory leak, but I'm not able to identify it. The reason for my suspicion is that when I run the vi on a VMWare virtual machine (LabVIEW 2010 on Windows XP) it claims soon that it is short-term memory. Of course, the problem is perhaps elsewhere, but I hope that someone more experienced with LabVIEW programming will be able to find all the bugs very easily because it is really a piece very simpel to code. :-)
I have included a copy of the VI with a screenshot to illustrate.
Regards, Martin
PS my code looks a bit awkward, so if anyone has a better solution, I'd be very happy to learn about it!
Hello Martin,
I would try a different approach to your problem. Currently you reshape your table each iteration of the loop. This means that the allocator memory of LV must find a new piece of contiguous memory each iteration of the loop. You're probably fragment your memory and so short of contiguous blocks of memory, leading to the release of messages from memory.
For these types of tasks, I recommend having an array of fixed size that you initialize outside the loop and then use the Replace table subset in the loop for updating the values. This avoids the problem of allocating memory you use in.
Alternatively, since I assume that you use the local variable to pass data to another loop, you can use a FIFO RT to manage data. A RT FIFO resembles a queue of LV, but it is designed so that you can keep determinism in your application. Set up an acquisition loop that exports data from the 9208 every 4ms in a RT FIFO. Then set up your processing loop to run at a slower pace - say every 200ms. The processing loop reads all the elements of the FIFO until it is empty every 200ms or a number of samples. The RT FIFO is fixed size, if you need to make it large enough to contain at least 200/4 = 50 samples. For more security, you should do several times bigger, maybe 200 samples. You can try different sizes of the FIFO and also to the different periods of your processing loop to your application's specifications.
Using this method you do not have to create a counter to track items, since the reading of FIFO function can tell you how many items is in the FIFO and also when it is empty.
I recommend you the example of Communication of FIFO of RT which comes with LabVIEW to get an idea of how to use these functions.
Gerardo
-
Help with button for search data &; put in form fields
I thought clicking on a button to fill out a few fields of the form with the data of a previous record would be simple, but there is something it clutter. I created 3 components are:
1. a button "Copy last Pickup & drop-off Instructions" in my form box. It sets the button ask the value of 'COPY_PICKUP_DROPOFF '.
2. a conditional branch, which sets fire ' on submit after treatment "conditional on the button, which branches off to the same page, and affects the application of 'COPY_PICKUP_DROPOFF '.
3. a process (On Load - after header) Page that defines the shape of field values, that is subordinated to the request = COPY_PICKUP_DROPOFF (Type of Condition: Request = 1 Expression). Finally, it queries the database, but now the PL/SQL to define the shape of the field values is very basic:
Start
: P71_PICKUP_INSTRUCTIONS: = "debug set PICKUP INSTRUCTIONS."
: P71_DROPOFF_INSTRUCTIONS: = "debug set DROP-OFF INSTRUCTIONS."
end;
Can anyone spot what I am missing which is required for this configuration to work? In that time by pressing the button submits the page but not to fill the form fields, do not raise errors.Hi Mark,
I do not see the code for this link, so can't do any real investigation myself.
In debug mode, when you click on 'Copy last Pickup and drop-off Instructions', you see that the application is actually the value?
What is the source of the items you want to refresh? Populated each time or only when it is null?
Cheers, Rob -
No data found error in the loop of the nested table
Hi team,
I'm working on the example to get data in a nested loop using table, but didn't get the no data below found error
DECLARE
Is of TYPE numlist array of integer;
list1 numlist: = numlist (11,22,33,44);
BEGIN
List1.Delete (2);
DBMS_OUTPUT. Put_line ("is the last element" |) List1.last | | "total elementis' | List1.Count);
List1.extend (4.3);
BECAUSE me in list1.first... List1.last loop - get ANY DATA FOUND error in this line
DBMS_OUTPUT. Put_line ('Values' | list1 (i));
end loop;
END;Could you please help me where I am wrong.
Thank you very much.
You get this error because the element 2 has been removed and in the loop, you are iterating over all the elements from 1 to 3.
To avoid this, use the type of loop below:
l_index: = names_in. FIRST;
While (l_index IS NOT NULL)
LOOP
DBMS_OUTPUT. PUT_LINE
(names_in (l_index));
l_index: = names_in. NEXT
(l_index);
END LOOP;
-
Loop for running do not?
I try a simple loop for in one of my calculations in a form and could not understand why it didn't work. Then I tried to do the simplest of simple for loops and it returns 1. Unless I am mistaken, wouldn't it be 10?
var n = 0
for (i = 1; i < = 10; i ++); {
var n = n + 1;
}
Event.Value = n
Also the error noted by Michael, it's more standard JavaScript:
var n = 0;
for (var i = 1; i)<= 10;="" i++)="">=>
n += 1;
}
Event.Value = n;
-
I have the data into two table with the structure of similar column, I want to loop through the data in these two tables
based on some condition and runtime that I want to put the query in loop for example, the example is given, please help me
create table ab (a number, b varchar2 (20));
Insert into ab
Select rownum, rownum. "" sample "
of the double
connect by level < = 10
create table bc (a number, b varchar2 (20));
Insert into BC.
Select rownum + 1, rownum + 1 | "" sample "
of the double
connect by level < = 10
declare
l_statement varchar2 (2000);
Boolean bool;
Start
bool: = true;
If it is true, then
l_statement: =' select * ab ';
on the other
l_statement: =' select * from bc';
end if
I'm in execute immediate l_statement - something like that, but I don't know
loop
dbms_output.put_line (i.a);
end loop;
end;
Something like that, but this isn't a peace of the code work.
Try this and adapt according to your needs:
declare
l_statement varchar2 (2000);
c SYS_REFCURSOR;
l_a number;
l_b varchar2 (20);
Boolean bool;
Start
bool: = true;
If it is true, then
l_statement: = "select a, b, AB;
on the other
l_statement: = "select a, b from bc;
end if;
--
Open c for l_statement;
--
loop
extract the c in l_a, l_b;
When the output c % notfound;
dbms_output.put_line (l_a |') -' || l_b);
end loop;
close c;
end;
/
-
Facing problem in the recording of data without overlapping in loop for
Hello
I am facing problem in writing data withou overlap if I run the outer loop for the 2 times or more, and inside the loop, I make table in a way that I want to, but when I try to compile this table with record temperature I am not able to do. Please guide me through ths.
Thank you
Hnagpal
Himanshu salvation,
To start reading your matrix of the second line, you can use a table of Index function once you have loaded the table of your spreadsheet file. The function Array Index lie in the range of functions under functions > programming > Board Index. The help of LabView is very useful to explain how to use this function.
With regard to the accuracy of the numbers when read you the spreadsheet file that you read is formatted in fractional chain, since form you it converted into a mixed string before saving. In order to recover all the precision, read the worksheet as a string and then convert it to a string using a string Fract/Exp to fractional numbers conversion function. This feature is on the range of functions for String > String/Number Conversion > Fract/Exp string in number. The help of LabView is also very useful for explaining the operation of this function.
Best,
Dan Nelson
Technical sales engineer
-
Help with the efficiency of the program, stop a loop for?
Hi all
I need some advice programming General to help my VI to operate more effectively. I have a table in which the program runs each point and 2d compares the value for the surrounding points. The user can select the range of cells to inspect range, so if the user selects 1, then, it will compare the point (0,0) to all cells in a single cell. If the user selects 2, then all the cells in a range of cells 2 and so on. If the point (0,0) is superior to everything around him, then he writes this point in a table.
I made more notes in the VI to explain what is happening, but I think that the program would be more effective if I could stop a for loop to run as soon as it detects a false condition, i.e. the point (0,0) is not more than one of the surrounding points. As it is right now, it compares at all points around him, writing TRUE/FALSE for a table, then checks if all conditions are TRUE. That takes a lot of time if the user selects a value of 8, for example. It would reduce a lot of processing time if he just threw to the next point as soon as it finds a FALSE condition.
Any other advice would be appreciated as well. Try to be a more effective programmer!
Thank you!
AlexI do not attach the data file, because it is too big.
In versions before the invention of the loop For with conditional stay terminal, you can do it, but you have over what a while loop to stop when your condition is True, OR when the terminal i is equal to the size of the incoming array - 1.
-
cannot start a campaign bed error no data found for 03/01/1943
HAVE RECENTLY REINSTALLED CFS3, BUT CAN'T START A CAMPAIGN MESSAGE IS DISPLAYS NO DATA FOUND FOR ALLIANCE FOR MARCH 1
1943
Hello
Thanks for posting the request in the Microsoft community forums.
I understand that you receive the error "no data available for the alliance for March 1 appears" when you start Combat Flight Simulator 3.
Please answer the following question:What version of the operating system is installed on the computer?
Try to follow the suggestions and check if you can start Combat Flight Simulator 3.
Method 1:
The link below doesn't have any information on the compatibility of the game with Windows 7.
http://www.microsoft.com/en-us/windows/compatibility/win7/CompatCenter/ProductViewerWithDefaultFilters?TempOsid=win7&Locale=en-us&TextSearch=Combat%2BFlight%2BSimulator%2B3&Type=Both&CurrentPage=0&TotalPages=1&ShowCriteria=0&SortCriteria=Relevance&Compatibility=Unknown&LastRequested=14If the game is not compatible with Windows 7, then you try to install the game in compatibility mode and check:
Make older programs in this version of Windows
http://Windows.Microsoft.com/en-us/Windows7/make-older-programs-run-in-this-version-of-WindowsMethod 2:
If the problem persists you can then put the computer to boot and try to install the game and check if that helps.To do this, follow the steps in this link:
http://support.Microsoft.com/kb/929135
Note: After the adventures of shooting set the computer to start as usual by performing step 3 above to the Knowledge Base article.
Hope the information is useful. If you need help with Combat Flight Simulator 3, feel free to post you question in the forum. We will be happy to help you.
-
Original title: ntdll.dll error at boot fruity loops.
get FL.exe - Entry Point not found 'point of entry procedure for NtAlpcSendWaitReceivePort not found in the dynamic link library ntdll.dll' error when I try to start fruity loops after installing Kies from samsung for the new phone. How can I fix this error? Help, please. Thanks in advance! :)
Hello
I suggest you contact support FL. I couldn't find all of the resources for this program.
Eddie B. -
How can I fix the problem of NO DATA FOUND on my sidebar gadget for microsoft solutions Center?
Hello
· Where did you installed gadget from?
· What is the name of the gadget?
· Do you have an internet connection on the computer?
· Which site did you download the gadget from?
Response with above information to better help you.
-
Hello
Version of the EBS: 11.5.10.2
DB version: 11.2.0.3
Version of the OS: AIX 6.1
Under 11.5.10.2 R12.1.1 update, while implementing a merger 12.1.1 upgrade driver (u6678700.drv), we got below error:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ATTENTION: All workers have failed or are pending:
IMPOSSIBLE: folder glsupdas.ldt worker 3.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
drix10: / fmstop/r12apps/apps/apps_st/appl/admin/FMSTEST/log > tail-20 adwork003.log
Restart the task that failed and has been corrected.
Time, when the worker restarted job: Wednesday, August 7, 2013 10:36:14
Loading data using FNDLOAD.
FNDLOAD APPS / * 0 DOWNLOAD @SQLGL:patch/115/import/glnlsdas.lct @SQLGL:patch/115/import/US/glsupdas.ldt -.
Connecting to applications... Successfully connected.
Call the function FNDLOAD.
Returned by the function FNDLOAD.
Log file: /fmstop/r12apps/apps/apps_st/appl/admin/FMSTEST/log/US_glsupdas_ldt.log
FNDLOAD of error function call.
When the worker has no time: Wednesday, August 7, 2013 10:36:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
drix10: / fmstop/r12apps/apps/apps_st/appl/admin/FMSTEST/log > tail-20 US_glsupdas_ldt.log
Current system time is sea Aug 7 10:36:14 2013
Download from data file /fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/import/US/glsupdas.ldt
Changing environment NLS_LANGUAGE AMERICA database
Dumping from the LCT/LDT files (/ fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/import/glnlsdas.lct(120.0), fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/import/US/glsupdas.ldt) to the staging tables
Dumping file fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/import/glnlsdas.lct(120.0 LCT) in FND_SEED_STAGE_CONFIG
Dumping LDT file /fmstop/r12apps/apps/apps_st/appl/gl/12.0.0/patch/115/import/US/glsupdas.ldt in FND_SEED_STAGE_ENTITY
Dumped the lot (GL_DEFAS_ACCESS_SETS SUPER_USER_DEFAS, GL_DEFAS_ACCESS_SETS SUPER_USER_DEFAS) in FND_SEED_STAGE_ENTITY
Download of the staging tables
Error loading of seeds for GL_DEFAS_ACCESS_SETS data: DEFINITION_ACCESS_SET = SUPER_USER_DEFAS, ORA-06508: PL/SQL: called program unit is not found
Simultaneous request ended
Current system time is sea Aug 7 10:36:14 2013
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Hello
Please, recreate the specification and body of the respective package and try:
-Navigate to $GL_TOP, patch, 115, sql
-Connected as a user of the applications.
sqlplus Oracle@Amazon sql apps]
SQL * more: version 10.1.0.5.0 - Production Wed Aug 7 13:53:33 2013
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Enter the password:
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - Production
With partitioning, OLAP, Data Mining and Real Application Testing options
SQL > @glistdas.pls
Addition of PL/SQL package for gl_defas_access_sets_pkg specifications
Package created.
Validation complete.
...
..
SQL > @glistdab.pls
Addition of the PL/SQL package for gl_defas_access_sets_pkg body
Package body created.
Validation complete.
See if this helps you, validation of the object.
Better subject.
-
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 -
ORA-01403: no data found for default
I have the body of the following pl/sql function to set the default value of a selection list.
DECLARE
VARCHAR2 (100);
BEGIN
Select person_id in selected in ht_people
where: app_user = flow_user;
RETURN selected;
END;
It works perfectly until the user is not on the list and then I get:
ORA-01403: no data found
ERR-9131 error in PLSQL function for default code point body, item = P7_IDENTIFIED_BY
Is there an item property that I can put to treat it or must it be done in PL/SQL?It throws no error if the user did not find:
DECLARE selected VARCHAR2 (100); BEGIN FOR c IN (SELECT person_id FROM ht_people WHERE :app_user = flow_user) LOOP selected := c.person_id; END LOOP; RETURN selected; END;
Denes Kubicek
-------------------------------------------------------------------
http://deneskubicek.blogspot.com/
http://www.Opal-consulting.de/training
http://Apex.Oracle.com/pls/OTN/f?p=31517:1
------------------------------------------------------------------- -
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
-
The selection of text on a page of the screen when the cursor reaches the lower edge of the screen in Firefox (version 9.0.1) does not scroll. Other programs (including IE) do, so it doesn't seem to be a local computer problem.I don't see a setting i
-
CAN´t set up a low-pass filter properly
Hello everyone, First of all, sorry for my bad English! Before asking this question, I ve tried to seek answers in the forum and couldn t find a useful for my case. I m new to LabView and I m test for the analysis of the signals. I m using an Agilen
-
I'm having a problem playing the games that are installed with windows vista. Solitaire, Minesweeper etc. My laptop is around the age of 4 months. I really can't play these games before, with the exception of a single game. When I click the icon S
-
WHY IS THERE NO PARENTAL CONTROLS FILTERS ASSOCIATED WITH EATING DISORDERS?
I know that I can ban specific websites using Parental control filters, but when Microsoft will add a way to filter the news of dangerous on weight loss, dieting, etc.. ? It is too easy for children to find the BMI calculators, feeding sites and othe
-
I have a single PIX of YOUR 515e 6.3.3 running in production. I add a PIX 515e FO, but it runs 6.3.1. I tried to add an IP address to the new PIX of FO, he accepted the configuration and the inside interface had a link with my laptop. But the TFTP an