'Length' is null or not an object for tabular forms V4 error

Hi all

We have recently updated our applications APEX of version 2 to version 4. We use many tabular forms in various applications that worked fine before the upgrade.

Since the upgrade, when we run the pages in a table we get an error JavaScript 'Length' is null or not an object and the button "Add row" everything hangs and does nothing.

We tried to remove one of the forms in table form in an application, and then re create it in the same application unsuccessfully.

We then tried to create a new application from scratch, then creating the same page (which did not work in the previous sentence) and it works well.

Of course we can just delete applications that contains a tabular form and then begin to recreate them from scratch.

Someone had a similar problem? I Googled it and a few people have mentioned similar problems with v4. Is this a bug in APEX v4?

Thank you

Hi Cashy,

Unfortunately, you will have to do for each application. Go to shared components

1) go to themes
(2) click on create
3) repository
(4) choose your new theme
(5) create the new theme
6) click on "change the theme.
(7) check that the mapping is ok
8) click 'Remove the theme' to remove the old theme

But to make it easier to change the templates in all your applications in the future I would say the following steps.

(1) create a new application "Main Theme" and choose the new theme you want to have.
(2) copy this application and call it "new model of demand."
3) go to shared Component\Templates
(4) for each model of defined "Reference Master model of" in the region of "Subscription" for the same model in the application "main Theme".
(5) I would also say to remove these themes you don't want that developers use in application here (eg. variations of different button model,...)
6) go to shared Component\Themes
7) click on "export theme".

For each application:

1) go to Components\Themes shared
2) click on "import theme."
(3) choose your exported theme
6) click on "change the theme.
(7) check that the mapping is ok
8) click 'Remove the theme' to remove the old theme

The advantage is that if you change a model in your theme, you just make the change in your 'Main Theme' application and publish it on applications that have subscribed the theme.

Concerning
Patrick
-----------
My Blog: http://www.inside-oracle-apex.com
APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins
Twitter: http://www.twitter.com/patrickwolf

Tags: Database

Similar Questions

  • 4.0 calendar links 'length is null or not an object ".

    After the upgrade to 4.0 earlier this week, we now have a problem with our calendars that have been built in 3.1.1. Whenever I click on a link to the event in Internet Explorer, I get the error 'length is null or not an object ". When I click on the link to Firefox, I get the error "b is undefined" comes from the apex_widget_4_0.js file. After reading for 4.0 user's guide, I've removed the region and added it with the same SQL, but I get the same error.

    Any ideas on how to solve this problem?

    Thank you

    Jonathan

    Published by: YodaHart on July 21, 2010 12:40

    Hi Jonathan,.

    You can get a single patch for this problem of MetaLink for the Bug # 9936596. Please let me know if it does or doesn't work for you.

    Thank you.

    Joel

  • Error with Facebook and other web pages; document. Body' is null or not an object

    Original title: error line: 19 tank: 23004 error line: 20 cha:124

    document. Body' is null or not an object line: 19 tank: 23004... object doesn't support this property or method line: 20 char: 124... I get these errors on facebook and other web pages help me please!

    Hello

    IE - Tools - Internet Options - Advanced tab - navigation on the article - check the BOTH Disable script
    boxes of debugging.

    Close and restart IE.

    ------------------------

    Follow these steps to remove corruption and missing/damaged file system repair or replacement.

    Run DiskCleanup - start - all programs - Accessories - System Tools - Disk Cleanup

    Start - type in the search box - find command top - RIGHT CLICK – RUN AS ADMIN

    sfc/scannow

    How to fix the system files of Windows 7 with the System File Checker
    http://www.SevenForums.com/tutorials/1538-SFC-SCANNOW-Command-System-File-Checker.html

    Then run checkdisk (chkdsk).

    How to run check disk in Windows 7
    http://www.SevenForums.com/tutorials/433-disk-check.html

    ========================
    ========================

    Tips for solving problems with Internet Explorer
    http://Windows.Microsoft.com/en-us/Windows7/tips-for-solving-problems-with-Internet-Explorer

    ------------------------------------------

    Methods more troubleshooting for Facebook and other questions of the site, if needed:

    Try to add to your trusted sites in IE - Tools - Internet Options - Security - Trusted Sites.

    https://www.Facebook.com/

    http://www.Facebook.com/

    http://www.Facebook.com/login.php

    http://www.Facebook.com/Farmville

    What antivirus/antispyware/security products do you have on the machine? Be one you have
    EVER had on this machine, including those you have uninstalled (they leave leftovers behind which)
    may cause strange problems).

    If no joy there's something blocking perhaps.

    Start - All Programs - Accessories - System Tools - IE with no Addons - what works best?

    IE - Tools - Internet Options - Advanced - tab click on restore, and then click Reset - apply / OK

    IE - Tools - Internet Options - Security tab - click on reset all default areas - apply / OK

    Close and restart IE or IE with no addons

    not better?

    IE - tools - manage Addons (for sure disable SSV2 if she's here, it is no longer necessary but Java
    installs and it causes more questions - have you never update Java to go back in and turn it off again.) Search
    other possible problems.

    Windows Defender - tools - software explore - look for problems with programs that do not look
    right. Allowed are usually OK and "unauthorized" are not always bad. If doubt about a program
    ask about it here.

    Could not be a free - SpyBHOremover - BHO - standalone program, needs no installation, download.
    unzip and run - all are not bad, but some can cause your question (toolbars are BHO).
    http://securityxploded.com/bhoremover.php

    How to change, add or remove startup programs in Windows 7
    http://www.SevenForums.com/tutorials/1401-startup-programs-change.html

    Also get Malwarebytes - free - use as scanner only.

    http://www.Malwarebytes.org/

    ------------------------------------------------------

    Maybe using Compatibility Mode will help you.

    Introduction of compatibility view
    http://blogs.msdn.com/ie/archive/2008/08/27/introducing-compatibility-view.aspx

    http://www.Microsoft.com/Windows/Internet-Explorer/features/easier.aspx

    Some Web sites are not displayed correctly or work correctly in Windows Internet
    Explorer 8
    http://support.Microsoft.com/kb/956197

    Hope these helps.

    Rob Brown - MS MVP - Windows Desktop Experience: Bike - Mark Twain said it right.

  • "'undefined' is null (or) not an object".

    Hai,

    I created a javascript for the date validation, code works well in Notepad for html, it is the dynamic HTML, if I run the same code in APEX it displays error saying... "'undefined' is null (or) not an object ' what does that mean?

    Published by: David on October 29, 2008 03:49

    Hi David,

    Check your logic here:

    function ValidateForm(){
    var dt=document.getElementById('P4_TEXT').value
    if (isDate(dt.value)==false){
    dt.focus()
    return false
    }
    return true
    }
    

    DT is set to a value, but the if test then checks the value - because then you try to set the focus to the field, I would remove the .value "var dt..." form "line. Also make sure that all lines end with a semicolon.

    Andy

  • I get a box with internet script error explore - google.search error ' customSearchControl is null or not an object - code o - what is it and how do I fix?

    I get a box when get on google home page - script error Internet explorer

    CAR1

    Google error

    'customSearchControl' is null or not an object

    Code0

    What it means and how to fix it?

    You might want to think twice before you reset your unspecified version of IE...

    This from Microsoft KB923737:

    When you reset Internet Explorer settings, all modules and customizations are removed, and basically, you start with a new version of Internet Explorer.

    The feature reset the Internet Explorer settings restores the following elements to their default settings:

    • Home pages
    • Search scopes
    • Browsing history
    • Form data
    • Passwords
    • Appearance settings
    • Toolbars
    • ActiveX controls

    In addition, the feature reset the settings of Internet Explorer disables all add-ins.

    This is what will happen if you choose to reset your IE - what do you want?

    If you receive script debugging messages, which usually means that IE is not happy with the web page, because the web page has some mistakes in there, then you may want see if this article applies to you instead of just beating a first all your Internet Explorer settings:

    http://support.Microsoft.com/kb/822521

  • Usually "null is not an object" manipulation?

    Hi guys,.

    I want to find and change some textlayers in my compositions, but it does not work when the layer is not there.

    var layer = app.project.item (1).layer("layername").sourceText.value;

    When NomCouche is found, all right, but when no layer with that name, came the errormessage "null is not an object" and stop the script.

    I tried a try-catch and an if condition, but the error is still the same.

    How can I generally avoid this message and can deal with this problem?

    When no layer is not found, the script should message the user and make other functions while when the layer is found.

    Cheers.

    If the app.project.item object (1) .layer ("layername") does not exist or is not a text layer, you will get this error.

    var layer = app.project.item(1).layer("layername");
    var text;
    if (layer instanceof TextLayer){
        text = layer.text.sourceText.value;
        }
    else{
         //...
         };
    

    But the try/catch should work too.

    Xavier.

  • "Update to 4.2 Apex - apex.widget.tabular ' is null or not an object

    After the Apex 4.2 the following occurs error when loading a page that contains a list of select group [plugin]:

    ' *'apex.widget.tabular ' is null or not an object *.

    The error seems to be related to a list item select [plug-ins] group with assigned values attributes (options) list follows:

    Display the Null value: Yes
    Value null, display value: -.
    Return value of NULL: NULL

    Note: The application requires a NULL option to display in the list of values (display = '-', value = null). It works very well in the Apex 4.1...

    Remove the above values eliminates the error message. However to enter any value in the display Null value and attributes return Null value causes the error message reappear.

    Is it a group select list [plug-ins] known problem/bug? Any ideas on how to work around this problem would be greatly appreciated.

    THX

    Hello

    http://Apex.Oracle.com/plugins contains a version update of the plug-in the Selectlist (v1.1) group which should solve your problem. Just import it into your application and you should do.

    Concerning
    Patrick

  • What does that say "automation server can't create the object" with undefined is null or not an object

    I get these pop ups on an application I have to access it through a company VPN

    Hello charliedoodle,

    Given that the application tries to reach a Web site through the VPN to your business, you should check with your integrated personnel.
    They may have a problem on the server, or may have set a new strategy group. We would not be able to help with this issue.

    However, you can watch the following article which addresses the error message you receive.
    Click the number of the KB article to revise article.
    KB Article ID: 323885 -error message in Visual Studio: "Automation server cannot create the object.

    I hope this helps.

    Sincerely,

    Marilyn
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • Could not open Admin.account.Error box said"automation server can't create object"or"'g_navigator' is null or not an object. Help, please

    the start menu is also black.go in configuration properties and click ok, apply, ok and nothing happens.tried system restore and that didn't work.what else can I do?

    Hello

    · When you receive this error message?

    · The computer is connected to the server or network?

    · You are developing a new application?

    · Do you remember all the recent changes on the computer before the show?

    · What is the service pack installed?

    Run the verification and virus scan online if any malware or virus detected on the computer activity. You can run the scan for viruses online from the link below: http://onecare.live.com/site/en-us/default.htm

  • Apex 4: The button "Add a line" does not not in tabular form

    Hello

    The APEX 4, I created one in form of a table and the button "Add a line" does not work. 'Add Row' button is automatically created in the region and I have not modified anything.

    On Mozilla Firefox, clicking the button does nothing and on IE, it shows the javascript below error:

    Message: 'length' is null or not an object
    Line: 1
    Tank: 61979
    Code: 0
    URI: http://localhost:8080/i/javascript/apex_4_0.js

    The code for the button 'Add Row' is:

    "< class td 't10L' = >< img src="/i/themes/theme_10/button_left.gif "alt =" "width ="4"height ="24"/ >< table >"
    < class td "t10C" = >Add a line< table >
    "< class td ="t10R">< img src="/i/themes/theme_10/button_right.gif "width ="4"height ="24"alt =" "/ >< table >"

    Could I have done something wrong, or is at - it a bug?

    The other buttons and features works fine on the same on the

    Thank you
    Hozy

    Hello

    First, create a different theme.
    Press to create the button and select from the repository. Then follow the wizard.
    Then change the theme to one that you just created

    http://download.Oracle.com/docs/CD/E17556_01/doc/user.40/e15517/themes.htm#sthref1765

    BR, Jari

  • An error occurred during the execution of the request for export: could not allocate space for object ' dbo. DS_Property_Member_Array'. 'IdxPropMbrArr04' to database 'EPMA' because the 'PRIMARY' filegroup is full.

    Cannot deploy the planning application. I get the following message.

    Detail: An error has occurred during execution of the export demand: could not allocate space for object ' dbo. DS_Property_Member_Array'. 'IdxPropMbrArr04' to database 'EPMA' because the 'PRIMARY' filegroup is full. Create disk space by deleting unnecessary files, removing objects in the filegroup, adding additional files to the filegroup, or setting autogrowth on it to the existing files in the file group.

    No idea where I need to check the space I checked my essbase server and workspace and they both seem to have enough space for a normal deployment.

    It's a question on the SQL Server database with the allocation of space, searching the Internet for something like "Create disk space by deleting unnecessary files, removing objects in the filegroup" and you should get a lot of results.

    For example - the primary filegroup is full SQL Server 2008 - database to stack Exchange administrators

    See you soon

    John

  • Undefined IDCC2015 (MacOSX 10.9.5) is not an object when you reference dataMergeProperties.selectDataSource

    Hello everyone.

    I worked on a script that works on an InDesign file open with the data merge fields. During the run, the script asks the file to a directory of text files, then a directory to put the PDF files resulting. It looks like this:

    #target indesign
    main();
    
    var myDoc = app.activeDocument;//the indesign file that is currently open  
    function main() {
         var f = Folder.selectDialog("Select the text files");
        var finished = Folder.selectDialog('select folder for finished PDFs').fsName + '/'; //selects a folder to put the finished files
        if (f == null) return;
        var files = f.getFiles();
        var imgs = new Array();
        var file, ext;
        for (var n = 0; n < files.length; n++) {
            file = decodeURI(files[n].name);
            ext = file.substring(file.lastIndexOf(".")+1,file.length);
            if ( ext == "txt" || ext == "csv" || ext == "TXT" || ext == "CSV") {       
                imgs.push( file );
            }
        }
        for (var n = 0; n < imgs.length; n++) {
         var mergeTo = f.absoluteURI + '/' + imgs[n];   
         var pdfTo = finished + imgs[n] + '.pdf'
        myDoc.dataMergeProperties.selectDataSource(mergeTo);
        myDoc.dataMergeProperties.exportFile(finished, "[High Quality Print]", );
               }  
        }
    
    
    

    As I scroll through the script in debugging in ESTK, everything seems well of until line 22 when I get "undefined is not an object. But when I look at the data browser, everything looks like need where it is:

    Screen Shot 2015-07-22 at 9.02.02 pm.png

    My thoughts are that it has something to do with the name of file used by selectDataSource referencing. But I tried dozens of permutations of the naming of files using fsName, absoluteURI, and really, I'm stuck... and have been for some time. I tried is not to worry about the forum, and I am sure that my coding must be correct, but it is obviously not. Pointers to solve this would be appreciated.

    Colin

    Hello

    I would modify 2 lines:

    1. first line with var main() statement and call after / / if think it is source of error ==> no myDoc defined

    2 myDoc.dataMergeProperties.selectDataSource ( leader (mergeTo) ) / / instead of the string

    Jarek

  • Apply a Style of object for anchor

    Hi all

    Could someone please give solution for my application.

    1. find the anchor marker

    2. apply a style object for the chart image by selecting parent.

    myDoc var = app.activeDocument;

    app.findGrepPreferences = app.changeGrepPreferences = null;

    app.findGrepPreferences.appliedParagraphStyle = 'abc '.

    app.findGrepPreferences.findWhat = "~ a".

    var myFound = myDoc.findGrep ();

    for (i = 0; i < myFound.length; i ++)

    {

    myFound [i] .parentTextFrames [0] .appliedObjectStyle = app.activeDocument.objectStyles.item ("Image") //Error only

    }

    Thanks in advance

    Beginner

    Hello

    An anchored object is not parent, but child (pageItem) for the anchor.

    myFound[i].parentTextFrames[0].appliedObjectStyle = app.activeDocument.objectStyles.item("Image")   //Error this only
    

    Try this code

    myFound[i].pageItems[0].appliedObjectStyle = app.activeDocument.objectStyles.item("Image");
    

    Thank you

    mg.

  • Is there a way to find the length of a line, not a column

    I'm trying to find the length of a particular line in a table... is it possible?
    I don't mean length of the column value... I can get by using LENGTH (COLUMNNAME)
    I'm not average line length, I can get extended calculation or using the trace file.
    Please let me know if there is a function, that allows to calculate or any other solution.

    Thank you!

    >
    (1) select avg_row_len from dba_tables
    where table_name = 'abc ';
    I got the length of the average line like 65
    That means 65... It is 65 bytes/KB/MB, or what exactly is 65?
    >
    This means that 65 bytes - see ALL_TABLES in doc database
    http://docs.Oracle.com/CD/B19306_01/server.102/b14237/statviews_2105.htm#i1592091
    >
    (2) also a member of the team of mine use this query:
    SELECT sum (data_length) FROM ALL_TAB_COLUMNS WHERE
    table_name = 'ABC ';
    and divided the result above with the number of rows in this table

    Suppose that gives only the length of the average column type... is not our requirement?
    >
    At best, that would give you the MAXIMUM length that COULD be a line. It will not help at all. For example all columns defined as NUMBER (with any precision or scale) appears in the form of bytes 22 since they can take a lot. And a VARCHAR2 (4000) will be listed as 4000 even if it is NULL or if the average length is 2 bytes.

  • Invalid object for this request

    Hi friends I have an another problem concerning textframe.

    my java script code is like this,

    firstLine var = xmlElement.lines.firstItem ();

    var newTextFrame = firstLine.textFrames.add ();

    -> newTextFrame.geometricBounds = [0,0,50,50]; error: Invalid object for this request

    newTextFrame.contents = queryNumber;

    newTextFrame.appliedObjectStyle = this.jrnlIDDoc.objectStyles.itemByName (((columnIndex == 0)? (("' AQ_LEFT ': 'AQ_RIGHT'));

    newTextFrame.fit (FitOptions.FRAME_TO_CONTENT);

    If (firstLine.textFrames.length > 0) {}

    newTextFrame.move (null, [0, (newTextFrame.geometricBounds [2] - newTextFrame.geometricBounds [0] + 3) * (firstLine.textFrames.length)]);

    }

    After the execution of this file, I got a error: Invalid object for this request


    If anyone knows the soln please help me.

    concerning

    Tahir.

    The frame that you add is "inline" and is oversetting image, no doubt, so its geometricBounds are inaccessible. One solution is to create as anchored to instead and then make your changes and then put it back on line if you want to:

    var newTextFrame = firstLine.textFrames.add({anchoredObjectSettings:{anchoredPosition:AnchorPosition.ANCHORED}, geometricBounds:[0, 0, 50, 50]});
    

    Jeff

Maybe you are looking for

  • Satellite Pro 4600 East-CDRW/DVD asks a series of 4300?

    Anyone know if the readers of CD-RW/DVD-ROM that have been adjusted for some computers laptops Satellite Pro 4600 will be adapted and can be implemented in the Satellite Pro 4300 series notebooks? Please don't reply by saying contact my local service

  • px12-350r unable to join the domain - what now?

    Hi all! I hope you can give me some advice because at the moment I'm in a really silly situation, being probably locked out of my Iomega px12-350r. Here is what happened: * The device was successfully linked to my domain name Microsoft AD and worked

  • Update LCD on T60 2008-CTO

    Hello everyone. I'm trying to replace a screen LCD XGA on my T60 2008-CTO with a SXGA Panel + for more resolution. According... http://www-307.IBM.com/PC/support/site.WSS/document.do?lndocid=MIGR-62784 , the frame numbers match and that should be pos

  • When a blank CD is inserted in the CD drive, it gives the message "insert a disk in drive E".

    Original title: the Cd Player help Please help here tomorrow, I can insert an audio CD into my computer and snatch the music or listen, but when I put a blank cd, it says (Please insert a disk into drive E). I am wanting to put photos on the disc for

  • Locked out of the account on my laptop Dell Inspiron 1525 Windows Vista

    I have a dell Inspiron 1525.  It's windows vista currently.  I have the main account and the user account.  I made a password reset disk, but it says that an error occurs whenever I'm trying to reset the password of the main account.  I don't know wh