APEX 4.0.2 Error on Master Detail Pages - 'length' is null or not an object

Greetings,
We just upgraded to APEX 4.0.2.00.07 this past weekend. Now a JavaScript error occurs when Master Detail pages are opened in IE 8. The error is - 'length' is null or not an object. I do not have a page item named length on any of these pages.
The error does not occur in Chrome or Firefox, but the Add button on the detail portion of the page simply doesn't work.
The page works when creating the master portion of the page. After the master row is created the region to add detail rows appears and the error occurs. So, the error appears to be with that part of the page.
We use an Inactive Date column to soft delete rows in the detail portion of the page, so the detail regions have a date column, just in case this column is the problem.
Does anyone have an idea what the problem might be?
Thanks, Tony

I too had this same problem and determined that the problem was due to a missing underscore character between the literal "report" and the report Id in the report template.
I guess some themes include this underscore and some don't.
I had to debug the apex_4.0.js to determine this - not easy as it's not nicely formatted.
It only seems to stop Pagination working in an Updatable Tabular Form Report.
Edit the Report Template. Go to the "Before Rows" region and edit the Before Rows text box. Locate where it defines the report id and insert an underscore between report#REGION_ID#
Previous
<div id="report#REGION_ID#">
Fixed
<div id="report_#REGION_ID#">

Similar Messages

  • Context Menu error: 'length' is null or not an object

    When we run some of our reports (BI 7.0) and right click on the table to display the context menu we get a javascript error in the bottom left of Internet Explorer. The context menu doesn't appear.
    Once you expand the error is  'length' is null or not an object. It doesn't affect all the reports in fact so far we've only discovered 2 reports with this problem although there may be more.
    The reports with problems have had their own individual web templates developed. We haven't developed much of our own Javascript via the script web item and definitely none that would affect the context menu. The only code we have opens help pages/useful web pages/other apps etc. via buttons.
    None of the reports shows an error when you validate in the WAD software.
    We are currently using IE6 (upgrading to IE8 soon) and we have recently applied SP21 on the Java Stack.

    Hi Fred
    Did SAP come back with an OSS note to correct this issue. I am not finding anything in the Service marketplace.
    Thanks
    Adrian

  • BPELConsole error message: 0.prettyDate is null or not an object

    We have successfully deployed the sample approval workflow. We modified that workflow and added an email task. The workflow was deployed and it launches and completes successfully. Via the BPELConsole, we can view the "audit" for that instance. However, when we view the "flow" for that instance, we get the error message:
    Error: Internal Bug (# 81)
    '0.prettyDate' is null or not an object
    I can't find any reference to "prettyDate" (i even searched for Julia Roberts, Jessica Biel, etc) to no avail. Any ideas on what the heck this means?
    To reiterate - all we changed was to add an Email task and the process otherwise behaves as usual.
    Our BPEL install is in its own Application Server instance. It is version 10.1.3.3.
    thank you,
    iggy.

    This is a bug - I know it happend on 10.1.2.
    You need to apply patch...I don't remember the number sorry.
    Try to find it in metalink.

  • Error creating Master/Detail Form

    Hi,
    I tried to create a master detail form. I went through all the steps fine, only when i click the button to create the form, i received the following errors:
    ORA-20001: Unable to create master detail page. ORA-06502: PL/SQL: numeric or value error: character to number conversion error
    Unable to create Master Detail pages.
    Could someone please tell me what's wrong?
    Thanks,
    Patrick.

    We are getting this message in several areas in the development environmnet. It's happening in the developer login screen, when creating new tabs, and when tryig to create master detail reports. Here is our error from the Apache Log:
    [Mon Mar  2 11:41:31 2009] [error] [client 10.64.8.231] [ecid: 1236012090:148.94.143.136:24226:0:1621,0] mod_plsql: /pls/apex_qmnt/wwv_flow.accept HTTP-404 ORA-06502: PL/SQL: numeric or value error\nORA-06512: at line 31\n
    I think this is different from the issue above as that is due to too many items in a shuttle list. Ours seems to be related to our new APEX insstallation. Any help is appreciated here.

  • Possible error when using ADFBC selectOneListbox in a master-detail page

    Hi Everyone,
    I'm trying to setup master - detail page with ADF BC, using Dept / Emp.
    I want to use a listbox for the master object, rather than the form + navigation commands as shown in the classic demos, so I've setup a listbox as following:
    <af:selectOneListbox value="#{bindings.DepartmentsView1.inputValue}"
    label="Available Flows:"
    id="listbox_depts">
    <f:selectItems value="#{bindings.DepartmentsView1.items}"
    id="id_Selcet_Items"/>
    The details element is the classic read-only table created by dragging the Employees view (under the departments) into the page.
    The problem arises when I run the page - the list box shows all the departments, but when I click on different departments the table data does NOT change (as it would when navigating between rows with the classical form navigation buttons).
    I've set up the Table's partial triggers to both of the listbox ids: id_Selcet_Items and listbox_depts but this doesn't help.
    Is this a bug, or am I doing something totally wrong?
    Tal.

    Tal,
    You need to drop the Dept collection onto your page as a navigation list.
    Blaise

  • Can I link from Interactive report Page 1 to Master Detail page 2?

    Hi folks-
    I know how to create a Page as an Interactive Report; it creates 2 pages automatically (primary page with the great interactive bar) and a 2nd page that's a single record.
    I know how to create a Page as Master Detail, whereby I get a tabular list without the super interactive bar, and I can select a record, and get transported to a nice page with 2 regions (master on top, detail on bottom).
    I want to have the First page from the Interactive Report, select the record, and go to the 2nd page of a MasterDetail.
    Do I create the Interactive Report, and customize the 2nd page, to add a region?
    Or, do I create both page types, and redirect from the 1st page of the Interactive Report to the DML Form from the MD report? I tried that, re-assigning the link from the Interactive Report to be a Link to Custom Target, and specify the page # of the Master-Detail page. And it is taking me to the right page, but the data from the selected row is not coming with me, and the detail in the bottom region is not appearing at all.
    Can someone please give me a nudge as to the sequence I should be doing?
    (As you can tell, I'm new to Apex.... I'm trying to use it to create a prototype or proof-of-concept for a database driven web application)
    Thank you
    Marion

    Yes, I tried that after I wrote to you - and it's fine, but not what I'm after; it's only based on 1 table and I'm working with 2 tables.
    Perhaps I can explain in better.
    I want one page as an interactive tabular report (of the master records)
    I want to select a row, and transfer to a page that has the corresponding row on top (as a form), and a tabular region below of records from a related detail table.
    ie, I want page 1 from the Interactive Report, and page 2 of the Master Detail report.
    OK - I just took the form page, and added a region below in a tabular report. And I'm getting the data, but I'm getting all the records (not just the ones associated with the single record on top. I figure I need to edit the Region Definition->Source (to specify that the id numbers need to match), but the code is not editable.....
    So I am in Structured Query Attributes, and I've Modified the Join Conditions - but I still get all the detail records in the bottom region. I''m trying to add in the ( + ) qualifier, but it doesn't affect anything...
    I'm soo close to what i'm trying to do!
    Thank you for your continued patience and assistance
    Marion
    here's the Source I have for the region..... (I'm including the excess ID columns just for learning purposes)
    SELECT
    "PHONENUMBERS"."PHONE_ENTITY_ID" "PHONE_ENTITY_ID",
    "ENTITIES"."ENTITY_ID" "ENTITY_ID",
    "ENTITIES"."FIRSTNAME" "FIRSTNAME",
    "ENTITIES"."LASTNAME" "LASTNAME",
    "ENTITIES"."COMPANY" "COMPANY",
    "PHONENUMBERS"."PHONE_ID" "PHONE_ID",
    "PHONENUMBERS"."PHONETYPE" "PHONETYPE",
    "PHONENUMBERS"."PHONENUMBER" "PHONENUMBER",
    "PHONENUMBERS"."PHONECOMMENT" "PHONECOMMENT"
    FROM
    "PHONENUMBERS",
    "ENTITIES"
    WHERE ENTITIES.ENTITY_ID = PHONENUMBERS.PHONE_ENTITY_ID
    Edited by: mtpaper on Oct 12, 2009 1:30 PM
    Edited by: mtpaper on Oct 12, 2009 1:32 PM

  • Can I set up a Master-Detail Page with report regions for 2 Detail Tables?

    Hi there,
    I am just starting to use Application Express.
    I have a Table (A) with Master-Detail relationships to two Tables B & C.
    I can set up a Master-Detail Page between Table A and Table B, where the records displayed in Table B change when switching between records in Table A. I would like to add Table C to the page and for this to work in the same way.
    Is this possible in APEX? (I've tried adding a report region for Table C and making the Region Source dependent on the same ID field as is used by the report region for Table B but I keep getting "No Data Found" for Table C).
    Many thanks.

    Thanks, but the text needs to be on a single master page which every page is assigned to. This is so the text alternates correctly regardless of whether new pages are inserted or moved. If I assigned separate master pages to individual pages and then moved the pages to a different location, the alternating footer text would then fall out of sync. I hope that made sense!

  • Master Detail page (ASP)

    I have dreamweaver 8 I am running vista 64 bit I am trying to do a master detail page but get this error.  My recordset test fine

    1- I am using access 2000 I have 2007 but I changed the one I was using to 2000 compatible thinking that might help.
    2- When I click on here on the error page it goes to a lot of information about asp and IIS I starting reading and going to other links and leared about the UAC on vista.  When I try to setup a connection in the ODBCad32 under the system dsn it said that I don't have administration ability.  So I went to the msconfig and shut off the UAC but that didn't change any thing.
    3 - I am not sure how to turn off friendly errors I will look into doing that later I have to take of for now.
    Thanks

  • How to dynamically disable interactive report filed in master detail page

    I am using APEX 4.0 & very new to APEX. I am not able to make disable a filed in detail region (which is a interactive report) of a master detail Page.
    I.e. want to disable field of a row based on value of another field for same record, just like set_item_instance_property of oracle forms. Please help me out.

    its working fine for tabular form. But not working for master detail form (for detail section). Can you please help me out

  • Master-detail page: insert in detail not working

    Hello JHeadstart Team,
    I'm using jdev 10.1.3.2.0 and jhs 10.1.3.1.26.
    I have a master-detail page (master = table-form layout and (on same page) detail = table layout).
    If starting the page, pushing the new master record button, inserting a new master record and finally inserting a new detail record following error occurs:
    07/05/02 14:50:30 [720] (16) DCBindingContainer.reportException(220) DCBindingContainer.reportException :oracle.jbo.TxnValException
    07/05/02 14:50:30 [721] (16) Diagnostic.printStackTrace(410) oracle.jbo.TxnValException: JBO-27023: Validieren aller Zeilen in einer Transaktion nicht möglich.
    and for every mandatory column in the detail
    ## Detail 0 ##
    oracle.jbo.RowValException: JBO-27027: Fehlende obligatorische Attribute für eine Zeile mit dem Schlüssel oracle.jbo.Key[-5 ] vom Typ Quellen
         at oracle.jbo.server.JboMandatoryAttributesValidator.validate(JboMandatoryAttributesValidator.java:118)
    There is also a warning in the embedded OC4J log
    02.05.2007 14:49:26 oracle.adfinternal.view.faces.model.binding.FacesCtrlRangeBinding$FacesModel getSelectedRow
    WARNUNG: rowIterator is null
    If I query the data first I can insert master and detail records as exspected! The same if the details are placed on a separate page!
    Trying to use the new feature AddRow-Button for table layout gives ALLWAYS
    500 Internal Server Error (
    javax.faces.el.EvaluationException: java.lang.NullPointerException     
    at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:150)     
    at oracle.adf.view.faces.component.UIXComponentBase.__broadcast(UIXComponentBase.java:1087)     
    at oracle.adf.view.faces.component.UIXCommand.broadcast(UIXCommand.java:204)     
    at oracle.adf.view.faces.component.UIXCollection.broadcast(UIXCollection.java:95)     
    at oracle.adf.view.faces.component.UIXTable.broadcast(UIXTable.java:208)     
    at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:287)     
    at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:401)     
    at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:95)     
    at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)     
    at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)     
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:213)     
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)     
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)     
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)     
    at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228)     
    at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197)     
    at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)     
    at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)     
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:620)     
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)     
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:865)     
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:447)     
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:215)     
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)     
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].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.1.1) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)     
    at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.NullPointerException     
    at oracle.jheadstart.controller.jsf.bean.JhsCollectionModel.addRow(JhsCollectionModel.java:443)     
    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:585)     
    at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:146)     
    ... 30 more
    In the ADF BC Tester the application module runs properly.
    How can I debug?
    Is there something wrong in the model level or view level?
    Thanks in advance
    Peter

    Thanks Menk for your idea!
    I located the source of the problem in the pagedef:
    After changing the RefreshCondition of the Detail Iterator from
    <iterator id="DETAILIterator" Binds="DETAILView1"
    DataControl="xyzDataControl" RangeSize="-1"
    RefreshCondition="#{searchMASTER.queryExecuted}"/>
    to
    <iterator id="DETAILIterator" Binds="DETAILView1"
    DataControl="xyzDataControl" RangeSize="-1"
    RefreshCondition="#{adfFacesContext.postback == true}"/>
    and switching off "Generate Page Definiton" everything works as exspected!
    Peter

  • ADF: Master Details Page

    Hello,
    I have just started out trying to develop an application in JDeveloper with ADF and I am coming from a Apex/Forms/PL SQL background. I am trying to develop an online application form for our Grants program.
    The problem I am having is I have a master detail type page where I have a section D (Master) and then I have a breakdown of cost (detail). I have created a creation page for the section D and I have then another creation section on the same page for the breakdown of the costs by dragging the view that is under the section D view.
    The problem is the detail section seems to be bring back the first record from the table. This is not what I expected as I would assume this to be blank record as we have a blank record in the master part.
    Is there anyway around this where on startup the detail section brings up a blank record instead of the first record in the view?
    Cheers in advance in any help on this matter.
    Paul.

    Most likely you dragged the wrong detail structure from the Data Control palette. When you created your Application Module, and added View objects to it, you would have seen a tree structure. Views will be listed separately, but if you have a View Link associating a detail view with its master, you will also see that view in the tree under the master. Something like this:
    MyMasterView
      MyViewLink
        MyDetailView
    MyDetailViewMake sure that this structure has been moved to the right side of your Application Module. There you will see something like:
    MyMasterView1
      MyDetailView2
    MyDetailView1This is what creates the tree structure in the Data Control palette. When you created your master/detail page, you dragged MyMasterView1 for the fields from your master view. But you probably dragged MyDetailView1 for the details. This does not use the View Link to associate your details with the current master record. To do this, you must use MyDetailView2, which you will find by expanding the tree under the master.
    Now, to get a blank record in the detail, you have to execute a Create action from that data control. You can drag a Create button to the page, and the user can press the button to get a blank record. Or you can cause a create action to happen whenever you enter that page.

  • Master Detail pages php/mysql  Links

    I have a master/detail page setup that is working properly. I
    am trying ot add a Link to only a few of the detaill pages but not
    to show up on others. I tried to set just do the html in a text
    field but It owuld not come out as link. It did underline it like a
    link.
    I also tried to do a If statement but am getting parse errors
    when I add the html code.
    <? if ($row_detail['link'] {
    echo "<a herf=$row_detail['link']>Expanded
    Detail</a>
    I get a parse error of unexpected <
    Any body have any idea if this is possible and how I might
    get it to work
    Thanks
    Tim

    David
    Getting closer I put in this
    <? if ($row_rscdetail['link']) {
    echo "<a herf='{$row_rscdetail['link']}'>Expanded
    Detail</a>"; } ?>
    Everything is good except it is not a link. It is underlined
    and mouses over but not link.
    The source code from ie is
    <a herf='
    http://www.sflcondos.com'>Expanded
    Detail</a>
    I also put the " " around the link in the table field and
    removed the ' ' from <a herf='{etc}' and it came out in source
    code as
    <a herf="
    http://www.sflcondos.com">Expanded
    Detail</a>
    It has got me stumped
    Thanks for your help
    Tim

  • How to validate detail columns on a Master-Detail page

    How do you add validation to the detail columns/items on a Master-Detail page? For example I want to execute a 'not null' validation on a column in a detail row when the user attempts to add a new row.
    Edited by: user9108091 on Oct 12, 2010 8:58 AM

    Is the detail a tabular-form style?
    If you are in version 4.x you can add it like any other validation.
    If you are in version 3.x and below, you have to write your own PL/SQL validation using the wwv_flow.g_f01, g_f02, etc. arrays and make the validation a type of "function returning error text". A not-null return value will be your error message. A null return value will be synonymous with passing validation. Unfortunately this method is a bit inelegant in that if you display the error on the same page, the screen usually repaints as part of the whole process and since the row was not saved (nor any other changes the user may have made to existing rows) the new row will disappear. If you display on the error page, the error is a bit inconvenient/inconsistent for the end user relative to item-level error display, but the page will usually be cached in the browser's cache and the state of what the user entered is retained.
    The error page also usually defaults to the "login" template. If it did, this is rather unattractive, IMHO. If you switch it to your current page tempate for most of your application pages (e.g.: two level tabs), even though it doesn't have tabs it will look a little more consistent with your other application pages.

  • Question on "Master Detail page using ADF" sample

    I downloaded the "Master Detail page using ADF" sample application. I modified editDepartment.jsp page to include the Commit button as follows:
    <html:submit property="event_Commit">Save and Commit</html:submit>
    When I go to edit a department record and click on the new "Save and Commit" button, I SQLed the DEPARTMENTS table and noticed that the edits were not commited. I also restarted the embedded OC4J server and still get the same results. For some reason, the department view object contains the modification but the entity object doesn't. Why?

    Scott,
    My colleague suggested a workaround, which is to explicitly include the detail table's id in the master table's partialTargets list. So, for example, in MasterDetailDP.uix, changing:
    <table model="${bindings.DepartmentsView1}"
           id="DepartmentsView111"
           partialRenderMode="multiple"
           partialTargets="_uixState">to:
    <table model="${bindings.DepartmentsView1}"
           id="DepartmentsView111"
           partialRenderMode="multiple"
           partialTargets="_uixState EmployeesView312">...will cause the detail table to be updated when sorting the master table.
    There is some question about whether sorting a table should actually cause the currently selected row to change - we're still discussing this point.
    Andy

  • Master & Detail Pages

    Hello all,
    I am asking for help on creating Master - Detail pages. I am using Wamp version 2. Database name "TestingCo" with 3 tables:
    Users:      user_id                int(4)           Primary_Key
                   user_fname          varchar(30)
                   user_lname          varchar(30)
                   user_license_id    int(4)
                   user_pix_id          int(4)
    Licenses: license_id           int(4)             Primary_Key
                   license_no          varchar(10)
    Pictures:  pix_id                 int(4)             Primary_Key
                   pix_url                varchar(50)
    1. I create a recordset called: rsMasterDetail:
         * with all fields from all 3 tables.
         * Where users.user_pix_id = pictures.pix_id AND users.user_license_id = licenses.license_id
         * Order By users.urser_fname
    2. On Master page, I insert Master Detail Page Set:
         * Master page fields: All fields from rsMasterDetail recordset.
         * Link to Detail from: user_id          / later I tried: user_fname         
         * Pass unique key:   user_id          / later I tried: one by one from each field of Users table.
         * Show: All records
         * Detail page name:     Detailpage.php
         * Detail page fields:     All from rsMasterDetail recordset.
    3. Result: (I always get the same result as below).
         * Masterpage.php - perfect - All correct display between 3 relational tables
         (*) Detailpage.php - when I click on any link from the Masterpage.php:
              - All the fields from Users table are displayed correctly depending on which link I clicked on Masterpage.php
              (+) The fields from table Licenses are displayed the first row only (1st record of the table.)???????????????
              (+) The fields from tabel Pictures are displayed the first row only???????????????
    A. When I built the rsMasterDetail recordset, I test it and the result is good.
    B. The masterpage.php shows all fields in perfect order.
    There must be something wrong when the information passes from Master page to Detail page!??!!???
    Please help me!
    Thank you

    Hi Lon,
    When I test it, the tables relationship is perfect since all three tables line up correctly on the masterpage.php. If there is problem with tables relationship, I should also have such problem with the masterpage.php.
    I, once tried to build another recordset called: rsTest. This time I had only 2 tables: Users and Licenses. The result was the same; only the first row of the licenses table would show on the detailpage.php; while the masterpage.php the rows on both tables line up correctly.
    I have tried many ways to find solutions unsuccessfully. What I get so far is:
    * The recordset is display correctly every single time when I click the "Test" button, as well as on the masterpage.php (I meant the tables relationship).
    * When the link on the masterpage.php is clicked, the detailpage.php supposes come up and display all rows of 3 tables of the linked record. However, all rows of the 1st table are correctly displayed, and the other table(s) only show its first row regardless which link on the Masterpage.php was clicked.
    I hope you and others gurus can help me out.
    I appreciate your help.

Maybe you are looking for