Null Index Error When Sorting Standard Report Column

I have a page in one of my application that contains three reports in three seperate regions within the page. You only see one report at a time, however, and control which one you see based on a sidebar table containing links that call javascript functions to toggle the hiding/showing of each region.
The problem stems from trying to use the standard column sort on any of the columns. When I click the column header in any of the the reports, the page submits the request to sort the column (for example: request="fsp_sort_6", etc...), and then the page refreshes with all three reports displayed. The report for which you actually 'clicked' a column header will be sorted. However the other two will display with an error (code ORA-06502) saying that the report cannot parse the query because of a null key index value in one of the corresponding tables being queried.
The weird thing is - this only happens on other computers - not when I'm on my workstation developing in my apex workspace/schema. I've even given each of the three reports a seperate static ID attribute so that I can identify each using those unique IDs.
I have to say - I am stumped. Any help would be much appreciated. If you need more details, feel free to respond to this thread.
Thanks!

What version of APEX are you using? This was supposed to be fixed in 3.1 however it isn't because we still experience it sometimes, we just have never been able to re-create it in order to raise an SR. Getting to the bottom of this would be fantastic for us as it's the one thing which makes me extremely nervous of implementing new applications which are production-critical. The only workarounds are to flush the SGA or edit the report in production so the query is different (usually just fetch back null somewhere and then hide the column). This clearly isn't acceptable however without a reproducable test case there isn't much which can be done! :(

Similar Messages

  • Data Access Error when importing Standard Reports

    After installation, when I try to import standard reports, I got a "Data Access Error".
    FDM 9.3.1
    Oracle 10g
    In the fdm.err, I find the following description:
    ORA-12899 : too long value for "MYFDMSCHEMA"."TREPORT"."REPORTDESC" (real 152, max 75).
    It seems that reports descriptions are too long for my Oracle repository...
    Any idea ?
    Regards

    Yes.
    Please take the time to flag this response as helpful or correct if it helps you address the issue
    http://forums.oracle.com/forums/ann.jspa?annID=1184
    Edited by: TonyScalese on Dec 2, 2010 11:52 AM

  • Cannot edit a field that is "Standard Report Column" when new row added

    Hi everyone,
    I have created a master-detail form from the wizard and within the detail report region source I have used apex_item.xxx API
    example;
    select C1, C2,
    CASE when C2 ='N' then
    apex_item.select_list_from_query(3, C3,'select a1 d, a2 r from table1', 'ENABLED', 'NO',null,null, 'f03_#ROWNUM#')
    else
    apex_item.select_list_from_query(3, C3,'select a1 d, a2 r from table1', 'DISABLED', 'NO',null,null, 'f03_#ROWNUM#')
    END C3
    from table;
    All columns C1,C2,C3 are defined as "Standard Report Columns".
    The results allows the column C3 field to be enabled or disabled for input depending on a condition.
    The problem is when you hit the default button "Add Row" to add a new row. The row is non-editable and is populated with null values.
    What I want is to allow input when a new row is inserted into the multi-row detail form.
    Can any one help?
    Is there a way to change the Display As field for the new row columns to "text field" from "standard report column" dynamically?

    I think you will need to use the old way of adding rows instead of the new one. I remember having headaches trying to get it working.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.apress.com/9781430235125
    http://apex.oracle.com/pls/otn/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • 00904 error when sorting columns that require double quotes

    We have used an ETL tool to import an XML file into Oracle 10g. The column names are mixed case and unfortunately have to remain mixed case because we have a "column" and a "Column" name with different info in them. So when we migrate it in, the field names have be enclosed in double quotes in all SQL operations. The problem in SQL Developer 1.5.1 (Win XP SP2, Oracle 10G) though is that if I try to sort on a column by double clicking the column header, we get an ORA-00904 error COLUMN does not exist. So it looks like it is trying to do an ORDER BY without putting the column name in double quotes. Has anybody else had issues with this and is there a fix for it?
    Message was edited by:
    coachy

    It's a bug.
    Logged Bug 7344539 - 00904 error when sorting columns that require double quotes
    Workaround: Use the sort button on DataTab's toolbar.
    -Raghu

  • Need help with Javascript to get value of standard report column

    Hello All,
    Apex version 3.1
    I have a SQL Query (Updateable report) region where I need to do some validations using an OnDemand Applicaiton Process and javascript. For this validation I need to use the serial number and the item id from the same report row. The function is called when the serial number is changed. I can get the serial number easily because it is a Text field, however the item id is a standard report column (making it a text field or hidden gives me a checksum error, long story). How do I get the value for the standard report column in order to set the value for an Application item to be used in my Application Process along with the serial number? Here is my code below.
    <script>
    function f_ValidateSerial(pThis)
      // The row in the table
      var vRow = pThis.id.substr(pThis.id.indexOf('_')+1);
        //alert('Row is '+vRow);
      // Display the serial number
        //alert('The Serial Number is '+html_GetElement('f21_'+vRow).value);
    var get = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=ValidateSerial',0);
    get.add('F101_SERIAL_NUMBER',html_GetElement('f21_'+vRow).value);
    get.add('F101_INVENTORY_ITEM_ID',+html_GetElement(?????+vRow).value);   // Here's where I need to get the item id to set application item!!
    gReturn = get.get();
    if (gReturn)
          alert(gReturn);
      if(gReturn)
          html_GetElement('f21_'+vRow).value = '';
    </script>

    jarola wrote:
    Hi,
    Ok, No standard report column do not have name attribute-
    You can add one extra column to report that is your Item Id with different alias.
    Then change that column Display as to "Hidden".
    Now you have hidden input where is your Item Id. Than input have name and id.
    Regards,
    JariBut this puts me back to my initial problem. When making the column hidden I get the checksum error...
    Error in mru internal routine: ORA-20001: Error in MRU: row= 0, ORA-20001: ORA-20001: Current version of data in database has changed since user initiated update process...
    The item id is NOT in the table which I am updating (I use a subquery to get the data) so I think it has to be a standard report column. Hidden and Text Item (which have an item id) all generate the checksum error.
    So I think I'm back to my original question. Given a standard report column on a row in a sql query (updateable report) region how do I get the value using Javascript?
    Edited by: blue72TA on Aug 2, 2011 12:07 PM

  • Error when running a report in BPC NW

    I am getting the following error when running a report for my application in BPC NW.
    EVDRE encountered an error retrieving data from the Web Server (retrying in (X) seconds).
    This error comes with this dialog option box to either continue or cancel retrying retrieving data. Retrying doesn't help either.
    Any report I run (on any of my appsets), I get this error. I used the EVDRE function and also tried running a report using the template as the basis. But I get the error either way.
    Does anyone know why this error is occurs or how to debug this issue. I saw some information about this in earlier threads but could  not make much out of it.
    Appreciate any assistance.

    Sanjay,
      This  is a   very  generic  error...Couple  of  places  to  look  for....
    1)Reprocess the application (Modify application + Reassign SQL Index + Process Application)
    2)optimizing the application sometimes helps (Full Optimize + Compress Database + Index defragmentation).
    3)Create a "evdataserver_debug.txt" in user's private publication folder on  server side to populate very detail level logging  and  check  the  log on client side EVDRE_LOG.txt for  further  peek  into  where  things  are getting  messed up.
    if  evdataserver_debug.txt does not  get  populated on BPC 5.x...it  is  an  issue  with  IIS authetication on Application server.
    4)You have to check the event viewer into .NET server and also the BPC logs which can be found into
    BPC\Logging  for  further  details  ..
    Hope  this  helps..
    Edited by: Vishal Mahawadhi on Jun 24, 2009 9:50 AM

  • Can "Standard Report Column" be the Default Instead of "Display as Text"

    Almost every report region I write has some html in at least one column, whether it's a break or an apex_item or something else. Hence, when the region renders with the default settings, the column shows the html code - I have to change the column display type from "Display as Text" to "Standard Report Column".
    Is there some setting to make "Standard Report Column" the default? (Isn't that kind of what the word Standard implies?)
    Thanks,
    Gregory

    That Other Fellas Brother wrote:
    Almost every report region I write has some html in at least one column, whether it's a break or an apex_item or something else. Hence, when the region renders with the default settings, the column shows the html code - I have to change the column display type from "Display as Text" to "Standard Report Column".
    Is there some setting to make "Standard Report Column" the default? (Isn't that kind of what the word Standard implies?)In earlier versions of APEX "Standard Report Column" was the default. The default was changed in APEX 4.0 to "Display as Text" (which escapes HTML-sensitive characters) as a security measure to limit vulnerability to XSS attack. This is necessary for the protection of users and (so-called) developers who are not security conscious/HTML savvy.
    There's no option to change this, and I doubt that one will be provided in the future. The indications are that the Oracle APEX team are committed to blocking as many security holes as possible by default, leaving it to the developer to consciously make any modifications that increase the surface exposed to attack.

  • Displaying leading spaces in a Standard Report Column

    Is there a way to display leading spaces in a standard report column in APEX?
    I am using the following hierarchy query to left pad the metric title with spaces to indent subordinate records. The problem is that the APEX report truncates the leading spaces when the data is displayed.
    I have replaced the spaces with an underscore, however the end users prefers white spaces for readability.
    Any help is greatly appreciated.
    SELECT
    t.group_id,
    t.metric_id,
    LPAD(' ',(LEVEL - 2)*5,' ') || d.metric_title metric_title,
    d.business_unit,
    get_name(d.data_owner) data_owner,
    d.metric_status,
    t.group_sort
    FROM tbl_health_metric_groupings t JOIN tbl_health_metric_definition d ON t.metric_id = d.metric_id
    WHERE t.group_id != 0
    START WITH t.group_id = 0
    CONNECT BY t.parent_group_id = PRIOR t.group_id
    ORDER SIBLINGS BY t.group_sort, d.metric_title

    Thanks Tony your comment got me pointed in the right direction.
    LPAD only pads a single character to the left so doing something like LPAD(' ',(LEVEL -2)*5,' ') does not produce the expected results however placing LPAD inside a replace function does...
    The following works as expected and places leading spaces at the begining of the metric title based on the hierarchy:
    SELECT
    t.group_id,
    t.metric_id,
    replace(LPAD(' ',(LEVEL - 2)*5,' '),' ',' ') || d.metric_title metric_title,
    d.business_unit,
    get_name(d.data_owner) data_owner,
    d.metric_status,
    t.group_sort
    FROM tbl_health_metric_groupings t JOIN tbl_health_metric_definition d ON t.metric_id = d.metric_id
    WHERE t.group_id != 0
    START WITH t.group_id = 0
    CONNECT BY t.parent_group_id = PRIOR t.group_id
    ORDER SIBLINGS BY t.group_sort, d.metric_title

  • SSRS 2008 R2 rendering error when executing a report

    The value '1' is invalid. Valid values are between '0' and '1'. (rrRenderingError)
    I am receiving the above error when running the report in SSRS 2008 R2. It has run find in the 2005 version. After research, I read that this issue caused by tablix split on a new page or something. However, I have not found anything to be the resolution. I
    installed the latest hotfix that I thought addressed this issue but still not working. Any suggestions outside of touching the report?Sonya

    The value '1' is invalid. Valid values are between '0' and '1'. (rrRenderingError)
    I am receiving the above error when running the report in SSRS 2008 R2. It has run find in the 2005 version. After research, I read that this issue caused by tablix split on a new page or something. However, I have not found anything to be the resolution. I
    installed the latest hotfix that I thought addressed this issue but still not working. Any suggestions outside of touching the report?
    Sonya
    We too are encountering this problem with reports migrated from 2005 to 2008. We are getting the rendering error only when trying to use the paging controls to navigate forward through the report. This is on SSRS 2008 R2 running SharePoint Integration. When
    the result set is empty we get the tablix errors mentioned instead. The reports ran fine prior to migration to SSRS2008.

  • Error when generating the report in Production Server

    Hi,
    I have created one infoset query in Development server of my client. It is working fine there. I had transported the request containg this query to Production server. But whenever I am trying to generate report using this query in Production server it is giving an error message
    "Error when generating the report".
    I am not getting what 's problem.
    Samriddhi

    Samriddhi,
    Genarally its not suggested to transport Queries. Should be able to create Queries directly Production. There might be diferences between your Development and Production versions.
    Thanks.

  • Error when refreshing WEBI report with Universe Connection Type "SSO"

    Hi Experts:
    We are trying to refresh the Webi report in Infoview with Universe Connection set as "Use Single Sign On when refreshing the report at view time", so that we can leverage SAP OLAP authorization variable from Bex Query which the Universe is built on.
    However got the error of "incomplete logon data" after all the configurations done following below blogs:
    SNC Part 1
    /people/ingo.hilgefort/blog/2009/07/03/businessobjects-enterprise-and-client-side-snc-part-1-of-2
    SNC Part 2
    /people/ingo.hilgefort/blog/2009/07/03/businessobjects-enterprise-and-client-side-snc-part-2-of-2
    We already have Win AD SSO to SAP setup, and in BO CMC, Win AD user is mapped to SAP user ID.
    The SNC settings are:
    - AD Account: service.test.bobj (all lower-letters)
    - 32-bit gsslib on the BO server, and 64 bit on the BW server side.
    - SNC0: p:service.test.bobj at DOMAIN
    - SU01 --> BO_Service ; SNC: p:service.test.bobj at DOMAIN
    - Entitlement system tab --> username: BO_Service
    SNC Name: p:service.test.bobj at DOMAIN
    - SNC settings tab:
    SNC Lib: c:\winnt\gsskrb5.dll
    Mutual Authentication settings: p:SAPServiceBP0 at DOMAIN
    In CMC, the role can be imported if "RFC activated" option unchecked in SNC0.
    I found a few threads on the same topic, but they are all not answered:
    SNC Client side configuration error
    SNC Configuration Error: Incomplete logon Data
    Can you please provide details of the solution if you have impleted a same scenario successsfully, or any thoughts to help the investigation?
    Thanks in advance!
    Regards,
    Jonathan

    Hi Ingo,
    Sorry for taking so long to reply, we are trying to set up server side trust and enable SSO; but we still couldn't success.
    What we did is:
    1. We followed installation guide chapter 6, generate certificate and PSE, etc. All looks good.
    2. Then we still have the "incomplete logon data" error when refreshing webi report after logon using Windows AD user ID.
    3. Then we trace the PFC connection, the log is as below. We checked several BO notes, e.g. 1500150, 1461247.. The part bothers us is that we even don't have URI displayed in the log when system trying to use SNC, and we couldn't get more info on this which make us very difficult to diagnosis.
    Can you please help? Thanks a lot!
    Thu Mar 31 10:54:46.857 ThreadID<1980> SAPMODULE : SAPAuthenticationService: Authentication model for SAP connectivity is SSO
    Thu Mar 31 10:54:46.857 ThreadID<1980> SAPMODULE : SAPAuthenticationService: Determining if we can connect using SNC. Calling CanAuthenticate...
    Thu Mar 31 10:54:46.919 ThreadID<1980> SAPMODULE : SAPAuthenticationService: Unable to authenticate using SNC because the URI does not meet the minimum connection requirements.
    Thu Mar 31 10:54:46.919 ThreadID<1980> SAPMODULE : SAPAuthenticationService: Determining if we can connect using SSO. Calling CanAuthenticate...
    Thu Mar 31 10:54:46.919 ThreadID<1980> SAPMODULE : SAPAuthenticationService: Authentication model for SAP connectivity is SSO
    Thu Mar 31 10:54:47.013 ThreadID<1980> SAPMODULE : SAPAuthenticationService: The SAP SSO authentication process will fail because the SAP secondary credential are not properly updated and the password is blank.
    Thu Mar 31 10:54:47.013 ThreadID<1980> SAPMODULE : SAPAuthenticationService: Trying to connect to SAP using this URI : occa:sap://;PROVIDER=sapbw_bapi,R3NAME=PB0,GROUP=BI_Group1,MSHOST=sapaupdb04,LANG=en,CLIENT=100,CATALOG="ZSPUM602",CUBE="ZSPUM602/ZSPUM602_Q50"
    Thu Mar 31 10:54:47.013 ThreadID<1980> SAPMODULE : SAPAuthenticationService: Calling m_pRfcWrapper->RfcOpenEx() ...
    Thu Mar 31 10:54:47.154 ThreadID<1980> SAPMODULE : SAPAuthenticationService: RfcOpenEx(...) returned 0
    Thu Mar 31 10:54:47.154 ThreadID<1980> SAPMODULE : SAPAuthenticationService: Call to m_pRfcWrapper->RfcOpenEx() took 0.141 seconds
    Thu Mar 31 10:54:47.154 ThreadID<1980> SAPMODULE : SAPAuthenticationService: SAPAuthenticationService::~SAPAuthenticationService

  • Error when saving Crystal report to BW

    Hi,
    I'm getting an error when save a report to BW (without push to BOE). I received the error messages as following:
    This syntax cannot be used for an object name
    An error occurred while saving and/or publishing. The return code 220 was returned from the server
    c
    Please help!
    Thanks.
    KS

    Hi ingo,
    thanks for your response.
    can you save a report directly to the BOE Server ?
    Yes, I can publish the report by "Save as" to BOE.
    did you can configure all the publishing in transaction /crystal/rptadmin ?
    Yes, I've followed all the steps by links below.. The RPC destination is working.
    Publishing part 1
    /people/ingo.hilgefort/blog/2008/09/23/businessobjects-and-sap--publishing-of-crystal-reports-part-1-of-3
    Publishing part 2
    /people/ingo.hilgefort/blog/2008/09/24/businessobjects-and-sap--publishing-of-crystal-reports-part-2-of-3
    Publishing part 3
    /people/ingo.hilgefort/blog/2008/09/24/businessobjects-and-sap--publishing-of-crystal-reports-part-3-of-3
    Still, I received the error as mentioned.
    Below is the detailed error after attempt to save the report to BW:
    Message no. TK103
    Diagnosis
    The syntax of the transferred objects is incorrect. R3TR XLWB  made this check.
    This could be caused by the following:
    The object type R3TR XLWB is unknown
    The syntax of the object name  is incorrect
    The object is a component of a system object
    System Response
    The function terminates.
    Procedure
    Correct the syntax.
    I am not sure what is going wrong. Please help..
    thanks.

  • Error when publishing crystal report to the BO server

    Hello All:
       Has any one encountered the following error when saving a report to the BO server.
       Unable to launch C:\program files\Business Objects\BusinessObjects Enterprise 11\win32_x86\plugins\desktop\CrystalEnterprise.Report\ReportAdd program to add report to the system .
    ....Would appreciate your help.
    Thanks
    Parmesh

    Hi,
    looks like a Bug here.
    heck SAP Note - 1183390
    Regards
    -Seb.

  • Error when generating the report (see long text), Message no. AQ_AD_HOC221

    Hi All,
    I am facing a peculiar problem while executing an infoset query.I have created 2 customized fields Compa-ratio and PIR in infotype 0008 in an infoset.I have coded in these additional fields.
    When I execute a query using 1 of these customized fields the report is generated correctly.But when I put both the fields in the output the report shows an error "Error when generating the report (see long text)". The message# associated with this errAQ_AD_HOC221.
    I have also checked the data types and the references. Nothing seems to be wrong here.
    Does anybody has any clue about this ?
    Kajal

    Hi Bernd,
    I had a look at those notes. But the information provided did'nt prove to be helpful. I found out the problem. I was using the same local variable for both the fields in their code. This generated the error. This error is a very generic one and does'nt help in finding out what exactly is the problem.
    I changed the other local variable and it started working. When I was using the same variable that time I did'nt forget to clear the values but the query still generated the error.
    Anyways thanks a lot for the reply.
    Kajal

  • GR224  Report Painter: Internal error when converting a report

    Hi
    Using FAGL_RMIGR transaction I've trasferred report 8A3-0010 in a
    custom library ZXX. The migration happened without error messages. I've
    tryed then to run report FL3-0010 by GRR3 transaction but error message
    GR224 appears
    Report Painter: Internal error when converting a report
    Message no. GR224
    Diagnosis
    During the internal compilation of a Report Painter report to a
    Report Writer report, sets are generated. This caused an error in the
    subprogramm GENERATE_ROW_MULTI. The return code was 7.
    System Response
    The report could not be generated and/or saved.
    Procedure
    Please call the SAP Hotline and send them this longtext as well as
    detailed information describing the circumstances in which this
    error
    occured.
    Please could you help me?
    Thanks in advance
    Giovanna Scamardella

    HI,
    SAPNET notes search with GR 224 brings some old (but maybe helpful) notes: 37611, 193392,137231, pls. check.
    Best regards, Christian

Maybe you are looking for