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

Tags: InDesign

Similar Questions

  • No room for improvement for this request? Explain the Plan attached.

    There is room for improvement for this request? Table stats are updated. Suggestions, Query rewrite, adding indexes,... etc?
    select sum(CONF
                 when (cd.actl_qty - cd.total_alloc_qty - lsd.Q < 0) then
                  0
                 else
                  cd.actl_qty - cd.total_alloc_qty - lsd.Q
               end)
      from (select sum(reqd_qty) as Q, ITEM_ID as ITEM
              from SHIP_DTL SD
             where exists (select 1
                      from CONF_dtl
                     where CONF_nbr = '1'
                       and ITEM_id = SD.ITEM_id)
             group by ITEM_id) lsd,
           CONF_dtl cd
     where lsd.ITEM = cd.ITEM_id
       and cd.CONF_nbr = '1'
    Total number of rows in the tables involved
    select count(*) from CONF_DTL;
    
      COUNT(*)
    ----------
       1785889
    
    select count(*) from shp_dtl;
    
      COUNT(*)
    ----------
        286675
      
    Explain Plan
    PLAN_TABLE_OUTPUT
    ----------------------------------------------------------------------------------------------------
    Plan hash value: 2325658044
    
    ----------------------------------------------------------------------------------------------------
    | Id  | Operation                           | Name               | Rows  | Bytes | Cost (%CPU)| Time     |
    ----------------------------------------------------------------------------------------------------
    |   0 | SELECT STATEMENT                    |                    |     1 |    39 |     4  (25)| 00:00:01 |
    |   1 |  SORT AGGREGATE                     |                    |     1 |    39 |            |          |
    |   2 |   VIEW                              |                    |     1 |    39 |     4  (25)| 00:00:01 |
    |   3 |    HASH GROUP BY                    |                    |     1 |   117 |     4  (25)| 00:00:01 |
    |   4 |     TABLE ACCESS BY INDEX ROWID     | SHIP_DTL           |     1 |    15 |     1   (0)| 00:00:01 
    |   5 |      NESTED LOOPS                   |                    |     1 |   117 |     3   (0)| 00:00:01 |
    |   6 |       MERGE JOIN CARTESIAN          |                    |     1 |   102 |     2   (0)| 00:00:01 |
    |   7 |        TABLE ACCESS BY INDEX ROWID  | CONF_DTL           |     1 |    70 |     1   (0)| 00:00:01 |
    |*  8 |         INDEX RANGE SCAN            | PK_CONF_DTL        |     1 |       |     1   (0)| 00:00:01 |
    |   9 |        BUFFER SORT                  |                    |     1 |    32 |     1   (0)| 00:00:01 |
    |  10 |         SORT UNIQUE                 |                    |     1 |    32 |     1   (0)| 00:00:01 |
    |  11 |          TABLE ACCESS BY INDEX ROWID| CONF_DTL           |     1 |    32 |     1   (0)| 00:00:01 |
    |* 12 |           INDEX RANGE SCAN          | PK_CONF_DTL        |     1 |       |     1   (0)| 00:00:01 |
    |* 13 |       INDEX RANGE SCAN              | SHIP_DTL_IND_6 |     1 |       |     1   (0)| 00:00:01 |
    ----------------------------------------------------------------------------------------------------
    
    Predicate Information (identified by operation id):
    ---------------------------------------------------
    
       8 - access("CD"."CONF_NBR"='1')
      12 - access("CONF_NBR"='1')
      13 - access("ITEM_ID"="SD"."ITEM_ID")
           filter("ITEM_ID"="CD"."ITEM_ID")
    SELECT SUM(cd.actl_qty - cd.total_alloc_qty - lsd.Q)
      FROM (SELECT   SUM(reqd_qty) AS Q, ITEM_ID AS ITEM
                FROM SHIP_DTL SD
               WHERE ITEM_ID IN(SELECT ITEM_ID
                                  FROM CONF_dtl
                                 WHERE CONF_nbr = '1')
            GROUP BY ITEM_id) lsd,
           CONF_dtl cd
     WHERE lsd.ITEM = cd.ITEM_id AND cd.CONF_nbr = '1' AND cd.actl_qty - cd.total_alloc_qty - lsd.Q > 0
    

    This should remove the nested loop and could lead to a hash on conf_dtl join.

  • Activation error: invalid SN for this product

    I read support articles in all directions into the wee hours of the morning to try to help out myself, and I have not found any that is worked. My last computer kicked the bucket, trying to reload CS5.5 Master Collection on my new computer (Mac w / Yosemite), I am unable to get my products to launch.


    The error does not seem to indicate that it is activation too, even if I wasn't able to disable the last instance before the death of my last laptop.

    Before resurrect my series from backups, l has installed a 30 day trial. Now when I try to enter my key, it tells me the serial number is not valid for this product. Screenshot: http://tardis1.tinygrab.com/grabs/6111bb2e6d31485e251605fb9070536e31c30095e0.png

    I tried to uninstall all applications that were initially drafted by the trial, and then the fresh install from the .dmg I made the drive, which I can't find since we moved. Dmg Installer accepted my series and continued his merry way writing of new instances of the applications I've selected. When I try to start one of the applications that are newly installed; however, I invite me again for my series. I enter the same serial number that I have provided the installer, but I get the error is not valid-for-this-product.

    A help article speaks of licenses CC suggests to check the hosts file. Even if mine is different, I tried poking around in/private/etc in any case. It's just the initial comment and three lines for broadcasthost localhost and localhost respectively; There is no mention of adobe anywhere. I imagine that this does not apply to me.

    I found "Error"serial number is not valid for this product"|" Creative Suite"and checked my tongue, but I can't believe he would have been any other language when I use it with success on my last machine."

    I tried activating offline because "in Sign, activation or connection errors|" CS5.5 and later, Acrobat DC"mentioned that activation offline work for CS5 and products CS5.5 CS6, who understands me. I could not find where locate or generate ar equest code, however. Impasse here.


    Elsewhere on this page (sign activation, or connection errors |) CS5.5 and later, Acrobat DC) were, however, some tips that don't apply to me. This page lists always up-to-date information? Elements that do not have the height:

    • Check the firewall settings.

    If your computer is behind a firewall, make sure that the firewall does not block activate.adobe.com via ports 80 and 443.

    Mac OS: Applications > utilities > Adobe Application Manager > basic > PDApp

    -> I don't see MAO in my file utilities. Many other things is Adobe, but no MAO here. What is the question? Or it just moved since every time that that has been published?

    • Verify access to the activation servers.

    Launch an Internet, such as Firefox or Internet Explorer browser, and open one of the following links, depending on the version of Creative Suite:

    CS5.5: https://activate.Adobe.com/test

    CS6 and later: https://LM.licenses.Adobe.com/GDF/status.jsp

    -> I don't have Chrome and Safari installed, but neither one displays a success message: I get redirected to Adobe Systems Inc. - access denied and see http://tardis1.tinygrab.com/grabs/6111bb2e6dd61dc735e54a9825845f5459355cf8e0.png. Isn't it?

    I feel that I have some good ideas, but I can't find any additional documentation to check if I am barking the right tree. Any help would be useful!

    TIA

    what you have done with the drive is most likely the problem.

    uninstall your adobe applications, clean (http://www.adobe.com/support/contact/cscleanertool.html) and reinstall using the correct Setup files:

    Available downloadable Setup files:

    Download and installation help links Adobe

    Help download and installation to Prodesigntools links can be found on the most linked pages.  They are essential; especially steps 1, 2 and 3.  If you click on a link that does not have these listed steps, open a second window by using the link to Lightroom 3 to see these "important Instructions".

  • How to operate all invalid objects for a schema?

    Dear team,

    There is a lot of invalid objects in my diagram.
    Is it possible to compile/Run the invalid objects to the schema?

    Kind regards
    Augustine

    Yes, there is: DBMS_UTILITY.COMPILE_SCHEMA

    HTH!

  • Do I need to use the NVL function for this request?

    I seem to have some problems using the NVL function on a date. I'm trying to create a query pulls back just a date a file was sent between the sysdate and the date_sent more a minute. Here is the code I use...

    Oracle: 10.2 G
    SELECT date_sent as date_sent
    INTO    iDateSent
    FROM    tableX
    WHERE  file_id= 9999
    AND    date_sent BETWEEN sysdate AND date_sent + 1/1440; 
    Currently Output (null):
    DATE_SENT
    Desired output when date_sent is null:
    DATE_SENT
    0:0:000 0:00:00
    Note:
    date_sent column is in a normal date - same format as sysdate format.

    The problem I encounter is when date_sent is null, the stored procedure, I built crashes because date_sent returns a null and a null value cannot be stored in the variable 'iDateSent '. I was thinking about using the NVL function here to resolve, however, I'm not entirely sure who will work with the above query. Any thoughts?

    Published by: user652714 on July 9, 2010 12:58

    Published by: user652714 on July 9, 2010 13:11

    Hello

    you said: "desired output when date_sent is null: date_sent: 0".
    It is not possible to have a date of 'zero '.

    "and a null value cannot be stored in the variable 'iDateSent'. '.

    I do not think: If this variable is declared normally (without any not null not constrained to this topic) so that it can contain a null value. (it's 99% of the time in PL/SQL).

    I think it's that your SQL retrieves no rows, to manage what you should put an exception handler:

    begin
    SELECT date_sent as date_sent
    INTO    iDateSent
    FROM    tableX
    WHERE  file_id= 9999
    AND    date_sent BETWEEN sysdate AND date_sent + 1/1440;
    exception when NO_DATA_FOUND then
     iDateSent:=null;
    end;
    

    So what you can do if you don't want the date empty a nvl:

    return(nvl(iDateSent,sysdate));  -- or another date ...
    

    Published by: user11268895 on July 9, 2010 22:09

  • Invalid objects after the upgrade to GR 11, 2

    EBS - 12.1.2
    SLES SP10 - Linux x 86-64

    DB - 11.2.0.3
    zVM/OS

    After our upgrade to 11.2.0.3, I see that the number of invalid objects is passed about 35 to about 92. I ran adadmin to compile the drawing APPS - and there are still some 79.

    What strikes me as strange is that most of the invalid objects is in the scheme applications - and is prefixed with EDW_ or FII_

    This isn't the business environment in the PRODUCTION (yet to be upgraded).

    Is there something that I am missing in the upgrade process?

    What is the importance of the link DB EDW_APPS_TO_WH? This could be the reason why the EDW_ objects are not compiled?

    After our upgrade to 11.2.0.3, I see that the number of invalid objects is passed about 35 to about 92. I ran adadmin to compile the drawing APPS - and there are still some 79.

    What strikes me as strange is that most of the invalid objects is in the scheme applications - and is prefixed with EDW_ or FII_

    This isn't the business environment in the PRODUCTION (yet to be upgraded).

    Is there something that I am missing in the upgrade process?

    What is the importance of the link DB EDW_APPS_TO_WH? This could be the reason why the EDW_ objects are not compiled?

    You must ensure that these database links are valid for disabled to validate objects.

    Invalid objects for Modules EDW and IFI [412032.1 ID]
    EDW Associates invalid objects [554036.1 ID]
    Interoperability note EBS R12 with Database 11 g 2 [ID 1058763.1]

    https://forums.Oracle.com/forums/search.jspa?threadID=&q=EDW+and+invalid&objid=C3&DateRange=all&userid=&NumResults=15&rankBy=10001

    Thank you
    Hussein

  • Bought in video. Cannot download. Says "Licensing for this image are no longer available." Money from account.

    Bought in video. Cannot download. Says "licensing for this image are no longer available. Money from account.

    Hello

    You will need to contact support by calling/chat for this request.

    Contact the customer service

    * Be sure to stay connected with your Adobe ID before accessing the link above *.

    Please see Support FAQ: how to contact Adobe for support?

    Hope that helps!

    Kind regards

    Sheena

  • "Invalid object" visible layer error

    Hi all

    I get the error message "Invalid object" for code below. Please check and suggest me, where is the error occurred in my code.

    myDoc var = app.activeDocument;

    myLayer var = myDoc.layers;

    for (var i = 0; i < myLayer.length; i ++)

    {

    If (myLayer [i] .name == "WEBPDF" & & myLayer [i] .visible == true)

    {

    Try

    {

    myDoc.revert ();

    myLayer [i] .visible = false;

    myDoc.save ();

    }

    {catch (e)}

    Alert (e);

    }

    }

    }

    Hello

    myLayer [i] is no longer valid object after myDoc.revert)

    Change it as below and try:

    var
      myDoc = app.activeDocument,
      myLayer = myDoc.layers.item("WEBPDF");
    
    if(myLayer.isValid && myLayer.visible) {
      myDoc.revert();
      myDoc = app.activeDocument;
      myDoc.layers.item("WEBPDF").visible = false;
      myDoc.save();
      }
    

    Jarek

  • I have an old hard drive with Adobe Photoshop 7 on this subject, I connected it to my computer via usb, when I try to load it says 'Can not complete your request because of missing or invalid personalization information' I paid for this program and I know

    I have an old hard drive with Adobe Photoshop 7 on this subject, I connected it to my computer via usb, when I try to load it says 'Can not complete your request because of missing or invalid personalization information' I paid for this progra

    It is a product obsolette, the server can activate it no more.

    You can use CS2 error: "Activation Server unavailable". CS2, Acrobat 7, Audition 3 downloads & serial number are given.

    Concerning

    Stéphane

  • Firefox has detected that the server redirects the request for this address in a way that will never end.

    This week (01/10/12) I registered on youtube and now I can't log back in here or in my gmail account. I tried every fix-it/single remedy offered the FF forum but nothing works.

    Any other work, all the sites that I frequent load fine, is youtube doing something on purpose for FF users? I can get the page youtube videos and see, but I can't log on, every time I click the sign in button, I get:

    "The page is not redirecting properly".

    Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
    

    This problem can sometimes be caused by disabling or refusing to accept cookies. »

    I hate to be a conspiracy theorist, I can connect to youtube without problem on IE, but I hate this browser. I use windows 7 and 15 FF. Can someone find it?

    Looks like it's a firefox issue, because that never happened on IE, Safari or Opera on me.
    You think not that a simple patch can solve this problem. I have to delete individual cookies every day.

  • I deleted my account on a site I'm going and it keeps saing that Firefox has detected that the server redirects the request for this address in a way that doesn't

    He repeated to me that Firefox has detected that the server redirects the request for this address in a way that will never end.

     This problem can sometimes be caused by disabling or refusing to accept
       cookies.
    

    Have you tried to clear the cache and cookies?

    Clear the cache and cookies from sites that cause problems.

    "Clear the Cache":

    • Tools > Options > advanced > network > content caching Web: 'clear now '.

    'Delete Cookies' sites causing problems:

    • Tools > Options > privacy > Cookies: "show the Cookies".

    See also:

  • Firefox has detected that the server redirects the request for this address in a way that will never end. I followed your instructions and nothing works. This just started happening today.

    I was watching www.ustream.tv/decoraheagles for months. I started using Firefox about a month ago. Earlier today, when I tried connecting to the site, I received the message "Firefox has detected that the server redirects the request for this address in a way that will never end."
    I went on your site and follow the instructions. This Web site was not in the blocked sites. He told me how to add it, and I did.
    She still refuses to open this site.
    Internet Explorer WILL open this site.

    Clear the cache and cookies from sites that cause problems.

    "Clear the Cache":

    • Tools > Options > advanced > network > storage (Cache) offline: 'clear now '.

    'Delete Cookies' sites causing problems:

    • Tools > Options > privacy > Cookies: "show the Cookies".
  • message from Firefox: "page isn't redirecting properly" Firefox has detected that the server redirects the request for this address in a way that will never end. * Why this mess

    "The page isn't redirecting properly?

    i receive this warning on a daily basis. it seems to occur whenever i open a message  in gmail or try to send a message. anybody have a clue about this? thanks!
    

    Firefox has detected that the server redirects the request for this address in a way that will never end.

       *   This problem can sometimes be caused by disabling or refusing to accept
             cookies.
    

    See http://kb.mozillazine.org/The_page_is_not_redirecting_properly

  • Update file is invalid for this architecture?

    Earlier this year, I bought a ReadyNAS NV + (silver body, 4 bays with 2 TB, plan 5.0).
    It is currently running RAIDiator version 4.1.9 build 1.00a043 (Orange and blue FrontView web interface).

    Today, I bought the following.

    Python2.7_2.7.3 - rnsparc - 0.5.1
    SABnzbd_0.6.15 - rnsparc - 0.7.0
    SickBeard_0.485.1 - rnsparc - 0.8.1

    Went to system/update / local. Click on "Choose file". Module ' Python2.7_2.7.3 - rnsparc - 0.5.1 "selected (bin file). Clicked on "download and check the image. Click on 'OK '. Received this error message, "update file is invalid for this architecture".

    What is going on, the processor has been changed? Have I misunderstood the installation process?

    Below are some information that might be relevant.

    -J' did what I can to check the processor, but it seems to be nothing in FrontView or RAIDar that verifies this.
    -I don't have SSH installed because I read somewhere that it invalidates the warranty.
    -J' got this error even some time back, when I tried to manually update RAIDiator.
    -J' just tried a few other modules SPARC and I still get this message.
    -I have no third party add-ons installed.
    -J' have the 'ReadyDLNA"streaming service and"TimeMachine support"lit.
    -I have not tried one of the other architecture because I don't want to lose more money and I don't know that it is SPARC.

    Thanks in advance for any help.

    A tech at ReadyNASXtras (MDGM) solved this problem for me. It turns out that at somepoint, I tried to install PLEX that is not available for SPARC. He failed but was not removed. There was no evidence (apart from this error) FrontView of the residue. Installation failed has confused the script of update/s. The clean tech upward and everything works fine now.

    Problem solved. Thanks MDGM.

    P.S. I just learned by MDGM that a reinstallation of the RAIDiator firmware would have also fixed this.

    Cheers. EkDor

  • Tried to use iTunes to restore iPhone 5s, but the 17 error happens: "this device is not eligible for the requested build". No problem to enter the mode of recovery, apple server and the internet. Help?

    I tried to use iTunes to restore my iPhone 5s, but the 17 error happens: "this device is not eligible for the requested build". No problem to enter the recovery mode, connection to the apple Server (the software update download was complete) and internet connection. Help? I do an Apple store to restore?

    Error 17 refers to network problems. Take a look at these articles and try the suggestions:

    Solve the iOS update and restore error in iTunes - Apple Support

    Get help with iOS update or restore errors - Apple Support

Maybe you are looking for

  • TC in apartments

    I may be moving into an apartment and wanted to know is still possible to use a time capsule in a setting of apartment?

  • App verification after reformat

    Last year I bought my first Macbook and "Scrivener" from the App Store after get the hang of the OS and the app I have reformatted my HDD to clean, install the operating system from scratch.  Now, whenever I run the app, Scrivener he must check onlin

  • REGARDING HP STUDENT OFFER

    Respected Sir / Mam,. I bought a HP Pavilion G6-2320TX model & asked the gift of Rs 2000, given that my dealer had completed the form as I was here physically not present while he had opted for the EXTENSION OF WARRANTY BUT HAD NOT SELECTED ALL REDEM

  • Security_Compliance_Manager_Setup

    Microsoft SQL Server 2008 Express and Microsoft Security Compliance Manager not installing in my machine, which results in the error "this program has problems of compactibility. What can I do? The error message indicates that "Windows server 2008" i

  • Media player playback sonido

    Hola espero me help. Cuando reproduzco mi lista of canciones o solo una cancion,. El sonido is begins a distorsionar y is traba como fuera if a disco rayado. as puedo hacer. I have a net book samsung. Espero respuesta gracias.