No data found for SPARC index in table type

I've been teting with code below
--------------------------------------------------------------------------
declare

type int_tab_type is table of rowtype index of directory % oe_order_headers_all;
n1_tab int_tab_type;

Start

Select * bulk collect into n1_tab
of oe_order_headers_all
where rownum < 10;

n1_tab. Delete (2);
n1_tab. Delete (5);
n1_tab. Delete (6);
n1_tab. Delete (8);

I'm IN n1_tab.first... n1_tab. Last
loop
dbms_output.put_line (' index: ' | i);
dbms_output.put_line (' order number: ' | n1_tab (i) .order_number);
end loop;
exception
while others then
dbms_output.put_line (SQLERRM);
end;
------------------------------
After that, as expected, I got the error ORA-01403: no data available for the index value 2.
I know "indices of ' but I do not know how to use it with FOR loop.
I want to know is possible to loop through the type of table for only those clues where some value exists.

Please advice.

Thank you
Vishalaksha
declare

type int_tab_type is table of oe_order_headers_all%rowtype index by binary_integer;
n1_tab int_tab_type;

begin

select * bulk collect into n1_tab
from vin1234
where rownum <10;

n1_tab.delete(2);
n1_tab.delete(5);
n1_tab.delete(6);
n1_tab.delete(8);

FOR i IN n1_tab.first..n1_tab.last
loop
if n1_tab.exists(i) then
dbms_output.put_line('index: '||i);
dbms_output.put_line('Order Number: '||n1_tab(i).order_number);
end if;
end loop;
exception
when others then
dbms_output.put_line(SQLERRM);
end;

can it be done?

Published by: Khaled Aradhye, February 11, 2010 21:54

Tags: Database

Similar Questions

  • 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=14

    If 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-Windows

    Method 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.

  • Planning of Oracle EBS 11i - no data found for the region (/ oracle/apps/az/regionMap)

    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

  • How not to display no data found for two different elements

    I wanted to view report by dept wise or wise provider
    so when I'm not have associated deptno data
    It should say no data found
    for this I use if condition
    Ditto for the provider too
    instead of giving twice can I give it in the same condition if
    If so, how

    Use logical operator 'or '.

    as not found data

  • No data found for the region

    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
    Ravi

    Check 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

  • 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
    -------------------------------------------------------------------

  • No data found on report not based on a collection

    Hi all

    I got a page with this process of ' head after ":
    begin
      if(apex_collection.collection_exists(p_collection_name => 'users')) then
        apex_collection.delete_collection(p_collection_name => 'users');
      end if;
    
      apex_collection.create_collection_from_query(
        p_collection_name => 'users',
        p_query => 'select user_name from demo_users');
    end;
    And then I try to display the data in the collection in a report, as with this SQL query.
    select *
    from apex_collections
    where collection_name='users'
    I haven't had a "no data found" for this report... I have try this very basic example to understand collections, and I don't know what I'm missing...

    Thank you very much

    Dovik

    Hello

    Write the name of the collection to uppercase in the process and query

    BR, Jari

  • How to display the message no data found

    My problem is that when my report generates no how to display a message "No Data found for search criteria" to data users? Here is an example of XML, when there is no data found.
    <?xml version="1.0" encoding="UTF-8"?>
    <DOCUMENT>
        <DATE>01-MAY-09</DATE>
        <USER_NAME>MYUSERNAME</USER_NAME>
        <APP_ID>750</APP_ID>
        <APP_NAME>APEX - Application Builder</APP_NAME>
        <TITLE>Averaging_Change_Letter</TITLE>
        <P7_MINIMUM_VARIANCE>0</P7_MINIMUM_VARIANCE>
        <P7_PROVIDER_ID>2033</P7_PROVIDER_ID>
        <P7_SIGNER>Someones Name</P7_SIGNER>
        <P7_SIGNER_PHONE>(801) 999-9999</P7_SIGNER_PHONE>
        <P7_CHANGE_DATE>11-JAN-09</P7_CHANGE_DATE>
        <P7_PAY_DATE>30-JAN-09</P7_PAY_DATE>
        <P7_PERIOD_NUMBER>3</P7_PERIOD_NUMBER>
        <REGION ID="0">
            <ROWSET>
                <ROW>
                    <PROVIDER_ID></PROVIDER_ID>
                    <HR_EMPLOYEE_NUMBER></HR_EMPLOYEE_NUMBER>
                    <PROVIDER_NAME></PROVIDER_NAME>
                    <BIWEEKLY_PAY></BIWEEKLY_PAY>
                    <CHANGE_DATE></CHANGE_DATE>
                    <EFFECTIVE_TO_MONTH></EFFECTIVE_TO_MONTH>
                    <LETTER_DATE></LETTER_DATE>
                    <MONTH_FROM></MONTH_FROM>
                    <MONTH_TO></MONTH_TO>
                    <PERIOD_ABBREV></PERIOD_ABBREV>
                    <PERIOD_FULL></PERIOD_FULL>
                    <RVUS_IN_PERIOD></RVUS_IN_PERIOD>
                    <DAYS_IN_PERIOD></DAYS_IN_PERIOD>
                    <DAILY_RVU_PRODUCTION></DAILY_RVU_PRODUCTION>
                    <RVU_PAY_RATE></RVU_PAY_RATE>
                    <PROVIDER_EXPLANATION></PROVIDER_EXPLANATION>
                    <PREV_PROVIDER_ID></PREV_PROVIDER_ID>
                    <PREV_MONTH_FROM></PREV_MONTH_FROM>
                    <PREV_MONTH_TO></PREV_MONTH_TO>
                    <PREV_RVUS_IN_PERIOD></PREV_RVUS_IN_PERIOD>
                    <PREV_DAYS_IN_PERIOD></PREV_DAYS_IN_PERIOD>
                    <PREV_DAILY_RVU_PRODUCTION></PREV_DAILY_RVU_PRODUCTION>
                    <PREV_RVU_PAY_RATE></PREV_RVU_PAY_RATE>
                    <PREV_BIWEEKLY_PAY></PREV_BIWEEKLY_PAY>
                    <PREV_PERIOD_ABBREV></PREV_PERIOD_ABBREV>
                    <PREV_PERIOD_FULL></PREV_PERIOD_FULL>
                </ROW>
            </ROWSET>
        </REGION>
    </DOCUMENT>
    Published by: tfa on May 1, 2009 10:30

    I missed a POINT in front of! =, his. ! =

  • For indexing loop (tables)

    Hello and thanks for reading.

    I have a problem that requires me to do a lot of manipulations with the berries, and I am doing this in a series of nested for loops. I'll cut straight to my question.

    I initialize an array 0 in several user-defined columns. I run a loop for the number of times user, generating a random value to each iteration defined. If I activate the automatic indexing, I use the subset of table replace outside the loop and it works very well.

    Here's my problem. If I turn off the automatic indexing, and son of the [i] block to the index on the subset of table replace, now all of a sudden all I get is a random value, and it is always in the last slot in the table.

    I was pulling my hair out on this problem. I looked at the forums, I looked at the example problems, I don't know WHY it does this, but I have TO be able to use the loop counter to replace the elements in the array. I'll lay 3 loops, and I'm not quite (familiar) uncomfortable with the way the auto-indexation feature chooses value auto-index to be able to think through the problem.

    I wrote the program in C in my head in about 10 minutes, but this automatic indexing thing is KILLING me and I have no idea how import C in LabView without writing a dll, which I don't know how do either.

    Please let me know how I can get the loop For to browse a table without using automatic indexing. Yet once again, I have no idea why he is just posting a value in the last slot of the table.

    Thanks a lot for all the replies.

    I know what it is.  I have no LV 2010 here at installed work, so I have to rely on my memory and see the code.

    You use replace table subset.  With lit autoindexing, you create a table 1 d of random numbers which is be the same length as your table due to the terminal N being associated with the length of the array.  If you end up replacing the dimension table 1 d in its entirety in a single shot with the new data starting with element 0.  (For smile, associate a smaller number to Terminal N and you will see that some of your table 1 d is replaced).

    The way I showed you replace 1 data at a time, and the first iteration is item 0, the element following 1...

  • 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 id

    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: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.

  • Process page not throwing no data found error when you remove the item in a table

    Hi guys,.

    I'm trying to run a process page just before the process of MRU in tabular form and it is throwing an error no data found . Here is my code:
    BEGIN
         
         for i in 1..apex_application.g_f02.count LOOP     
              
              IF apex_application.g_f01(i) is not null THEN
                   
                   UPDATE STOCK
                        SET PRODUCT_QUANTITY = PRODUCT_QUANTITY+apex_application.g_f08(i)
                   WHERE site_id = :P21_SITE_ID and product_id = apex_application.g_f02(i);
                   COMMIT;
                   
              END IF;
         END LOOP;
    END;
    F01 here is the checkbox column and the if statement is the cause of the problem because if I get rid of the update statement (leaving just the commit) then it still throws the error.

    When I click on a checkbox, and hit the Remove button what fires off times this process and then the MRU, I get the error not found data .

    Would appreciate it if someone could shed some light on this. Thank you very much.

    Published by: taepodong on July 1, 2012 07:54

    Hello

    >
    I'm trying to run a process page just before the process of MRU in tabular form and he throws no data were found error. Here is my code:

    BEGIN
    
         for i in 1..apex_application.g_f02.count LOOP     
    
              IF apex_application.g_f01(i) is not null THEN
    
                   UPDATE STOCK
                        SET PRODUCT_QUANTITY = PRODUCT_QUANTITY+apex_application.g_f08(i)
                   WHERE site_id = :P21_SITE_ID and product_id = apex_application.g_f02(i);
                   COMMIT;
    
              END IF;
         END LOOP;
    END;
    

    Here f01 is the column of the box and the if statement is causing the problem because if I get rid of the update statement (leaving just the commit) then it still throws the error.

    When I click on a checkbox and click on Remove button that triggers both this process and then MRU, I get the no found error of data.
    >

    You iterate over the f02 and seeking f01 not null. It's the misuse of the checkbox element. Please see these links. in particular the examples of process OnSubmit.
    http://docs.Oracle.com/CD/E23903_01/doc/doc.41/e21676/apex_item.htm#CHDDCHAF
    http://docs.Oracle.com/CD/E23903_01/doc/doc.41/e21676/apex_app.htm#AEAPI215

    Kind regards

    PS: That's what you need to understand
    >
    Note that the boxes displayed by using APEX_ITEM. CHECK box will only contain values in the APEX_APPLICATION tables for those lines that are checked. Unlike other elements (TEXT, TEXTAREA, and DATE_POPUP) that can contain an entry in the corresponding table of APEX_APPLICATION for all submitted ranks, a checkbox will be an entry in the APEX_APPLICATION table if this option is selected.
    >

    Published by: Dominique July 2, 2012 09:44

  • I installed Windows sidebar gadget for microsoft fix Center solutions - but he said: NO DATA FOUND whatever that means and how can I solve this problem?

    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.

  • call a stored procedure for each row in the transitional attribute and display the data in the form of af: table. The other rows are based on the entities

    Hi Experts,

    JDeveloper 12.1.3.0.0

    I have a VO based on entity object. With a column of the VO is transient attribute (I created).

    I need to call a stored procedure for each row in the transitional attribute and display the data in the form of af: table. As well as other attributes.

    So can anyone suggest how can I achieve this?

    Thank you

    AR

    I think that you need a stored function (which returns the value) in this case, is not?

    Take a look at:

    https://docs.Oracle.com/CD/B31017_01/Web.1013/b25947/bcadvgen005.htm

    and search for:

    Invoking stored function with only Arguments in

    call your function in the Get attribute and return value accessor...

  • OBIEE 11.1.1.7 have reported "no data found" on data table columns

    Creates a data source jdbc using the 'Manage the Sources of private data' button, then a model of data using this data source and some sql codes.  Sample recorded data.  Trying to create reports OBIEE, but when I drag the columns on the data model, they appear in the table of data as any data found: / COLUMN_PATH

    When I try to run reports, they end up error, does not display any data.

    If I use BI Publisher reports on this data model, those that work very well.

    Any ideas on what's going on?

    Hello

    'Manage private Data Sources' = BI Publisher

    "data model" = BI Publisher

    OBIEE reports on BI Publisher data model? Impossible!

    I can't imagine even where you have found a way to create an analysis using a BI Publisher data model as a source.

    BI Publisher reports against BI Publisher data model works very well = this is the expected behavior.

    What/where/how do you do your analysis OBIEE?

  • 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;

    PL/SQL practices: Loop, first and last

Maybe you are looking for