Apex 4.0 Collection Error

Hello All
I have a report created on collection here is the code:
On Fetch Process before header:
if NOT APEX_COLLECTION.COLLECTION_EXISTS (p_collection_name => 'EMP' ) then
APEX_COLLECTION.create_collection(
p_collection_name => 'EMP');
EXECUTE IMMEDIATE 'SELECT COUNT(EMP_ID) FROM '||:FY_SCHEMA||'.EMPLOYEE WHERE COMP_ID = '|| :P152_COMP_ID INTO emp_cnt;
FOR i IN 1 .. emp_cnt
loop
APEX_COLLECTION.ADD_MEMBER(
p_collection_name => 'EMP',
p_c001 => i);     
end loop;
apex_collection.reset_collection_changed ('EMP');
end if;
Report Query:
SELECT SEQ_ID,c001, c002 FROM APEX_COLLECTIONS WHERE COLLECTION_NAME = 'EMP'
From one of the column in this report I am calling a javascript function where I am doing to sum of that column.
It works fine when there are more than one rows, but when there is only one row it is not calculating the total of the column.
After doing some R & D, I found that, in case of one row the length of wwv_folw.f01 item is coming as undefined(see the comment in js code).
Here is my javascript function:
function total_sal(){
pRow = 1;
var total = 0;
var salary;
var i;
var val1;
alert(document.wwv_flow.f01.length); *// here it is showing undefined in the popup*
for(i=0;i<document.wwv_flow.f01.length;i++){
salary = document.wwv_flow.f03.value;
if(salary != ''){
total = total + parseInt(salary);
else{
break;
document.getElementById('P152_TOTAL').value = total;
Please tell me where I am going wrong
I have one more question with regards to interactive report,
I have given format mask for some columns from edit columns, but it is not showing in that format at the front end.
Is there any other way for that?
Thanks
Tauceef
Edited by: Tauceef on Oct 9, 2010 4:21 AM

Hi,
wwv_flow is pl/sql package and I think you can not use it in javascript.
You can do something like
function alertF3(){
var f1=new Array();
var f3=new Array();
f1=document.getElementsByName("f01")
f3=document.getElementsByName("f03")
for(i=0;i<f1.length;i++){
  alert(f3.value)
Edited by: jarola on Oct 9, 2010 10:08 AM
Sorry, wwv_flow is also form name so this should work alsofunction alertF3(){
var f1=new Array();
var f3=new Array();
f1=document.wwv_flow.f01;
f3=document.wwv_flow.f03;
for(i=0;i<f1.length;i++){
alert(f3[i].value)

Similar Messages

  • The Cube with ID = Rate doesn't exist in the collection Error Message

    When doing a Full Optimization in the Rate cube I get a "The Cube with ID = Rate doesn't exist in the collection" error message. What is causing this error and how do I fix it?

    I have seen this error when reporting services was not properly configured. can you connect to http://servername/reports ?
    If not try to fix reporting services first, this solved the problem for me in the past.
    But usually in this case all the aplications are giving this error when modifying. Is this also the case in your appset?
    Does Apshell work when you modify the application there?
    -Joost

  • Creating PDF (FOP) from report in Apex 3.0 generates Error 500 (solved!)

    Hi, I have installed apex 3.0 , no errors, followed the installationguide for standard support printerserver (FOP) and OC4J (standalone downloaded) is up and running. <br>
    <br>
    However, when I click print, I get a 1 byte PDF with the text:<br>
    <HTML><HEAD><TITLE>500 Internal Server Error</TITLE></HEAD><BODY><H1>500 Internal Server Error</H1><PRE>Servlet error: An exception occurred. The current application deployment descriptors do not allow for including it in this response. Please consult the application log for details.</PRE></BODY></HTML>
    <br>
    <br><br><br>
    <br>
    And when I check global_applications log I find:<br>
    <br>
    <br>
    07/03/26 14:44:33.205 defaultWebApp: Servlet error
    oracle.xml.xpath.XPathException: Parse Error in number function.
         at oracle.xml.xslt.XSLBuilder.startElement(XSLBuilder.java:468)
         at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1288)
         at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:336)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:303)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:319)
         at oracle.xml.xslt.XSLProcessor.newXSLStylesheet(XSLProcessor.java:708)
         at oracle.xml.xslt.XSLStylesheet.<init>(XSLStylesheet.java:321)
         at oracle.xml.parser.v2.XSLStylesheet.<init>(XSLStylesheet.java:114)
         at apex_fop__render._jspService(_apex__fop__render.java:71)
         at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.2.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:597)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:521)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.2.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:712)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.2.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.2.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:865)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.2.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:447)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.2.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:215)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.2.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.2.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.2.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:534)
    <br><br><br><br><br><br>
    I know it's a longshot, but anyone have a clue what might be wrong? Apex is configured to access the apex_fop.jsp as well. and everything is unzipped where it should be and all that.
    <br><br><br><br><br>
    Could it have something to do with the java version or anything?
    <br><br><br><br>
    Message was edited by:
    p950jbg
    Whoops a lil bit messy text<br><br>
    Thank you in advance<br>
    <br>
    Sincerely<br>
    Johnny
    Message was edited by:
    p950jbg

    Small update again,
    I skipped using the downloadable oc4j/j2ee and tried using the one that came with 10.2.0.1 installation (patched to 10.2.0.3)
    It starts up fine saying:
    07/03/28 21:31:27 Oracle Application Server Containers for J2EE 10g (9.0.4.1.0) initialized
    It started up all well with the downloadable latest containers too, but got different errors running the apex_fop.jsp file.
    well with the version that came with the database it says in the PDF file after I tried to generate it from a report:
    Error 500:
    java.lang.UnsupportedClassVersionError: Bad version number in .class file
    Anyone got any idea?

  • Grid Control EMC Clariion Metric Collection Error

    Hi,
    I just deployed the EMC Clariion plugin and I get a metric collection error:
    Storage Processor Configuration Collection Failure
    Can't call method "che_freemem" on un undefined value at /<agent_path/sysman/admin/scripts/emx/emc_clariion_storage/emc_clariion_processor.pl line 127.
    Anyone got any idea?
    Cheers,
    Olivier

    It could be a parsing error due to unstrucured format of the navicli out put.
    other metrics and reports should work fine.
    Not a consistent error . Not seen on other deployments.

  • Microsoft SQL Server Metric Collection Errors

    Hi
    I've installed the Microsoft SQL Server plugin.
    I've added a SQL server for monitoring.
    It only monitors / picks up Cache Hit Ratio.
    Then i'm getting the following Metric Collection Errors:
    Database Oct 31, 2006 2:35:45 PM Collection Failure Missing Properties : [pro...
    [b]SQL Server Process Oct 31, 2006 2:35:45 PM Collection Failure Missing Properties : [pro...
    [b]Processor Oct 31, 2006 2:35:45 PM Collection Failure /u/oracle10/OracleHomes/a...
    Error Log Entry Oct 31, 2006 2:31:32 PM Collection Failure Missing Properties : [pro...
    [b]MSSQL DatabaseFile Oct 31, 2006 2:31:32 PM Collection Failure Missing Properties : [pro...
    [b]SQL Server Role Oct 31, 2006 2:31:32 PM Collection Failure Missing Properties : [pro...
    [b]MSSQL Transaction Log Oct 31, 2006 2:31:32 PM Collection Failure Missing Properties : [pro...
    [b]Database Parameter Oct 31, 2006 2:29:10 PM Collection Failure Missing Properties : [pro...
    User Oct 31, 2006 2:29:10 PM Collection Failure Missing Properties : [pro...
    [b]Integrated Security Setting Oct 31, 2006 2:29:10 PM Collection Failure Missing Properties : [pro...
    [b]MSSQL FileGroup Oct 31, 2006 2:27:10 PM Collection Failure Missing Properties : [pro...
    Login Oct 31, 2006 2:25:14 PM Collection Failure Missing Properties : [pro...
    [b]Registry Setting Oct 31, 2006 2:24:21 PM Collection Failure Missing Properties : [pro...
    [b]SQL Server Oct 31, 2006 2:24:21 PM Collection Failure Missing Properties : [pro...
    [b]Database Setting Oct 31, 2006 2:24:21 PM Collection Failure Missing Properties : [pro...
    Target  <servername>.local
    Type  Microsoft SQL Server
    Metric  Database
    Collection Timestamp  Oct 31, 2006 2:35:45 PM
    Error Type  Collection Failure
    Message  [b]Missing Properties : [provided_host_os]
    Thnx,
    Kenneth

    Not sure if you got the plug-in working. If not, read on...
    The error is due to failure in internal computation of the SQL Server Host related information.
    Ensure that
    1. All pre-requisites (specified in SQL Server plug-in Installation Guide) are satisfied
    2. Provided property values for discovery of the SQL Server target are correct
    - JDBC URL has correct port number
    - If you are using older version of SQL Server plug-in, the name of SQL Server
    instance that you provided is correct

  • Refreshing Materialized view from APEX process is causing errors

    Hi,
    I have created a materialized view, and am attempting to create a process in APEX to refresh the mview on a button click.
    I have been reading the documentation on Materialized Views and think I am more confused now than when I started.
    Do I need to add my mview to a refresh group to enable me to use the DBMS_REFRESH.REFRESH command from an APEX process?
    I have had a few attempts at getting it working, but to no avail yet.
    Any help would be appreciated.
    Cheers, Greg

    Snowman wrote:
    Hi,
    I have created a materialized view, and am attempting to create a process in APEX to refresh the mview on a button click.
    I have been reading the documentation on Materialized Views and think I am more confused now than when I started.
    Do I need to add my mview to a refresh group to enable me to use the DBMS_REFRESH.REFRESH command from an APEX process?What error are you getting?

  • Metric collection Error MS SQL 2005 Backup

    Hi ,
    become on all "german !!! ' ms sql 2005 Server a collection error for the backup. I have install the newest ms sql plug-in .I have Grid Control 10.2.0.5
    the german error Message is :
    WARN collector: <nmecmc.c> Error exit. Error message: Error Querying:Bei der Konvertierung eines char-Datentyps in einen datetime-Datentyp liegt der datetime-Wert außerhalb des gültigen Bereichs.
    com.microsoft.sqlserver.jdbc.SQLServerException: Bei der Konvertierung eines char-Datentyps in einen datetime-Datentyp liegt der datetime-Wert außerhalb des gültigen Bereichs.
         at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(Unknown Source)
         at com.microsoft.sqlserver.jdbc.SQLServerStatement.getNextResult(Unknown Source)
         at com.microsoft.sqlserver.jdbc.SQLServerStatement.doExecuteStatement(Unknown Source)
         at com.microsoft.sqlserver.jdbc.SQLServerStatement$StmtExecCmd.doExecute(Unknown Source)
         at com.microsoft.sqlserver.jdbc.TDSCommand.execute(Unknown Source)
         at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(Unknown Source)
         at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeCommand(Unknown Source)
         at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeStatement(Unknown Source)
         at com.microsoft.sqlserver.jdbc.SQLServerStatement.execute(Unknown Source)
         at oracle.sysman.mpi.jdbc.microsoft_sqlserver_database.SQLServerJDBCQuery.executeQuery(SQLServerJDBCQuery.java:263)
         at oracle.sysman.mpi.jdbc.microsoft_sqlserver_database.SQLServerJDBCQuery.main(SQLServerJDBCQuery.java:1152)
    this mean that he have problems to convert char to datetime . But why ?
    On my English Server i habe no Problems with this collection.
    And NO , i can't only install English MS SQL Server . This is a Company Policy .
    Where the error of the collection ?
    Thx

    and one more:
    Cant find the key : SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL.1\Replication\\IsInstalled D:\OracleHomes\agent10g/sysman/admin/scripts/emx/microsoft_sqlserver_database\execmethod_32bit is_remote_login=0 namespace=root\default class=StdRegProv "sSubKeyName=SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL.1\Replication" sValueName=IsInstalled method=GetDWORDValue noprint=0 em_result=0 SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL.1\Replication IsInstalled

  • Metric collection error for Oracle 10g(10.2.0.4) database.

    Hi,
    i just confirured OEM11G(11.1.0.1) on my client test machine and installed 11.1.0.1 agent on one target where 10.2.0.4 database is running. OS is windows 2003 R2.
    after installing the agent, i am able to see the database name in the oem --> database tab. but its status is "metric collection error" how ever i am able to see the details about datafiles etc..but in the status sheet it is showing as "metric collection error". i checked the dbsnmp user name and pasword. both are working. i tried to reconfigure the databae manually. it is erroring out with the following error.
    oracle.sysman.emSDK.emd.comm.CommException: IOException in sending Request :: Connection refused: connect
    Can any body help me to take it forward.
    REgards
    DBA.

    I would check the agent trace file (<AGENT_HOME>\sysman\log\emagent.trc) to see if this gives you any information. To give the Log on as batch privilege will not help (to what user?) I think. It will if you start patching using Grid Control.
    Are you sure the target db is 10.2.0.4? Because it was a issue in 10.2.0.3 and cursor_sharing=similar
    Eric

  • Metric Collection Errors against Application Server 10.1.3.1

    Hi,
    I'm getting metric collection errors like below :
    Target midtier_2.mn224_HTTP Server
    Type Oracle HTTP Server
    Metric Resource Usage
    Collection Timestamp 06-Dec-2007 14:12:22
    Error Type Collection Failure
    Message Missing Properties : [version]
    I'm running Oracle Enterprise Manager 10g Release 3 Grid Control 10.2.0.3.0.
    The version of the midtier Application Server installation is 10.1.3.1.0
    Can anyone help me with this ?

    Save yourself some heartburn and upgrade to 10.2.0.3...

  • Win2008 64Bit Collection Error "Result has Repeating Key Value" On Host Per

    Win2008 64Bit Collection Error "Result has Repeating Key Value" On Host Performance Tab [ID 864908.1]      
         Modified 29-JUL-2009 Type PROBLEM Status MODERATED      
    In this Document
    Symptoms
    Cause
    Solution
    References
    This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process, and therefore has not been subject to an independent technical review.
    Applies to:
    Enterprise Manager Grid Control - Version: 10.2.0.5
    Microsoft Windows Server 2008 x64 (AMD64/EM64T)
    Symptoms
    OMS: 10.2.0.5
    Target Agent: 10.2.0.5 Windows 2008 Standard Edition Service Pack 1 64-bit
    Happens for all Windows 2008 64-bit hosts with SAN drives using multipathing.
    When accessing the Host > Performance tab on Windows 2008 64-bit host, get a Metric Collection Error:
    Exception: oracle.sysman.emSDK.emd.comm.MetricGetException: Result has repeating key value on
    drive 0: for diskactivity metric
    emagent.trc shows:
    2009-06-19 11:19:06,125 Thread-6736 ERROR engine:
    [host, <hostname>,Load] : nmeegd_GetMetricData failed : Result has repeating key value : 0 C: U: C: U:
    Collection Error:
    Error getting data for target <hostname>. Exception:
    oracle.sysman.emSDK.emd.comm.MetricGetException: Result has repeating key value : 0 C: U: C: U:
    Switching to the last 24 hrs view.
    Cause
    Microsoft issue with Windows 2008 64-bit and SAN multipath.
    Bug 8214155: ERROR RESULT HAS REPEATING KEY VALUE: <DISK DRIVES> ON DBCONSOLE
    Solution
    Contact Microsoft Support to fix the issue in Performance Monitor's PhysicalDisk object counter since "nmupm diskactivity" gets the information from the PhysicalDisk object counter.
    References:
    http://technet.microsoft.com/en-us/library/cc768048.aspx
    http://www.microsoft.com/technet/prodtechnol/windows2000serv/reskit/prork/pree_exa_swlz.mspx?mfr=true
    References
    BUG:8214155 - ERROR RESULT HAS REPEATING KEY VALUE: ON DBCONSOLE
    This bug I found on Metalink but no workaround available. I've got the same problem everytime I view performance tab on Microsoft Windows 2008 x64. Does anyone know how to solve it?

    from the emoms.log
    2009-12-08 14:25:09,171 [EMUI_14_25_05_/console/monitoring/hostSummary$pageType=current$ctxType=Hosts$selTab=1$target=CITIZEN02$type=host] ERROR host.HostSummaryDataObject getHostSummary.1215 - Result has repeating key value : 0 C: D: C: D:
    oracle.sysman.emSDK.emd.comm.MetricGetException: Result has repeating key value : 0 C: D: C: D:
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
         at java.lang.Class.newInstance0(Class.java:308)
         at java.lang.Class.newInstance(Class.java:261)
         at oracle.sysman.emSDK.xml.DelegatingHandler.getObjForTag(DelegatingHandler.java:121)
         at oracle.sysman.emSDK.xml.DelegatingHandler.startElement(DelegatingHandler.java:170)
         at org.xml.sax.helpers.ParserAdapter.startElement(ParserAdapter.java:597)
         at oracle.xml.parser.v2.XMLContentHandler.startElement(XMLContentHandler.java:180)
         at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1227)
         at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:314)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:281)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:195)
         at org.xml.sax.helpers.ParserAdapter.parse(ParserAdapter.java:431)
         at oracle.sysman.emSDK.xml.DelegatingHandler.parseObj(DelegatingHandler.java:296)
         at oracle.sysman.emSDK.emd.comm.EMDClient.parseStreamResponseContents(EMDClient.java:2883)
         at oracle.sysman.emSDK.emd.comm.EMDClient.parseResponseStream(EMDClient.java:2805)
         at oracle.sysman.emSDK.emd.comm.EMDClient.getResponseForRequest_(EMDClient.java:2516)
         at oracle.sysman.emSDK.emd.comm.EMDClient.getResponseForRequest_(EMDClient.java:2450)
         at oracle.sysman.emSDK.emd.comm.EMDClient.getResponseForRequest(EMDClient.java:2367)
         at oracle.sysman.emSDK.emd.comm.EMDClient.getResponseForRequest(EMDClient.java:2352)
         at oracle.sysman.emSDK.emd.comm.EMDClient.getMetrics(EMDClient.java:1120)
         at oracle.sysman.eml.mntr.host.HostSummaryDataObject.getHostSummary(HostSummaryDataObject.java:813)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at oracle.cabo.ui.data.provider.MethodDataProvider.getDataObject(Unknown Source)
         at oracle.cabo.ui.data.provider.TableDataProvider.getDataObject(Unknown Source)
         at oracle.cabo.ui.data.provider.CachingDataProvider.getDataObject(Unknown Source)
         at oracle.cabo.ui.data.provider.DataProviderStack.getDataObject(Unknown Source)
         at oracle.cabo.ui.LogicalNodeRenderingContext.getDataObject(Unknown Source)
         at oracle.cabo.ui.RootRenderingContext.getDataObject(Unknown Source)
         at oracle.cabo.ui.LogicalNodeRenderingContext.getDataObject(Unknown Source)
         at oracle.cabo.ui.RootRenderingContext.getDataObject(Unknown Source)
         at oracle.cabo.ui.data.DataBoundValue.getValue(Unknown Source)
         at oracle.cabo.ui.BaseUINode.getAttributeValueImpl(Unknown Source)
         at oracle.cabo.ui.BaseUINode.getAttributeValue(Unknown Source)
         at oracle.cabo.ui.laf.base.TextRenderer.renderContent(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
         at oracle.cabo.ui.laf.base.DataScopeRenderer.renderContent(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
         at oracle.cabo.ui.laf.base.xhtml.BodyRenderer.renderContent(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
         at oracle.cabo.ui.laf.base.xhtml.DocumentRenderer.renderContent(Unknown Source)
         at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
         at oracle.cabo.ui.laf.base.xhtml.DocumentRenderer.render(Unknown Source)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.cabo.ui.BaseUINode.render(Unknown Source)
         at oracle.cabo.servlet.ui.UINodePageRenderer.renderPage(Unknown Source)
         at oracle.cabo.servlet.AbstractPageBroker.renderPage(Unknown Source)
         at oracle.cabo.servlet.PageBrokerHandler.handleRequest(Unknown Source)
         at oracle.cabo.servlet.UIXServlet.doGet(Unknown Source)
         at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:368)
         at oracle.sysman.eml.app.Console.doGet(Console.java:304)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:265)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
         at oracle.sysman.eml.app.BrowserVersionFilter.doFilter(BrowserVersionFilter.java:122)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
         at oracle.sysman.emSDK.svlt.EMRedirectFilter.doFilter(EMRedirectFilter.java:102)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
         at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:369)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:670)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:341)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:816)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:231)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:136)
         at

  • Metric Collection Errors

    I am using a 10.2 OEM agent to monitor various database versions (8i,9i,10g). I understand that using a 10.2 agent on an 8i database is not supported.... from what I have seen, you must use a 10.1 OEM agent. However, we would like to upgrade our 8i databases and therefore do not want to lower our OEM agent version to accomodate something that will phase out soon. In the meantime, I am getting collection errors. Some I was able to fix since error message had perl line number in it.... I know this is unsupported, but hopefully Oracle could list it as a valid work-around. There are just a few messages left:
    Target MYDB
    Type Database Instance
    Metric Data Base parameter collection, Remote Password File, Remote OS Roles and Authentication, DB Password Setting
    Collection Timestamp May 18, 2007 6:02:57 AM
    Error Type Collection Failure
    Message ORA-00900: invalid SQL statement
    This was really 4 different metric error messages. Does anyone have suggestions of how to clear these error messages? I am fine with not collecting this info for our v8 databases. I was wondering if I could delete from sysman.MGMT_CURRENT_METRIC_ERRORS?
    Or if someone knows how to fix these last few errors, that would be even better.
    Thanks.

    No, all oracle8 dbs are at 8.1.7.4 (none at lower version).
    References:
    Metalink: WRONG SQL STATEMENTS IN ESAPRIVREPORTS.PL FOR 8.1.7.4 DATABASES (bug# 6130510)
    Forum: Metric Collection Errors
    Metalink: METRIC COLLECTION ERRORS AGAINST 8.1.7.4 DATABASES MONITORED BY GRID CONTROL (bug# 5921130)
    Steps I have taken:
    1. Used Note:373394.1 to grant appropriate privs
    2. modified perl scripts until collection errors were resolved.
    a) Ran the following statements on Oracle 8.1.7.4 database:
    alter system set "_new_connect_by_enabled" = TRUE;
    grant select on sysauth$ to dbsnmp;
    3. have a handful (5 or 6) of errors left with no perl filenames, line numbers, etc. I would like to figure out how to either suppress these or resolve them so that I don't have to manually filter through metric errors trying to determine which are valid and which are not.
    Thanks.

  • SMD installation - Initial Data Collect ERROR

    I installed the SMD on several machines already, SP13 and NW2004 are used. When I try to configure the production system, I get this error:
    Initial Data Collect ERROR for host sapbp5a0.agfa.be
    !! Exception : Thu Jul 17 13:57:39 MEST 2008 | storeHost(...):Host [][sapbp5a0][10.233.9.188][/usr/sap/BP5/]:Cannot insert/update the host '[IHost: key=1216295859558156, hostName=sapbp5a0, hostFullQualifiedName=, serverName=sapbp5a0, ip=10.233.9.188, agentHostName=sapbp5a0, agentFullQualifiedName=sapbp5a0.agfa.be, agentIp=10.233.9.188, path=/usr/sap/BP5/, pathName=null, SmStatus=U, creation=Thu Jul 17 13:57:39 MEST 2008]'! Please see log for next error(s).
    We (I) know we need to input the hostFullQualifiedName somewhere, but we cannot find the place to put it.  Can anyone please give us a clue to where we need to put this?

    Hi, thank you for the input, but I think I gave too little information. Let me elaborate:
    The monitoring system we are using is YP5, the monitored system is BP5.  On BP5 is where the problem is situated. I installed the SMD according to the SAP specs and now I am at the end of the installation, just before installing the Wily.
    I log on via http://sapyp5a0.agfa.be:55100/webdynpro/dispatcher/sap.com/tcsmdnavigation/SmdNavigation to setup the final things (collection of data and so on, running Wily, ...) and this is where I get the error, after I entered all the correct information.
    We checked the SLD settings in ABAP and everything is connecting as it should.
    Anyone has any more ideas where we could look?
    Edited by: David Liekens on Jul 17, 2008 3:43 PM

  • Strange collection errors occuring on only some workstations (apex 2.2.1)

    Hi there,
    Firstly I have to say this excellent forum has been my primary educational tool for Apex. I have been here everyday for a month and this is the first time I felt the search button has not provided me with the solution I am looking for!
    I have two questions, probably related:
    1.) Why is it that collections are not session dependent? For instance if I run a new instance of my application (with a 'clear cache for current application' process running on a new instance), all my session variables, application items and collections are empty (as they should be). BUT if I run the application and create a collection, then start a new instance of the application SOMETHING GOES BAD. Checking the session variables I can see that all application items and session variables are empty - but the
    old collection has not been deleted!
    I even tried a process like this (runs on new instance of applciation before computations and validations):
    So collections are not dependent on a session? Why not? How can I be sure to clear a collection everytime a new instance is started?
    code for 'clear cache for current application':
    begin
    IF APEX_COLLECTION.COLLECTION_EXISTS('FILTERED_HOLEID') THEN
    APEX_COLLECTION.DELETE_COLLECTION('FILTERED_HOLEID');
    END IF;
    end;

    Thanks for your response.
    Not a true statement. Collections are only visible within the APEX session where they were created. When you try your test, are you sure you're using a truly distinct APEX session identifier?
    Perhaps I am missing something, here are my steps:
    1.) Open url of application: http://server:7780/pls/apex/f?p=100
    2.) Apex automatically redirects to a new session: http://server:7780/pls/apex/f?p=100:1:732674747920700151
    3.) Run application and open session information at bottom of page. Collection is as expected.
    4.) Open NEW page of application: http://server:7780/pls/apex/f?p=100
    5.) Apex automatically redirects to a new session: http://server:7780/pls/apex/f?p=100:1:4699901634435334125
    6.) Open session information at bottom of page. Session ID is different (as can be seen in url) however THE ORIGINAL COLLECTION still exists. All other session items are blank or null as expected.
    Are these numbers not truly distinct APEX session identifiers? Is the fact that I am using no authentication having some kind of impact?

  • Encountered the symbol "COLLECT" error message, without a collection?

    Okay, once again I'm confused and lost.
    I'm working on a 'variation' of the Issue Tracker sample application at:
    http://apex.oracle.com/pls/otn/f?p=23133
    Once there, select "Projects", then on the "Projects" page, click the edit button.
    The error appears in the "Add or Edit Project Tasks" region.
    The region source is:
    select
    x.del,
    x.task_name,
    x.status,
    x.dependent_upon,
    x.task_scope,
    x.task_comments,
    x.task_lead,
    x.ck ck
    from (
    select
    apex_item.checkbox(1,task_id) del,
    apex_item.text(2,task_name,30,70) TASK_NAME,
    apex_item.display_and_save(3,ht_tasks_getstatus(task_id)) STATUS,
    apex_item.select_list_from_lov(4,dependent_upon,'select task_name d, task_id r from ht_tasks where project_id = :P3_PROJECT_ID') DEPENDENT_UPON,
    apex_item.textarea(5,task_scope,4,40) TASK_SCOPE,
    apex_item.textarea(6,task_comments,4,40) TASK_COMMENTS,
    apex_item.select_list_from_lov(7,task_lead,'PEOPLE') TASK_LEAD,
    apex_item.hidden(8,project_id)||
    apex_item.hidden(9,wwv_flow_item.md5(task_name,status,dependent_upon,task_scope,task_comments,task_lead)) ck
    from HT_TASKS_VIEW
    where project_id = :P3_PROJECT_ID
    union all
    select
    apex_item.checkbox(1,null) del,
    apex_item.text(2,null,30,70) TASK_NAME,
    apex_item.display_and_save(3,null) STATUS,
    apex_item.select_list_from_lov(4,null,'select task_name d, task_id r from ht_tasks where project_id = :P3_PROJECT_ID') DEPENDENT_UPON,
    apex_item.textarea(5,null,4,40) TASK_SCOPE,
    apex_item.textarea(6,null,4,40) TASK_COMMENTS,
    apex_item.select_list_from_lov(7,null,'PEOPLE') TASK_LEAD,
    apex_item.hidden(8,to_number(:P3_PROJECT_ID))||
    apex_item.hidden(9,null) ck
    from dual) x
    Which appears to be working correctly. When I click the debug link, the following appears:
    0.04: add row query: select x.del, x.task_name, x.status, x.dependent_upon, x.task_scope, x.task_comments, x.task_lead, x.ck ck from ( select apex_item.checkbox(1,task_id) del, apex_item.text(2,task_name,30,70) TASK_NAME, apex_item.display_and_save(3,ht_tasks_getstatus(task_id)) STATUS, apex_item.select_list_from_lov(4,dependent_upon,'select task_name d, task_id r from ht_tasks where project_id = :P3_PROJECT_ID') DEPENDENT_UPON, apex_item.textarea(5,task_scope,4,40) TASK_SCOPE, apex_item.textarea(6,task_comments,4,40) TASK_COMMENTS, apex_item.select_list_from_lov(7,task_lead,'PEOPLE') TASK_LEAD, apex_item.hidden(8,project_id)|| apex_item.hidden(9,wwv_flow_item.md5(task_name,status,dependent_upon,task_scope,task_comments,task_lead)) ck from HT_TASKS_VIEW where project_id = :P3_PROJECT_ID union all select apex_item.checkbox(1,null) del, apex_item.text(2,null,30,70) TASK_NAME, apex_item.display_and_save(3,null) STATUS, apex_item.select_list_from_lov(4,null,'select task_name d, task_id r from ht_tasks where project_id = :P3_PROJECT_ID') DEPENDENT_UPON, apex_item.textarea(5,null,4,40) TASK_SCOPE, apex_item.textarea(6,null,4,40) TASK_COMMENTS, apex_item.select_list_from_lov(7,null,'PEOPLE') TASK_LEAD, apex_item.hidden(8,to_number(:P3_PROJECT_ID))|| apex_item.hidden(9,null) ck from dual) x
    0.04: determine column headings
    0.04: parse query as: ARIA
    0.04: binding: ":P3_PROJECT_ID"="P3_PROJECT_ID" value="1"
    0.04: print column headings
    0.04: rows loop: 15 row(s)
    report error:
    ORA-06550: line 1, column 13:
    PLS-00103: Encountered the symbol "COLLECT" when expecting one of the following:
    := . ( @ % ;
    So, it looks like the error is happening when it starts the loop to grab the rows. I'm not using a collection, so I'm assuming that for the pagination, Apex is using a collection internally, and somehow, somewhere, that's generating the error?
    I've deleted the region and everything associated with it, buttons, processes, etc. and the rebuilt the region without the other 'stuff', but I still get the error. I'm completely lost now, as I really don't what else to try, other than dropping the page an trying to recreate it. But if that doesn't work, any idea what would?
    Also, to log in and see the code, my workspace is wbfergus, and the id and pwd are both htmldb.
    Thanks.
    Bill Ferguson

    Bill - Try apex_item.select_list_from_query when a query (not a named lov) is the source:  apex_item.select_list_from_query(4,dependent_upon,'select task_name d, task_id r from ht_tasks where project_id = :P3_PROJECT_ID') DEPENDENT_UPON,BTW, nothing do do with collections in this case. The parsing hit a 'bulk collect' probably.
    Scott

  • Possible Bug: Web Service Results Collection Error

    Doing some testing with APEX 4.02 on our development area, and running into an error..
    Running a form/report built off of a web service reference, form prompts for an input, data is returned from web service to report just fine, but when I go into session view collections, I am given a report error: ORA-19011 Character string buffer too small.
    Is this a known issue with collections and web services? I can confirm this was NOT an issue in 3.2, since we have just updated to 4.02 in past 48 hrs..
    Thank you,
    Tony Miller
    Webster, TX
    I cried because I did not have an office with a door until I met a man who had no cubicle.
    -Dilbert

    Tony:
    Thanks for reporting the issue. There was a change in the session pop-up page to include reporting on the new xmltype column in collections. Unfortunately the wrong function is being called on the xmltype column to display its contents. This will be fixed in an upcoming release.
    Application Express 4.0 Web service support makes use of this new xmltype column in a collection. Therefore if you call a web service that returns a large XML document, and you click the session toolbar, you will receive the error.
    Regards,
    Jason

Maybe you are looking for

  • CUP 5.3 (SP9) Role search in a CUP request

    Dear Experts, I have a problem. I cannot select roles by company selection in a CUP request. I believe I am not associating companies to roles correctly...I don't know what went wrong and what additional procedures that I have to follow to fix this p

  • Color Pallets In Acrobat

    Hi, I'm using Acrobat Professional 8.1.3. I work in a packaging company, and frequently our boxes are flexo printed using GCMI inks. I have created a color library in Illustrator (there's only 40 GCMI colors), and would like to do the same in Acrobat

  • Ajatix Extensions won't install. Please help!

    I just upgraded from CS6 to Adobe CC. I am trying to install my Ajatix extensions but the extention manager isn't taking them. I even downloaded the CC versions from the Ajatix website. When I try to install them with Adobe Extention Manager, I get a

  • Setting the location of HspEventLog.log

    Hi. Can anyone tell me how to change the location of HspEventLog.log? In our Development environment it currently resided at the root of C: which makes no sense at all. I suspect this is set using the configuration utility - correct? We are using Pla

  • E-commerce....Where to start????

    I would like to practice developing an e-commerce site that can run on a web page and I would like to know how to begin. I mean if I want to have the typical shopping cart, checkout, secure server, what software development kits, etc. do I need to do