"Object is invalid" after three loops

This script is placing objects on pages (in reverse order, as it happens). It works correctly for three pages, then stops and gives me the following error:
Object is invalid
Line: 15
Source: img = doc.pages[pageNo].place(fileList[a]);
I have no clue why, so any help would be very appreciated.
var doc = app.activeDocument;
var totalPages = parseInt(app.activeWindow.activePage.name);
var inFolder = Folder.selectDialog("Please select folder to process");
if(inFolder != null){
var fileList = inFolder.getFiles(/\.(tif)$/i);
for(var a = 0 ;a < fileList.length; a++){
if(fileList[a] instanceof File){
var fileString = fileList[a].name.split("_",1);
var fileNo = parseInt(fileString);
var pageNo = totalPages - fileNo;
img = doc.pages[pageNo].place(fileList[a]);
imgFrame = img[0].parent;
var Bound = imgFrame.geometricBounds;
var h = Bound[2]-Bound[0];
var scalePercent = 7.75/h;
var imgMatrix = app.transformationMatrices.add();
imgMatrix = imgMatrix.scaleMatrix(scalePercent, scalePercent);
if(fileNo[0]%2 == 0){
imgFrame.transform(CoordinateSpaces.PASTEBOARD_COORDINATES,AnchorPoint.topRightAnchor,imgM atrix);
} else {
imgFrame.move(["-.125in", "-.125in"]);
imgFrame.transform(CoordinateSpaces.PASTEBOARD_COORDINATES,AnchorPoint.topLeftAnchor,imgMa trix);

be carefull with var totalPages = parseInt(app.activeWindow.activePage.name);
the pagename can be (for ex.) "MXIV", if you use roman numbering.
use .documentOffset to be on the safe side.

Similar Messages

  • Object Versions invalid after DB actions (table copy)

    Hi all,
    recently I have encountered some weird issues during a little archiving run I'm doing on MM_MATBEL.
    Tables involved:
    IMEXT
    MKPF
    MSEG
    MSEGO1
    MSEGO2
    NAST
    OIAQB
    After the archiving was done I logically went for an online reorg of these tables. This worked for all tables, except for MSEG. The reason was the following:
    BR1962W Table SAPSR3.MSEG has more than 255 columns
    BR1967W Table SAPSR3.MSEG would be implicitly decompressed during reorganization
    BR1111I Reorganization of table SAPSR3.MSEG will be skipped
    So apparently the table had been compressed in the past (when it had less than 255 columns) and now cannot be rebuilt anymore with compression.
    In the following note they mention a workaround/solution:
    http://service.sap.com/sap/support/notes/1872983
    The solution consists of copying the compressed table into a newly created table. After some problems with the script (which will be fixed) and consulting SAP Support I finally succeeded in rebuilding the tables.
    After this rebuild there are numerous dumps (LOAD_FORMAT_ERROR,  DDIC_TYPE_INCONSISTENCY, LOAD_TYPE_VERSION_MISMATCH, etc...) in SAP itself, rendering the system practically unusable.
    One workaround is to manually re-activate the object generating the shortdump, this does solve the issue on that object, but that's it.
    I can hear you think: "Run SGEN, you stupid". Well, I did, and it did not help, or at least not much. It did regenerate some objects, but apparently it's not sufficient.
    To me it seems like some inconsistency in the Dictionary, caused by the tables that were rebuilt. Is there a way that we can regenerate the Data Dictionary of SAP? Or at least fix the DDL inconsistencies?
    The tables that I have recreated using note 1872983 are:
    LIPS
    MSEG
    VBAP
    VBRP
    ZEKPO
    N2CA02
    N2CA03
    N2CA04
    N2CA05
    N2CA09
    PA0008
    PA0146
    PA0701
    PA0706
    PA0764
    PA0897
    PB0008
    T5ITT7
    RSEUMOD
    COMPMOVE
    WDFR_POS
    N3BGF1008
    OIUH_RV_JE
    OIUH_RV_RJE
    TTONFTVZZBEPP
    TLVC_DFT_ASSGN
    If you have any suggestions, I'd love to hear them.
    Thanks in advance
    Dieter Waelkens
    Ps:
    I've found notes
    http://service.sap.com/sap/support/notes/1567187
    http://service.sap.com/sap/support/notes/162991
    I'll analyze them and come back with an update
    Message was edited by: Dieter Waelkens (added notes in the end)

    Hello Dieter,
    Looks like your errors are more related to DDIC problems than program problems, this might be why SGEN could not help.
    Report RUTMSJOB could help, at least to identify if there are inconsistencies, that could be fixed by re-activating the tables.
    Check note  1538932 - RUTMSJOB error with check DDTYPES
    You could also use report RSNTABCONSISTENCY  from note 1167784 - Runtime error DDIC_TYPE_INCONSISTENCY
    Regards
    Options for RUTMSJOB in expert mode.

  • Garbage Collection: how many objects are created after for loop?

    Please see the fallowing java code
    1 public class Test1 {
    2     
    3     public static void main(String[] args) {
    4          
    5          MyObj obj = null;
    6          for(int i=0;i<5;i++){
    7               obj = new MyObj();
    8          }
    9 // do something
    10
    11     }
    12 }
    so my question is How may objects are eligible for garbage collection at line no: 9 (// do something)?

    so my question is How may objects are eligible for
    garbage collection at line no: 9 (// do something)?It's impossible to answer that question since we don't know how MyObj is implemented.
    Kaj

  • After December 2014 update, Compile Error - calling Excel Objects Sub "Object library invalid or contains references to object definitions that could not be found"

    When try to call Sub in Excel Objects > SheetXX after the original xlsm is modified and saved by another user in diff machine, getting an error below and seems Excel cannot identify any subs exists in Sheet.
    Compile error:
    Object library invalid or contains references to object definitions that could not be found
    Note: it seems that this problem has been occurring After December 2014 update and still exists even after applying the fix:
    http://blogs.technet.com/b/the_microsoft_excel_support_team_blog/archive/2014/12/11/forms-controls-stop-working-after-december-2014-updates-.aspx)

    Hi Kwlee324,
    Thanks for sharing the workaround with us. It would be very helpful for others who have the same issue.
    Also I found a two useful links about the error message "Object library invalid or contains references to object definitions that could not be found":
    https://support.microsoft.com/kb/2703186
    http://blogs.msdn.com/b/vsod/archive/2009/06/05/visual-basic-6-controls-stop-working-after-security-advisory-960715.aspx
    Hope it is helpful.
    Regards & Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Object Class Invalid when downloading the pricing procedure from ECC to CRM

    Hi,
    I want to download the pricing procedure for that I have created the ZDNL_CUST_CND which contains only the following tablesT683, T683S, T683T and T683U.
    When I check in R3AM1 status is Red.
    The following Error have been found in SLG1
    •     Object class invalid
    •     Error in inbound data check
    Message no. CND_MAP120
    Diagnosis
    During the receiving inspection, serious errors were found in the consistency of the exchange object.
    System Response
    Data exchange is terminated
    •     Data exchange terminated     
    Message no. CND_MAP122
    Diagnosis
    Data exchange has been terminated due to serious errors. No exchanged data has been posted in the system.
    The following Error has been found in SMQ1
    •     R3AD_CONDITIONS     STOP
    Details of STOP
    Set by Host name: litldq; Transaction: ; Report: SAPMSSY1
    I have checked the connection, everything is perfect.
    What may be the problem?
    Thanks

    Hi,
      Please try to re-generate the adapter object (ZDNL_CUST_CND) services using trx.
    SMOGGEN
    . After this, try re-running the load.
    I assume that your CRM inbound mapping module are correctly coded. If the problem persists, try de-registering the R3AD_CONDITIONS inbound queue using trx.
    SMQR
    and then debugging the inbound queue from the same trx. after re-starting the load.
    Reward if this helps!
    Regards,
    Sudipta.

  • Object is invalid on object.parentStory.characters.item(i+1).fontStyle;

    Hey guys,
    I have an array where I save the contents of a textFrame, where "object" is the textFrame.
    textContent = object.contents;
    Then I have a for loop to loop  through all items. With
    if(i > 0)
    object.parentStory.characters.item(i-1).fontStyle.toString().toLowerCase();
    object.parentStory.characters.item(i).fontStyle.toString().toLowerCase();
    if(i < textContent.length-1)
    object.parentStory.characters.item(i+1).fontStyle.toString().toLowerCase();
    I am getting the previous, current and next styles. It's for xml purposes and with this I can add a "<b>" , "<i>", etc. tag for my objects. The problem occuring now is that on some point, object.parentStory.characters.item(i+1).fontStyle; returns "object is invalid".
    That being said, item(i+1) is valid. If I alert this, it says "object [character]". I tried to use if(object.parentStory.characters.item(i+1).hasOwnProperty('fontStyle')), but it didn't work. I don't know why it throws this error and I couldn't find any solution to this problem on the web.
    Has anybody experienced this?  Here is the complete code(without italic and bold italic):
    function spliceSlice(str, index, count, add) {
      return str.slice(0, index) + (add || "") + str.slice(index + count);
    function checkFontStyle(object){
        textContent = object.contents;
        for(i = 0; i < textContent.length; i++){
            style = object.parentStory.characters.item(i).fontStyle.toString().toLowerCase();
            if(i > 0)
                prevStyle = object.parentStory.characters.item(i-1).fontStyle.toString().toLowerCase();
            if(i < textContent.length - 1){
                nextStyle = object.parentStory.characters.item(i+1).fontStyle.toString().toLowerCase();
            if(style.indexOf('bold') > -1){
                if(prevStyle.indexOf('bold') > -1){
                else if(nextStyle.indexOf('bold') < -1){
                    textContent.spliceSlice(textContent, i, 0, '[/b]');
                else{
                    textContent = spliceSlice(textContent, i, 0, '[b]');
        return textContent;
    The desired behaviour would be, that if the current object has no "fontStyle" it should just skip this iteration.

    be carefull with var totalPages = parseInt(app.activeWindow.activePage.name);
    the pagename can be (for ex.) "MXIV", if you use roman numbering.
    use .documentOffset to be on the safe side.

  • [CS4 - JS]Export stories and "object is invalid" error

    Hello all,
    I need a javascript script that exports all the stories of a document to .icml files.
    At the moment I've come to a function like this:
    function exportICML(myDoc, path) {
            var stories = myDoc.stories;
    for (var i = 0; i < stories.length; i++) {
          alert(i);
          var story = stories.item(i);
          var filename = path + "/story-" + i + ".icml";
          try {
               story.exportFile(ExportFormat.INCOPY_MARKUP, new File(path));
                 } catch (err) {
    alert(err.message);
    This function fails, and in the server log I see this error:
    "Object is invalid"
    What am I doing wrong?
    Thanks.

    Works fine here :S
    var myDoc=app.activeDocument;
    var myPath = Folder.desktop+"/test.icml";
    exportICML(myDoc, myPath);
    try storing theend of loop outside the function and renaming var to avoid DOM names collision.
    function exportICML(myDoc, path) {
            var allStories = myDoc.stories;
    var iMax = allStories.length;
    for (var i = 0; i < iMax; i++) {
          alert(i);
          var myStory = allStories.item(i);
          var filename = path + "/story-" + i + ".icml";
          try {
               myStory.exportFile(ExportFormat.INCOPY_MARKUP, new File(path));
                 } catch (err) {
      alert(err.message);

  • REP-0309: Unable to connect to the specified database after three attempts.

    Hi,
    I am getting the following error in cloned instance when I developed one custom report (rdf) and copied that report into custom top reports folder. and ran that report using custom responsbility.
    that report query is like this
    select user_name,user_id,start_date,end_date from fnd_user.
    simple report...
    ==========================
    Current system time is 30-JUL-2008 11:36:16
    +-----------------------------
    | Starting concurrent program execution...
    +-----------------------------
    Arguments
    USERID='0'
    APPLLCSP Environment Variable set to :
    XML_REPORTS_XENVIRONMENT is :
    /u01/testora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
    XENVIRONMENT is set to: /u01/testora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.UTF8
    Enter Password:
    Enter Password:
    Enter Password:
    REP-0501: Unable to connect to the specified database.
    ORA-01017: invalid username/password; logon denied
    REP-0501: Unable to connect to the specified database.
    ORA-12154: TNS:could not resolve service name
    REP-0501: Unable to connect to the specified database.
    ORA-12154: TNS:could not resolve service name
    REP-0309: Unable to connect to the specified database after three attempts. Access denied.
    Report Builder: Release 6.0.8.25.0 - Production on Wed Jul 30 11:36:16 2008
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    Enter Username: Enter Username:
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Program exited with status 1
    Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 779500.
    Review your concurrent request log and/or report output file for more detailed information.
    Executing request completion options...
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 30-JUL-2008 11:36:17
    =========================================
    what might be the problem...
    I developed the report in 10g Report Builder. and moved to 1.5.10.2 instance... ran that report in my report builder using apps user and..it is running fine in my report builder.

    hi bsubbu
    your password of custom application user schema at database level should be similar with the password at application level
    for instance your custom application schema name and password is xxgis/xxgis , we register this schema at application site by this navigation
    security> oracle > register >database username (xxgis) > password (xxgis)
    here you might have change your custom application user's password at database level using
    alter user xxgis identified by newpassword;
    change this user password at application site also :
    security> oracle > register> database username (xxgis) > password (newpassword)
    i understand this from the document
    Regards
    Message was edited by:
    user608721

  • Objects with invalid references

    hello everybody,
    since 1 month in our PI dev we have a strange situation.
    Inside every SC we see a tree named "objects with invalid references" that inside cointain the Namespace.
    I notify we have this situation after a massive transport from PI prod to PI dev .
    we decide to do this because no more develop are necessary and we decided to sincronizate the 2 systems.
    It's possible remove this ?
    thanks
    Alessandro

    Hi
    Please check if the Prod and Dev SLD is sync and has all the SWC with same configuration.
    Please also check the dependency maintain in Prod and Dev SWC.
    refer the below discussion
    SWCV deleted from SLD accidently
    regards,
    Harish

  • Object library invalid or contains references to object definitions that could not be found problem

    Hello,
    Yesterday I got the following error on the server: "object library invalid or contains references to object definitions that could not be found problem".
    I found this documentation, followed the steps and all was OK on the server:
    http://support.microsoft.com/kb/2703186/en-us
    https://social.msdn.microsoft.com/Forums/office/en-US/e94f2fc3-71f1-4dad-bbf1-37f906e28e8e/object-library-invalid-or-contains-references-to-object-definitions-that-could-not-be-found?forum=exceldev
    Our server is used to do batch processing for refreshing our excel's. This morning, after the excel's got refreshed on the server, I've got this error on the
    client computers (everything works fine on the server computer). I did the steps above on the client computers, but the problem still persists.
    It looks like there is a difference in version between server and client.
    If I do the refreshing on the same computer there is no problem. But when the server does the refreshing and I try to open it on a different computer, I get this error.
    The security update has been removed from the computer, but I can't use my excel's anymore.
    Does any one have some advice for me?
    Best regards,
    Wouter

    Hi Wouter,
    Thanks for the further explaintation.
    According to the description, the issue seems that the Workboook on the client side(with lower Excel version) couldn't run the VBA after it opened by server(higher version Excel application).
    If I understood correctly, that sounds that the issue is relative to the specific version of Excel product or the updates.
    I suggest you contacting Microsoft support to raise an incident so that our engineer could work closely with him to identify the root cause and resolve this issue as soon as possible.
    If the support engineer determines that the issue is the result of a bug the service request will be a no-charge case and you won't be charged.
    Please visit the below link to see the various paid support options that are available to better meet your needs.
    http://support.microsoft.com/default.aspx?id=fh;en-us;offerprophone
    Regards & Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Why objects are invalid?

    Hi all,
    IS there any specificreasons why there are so many objects are invalid....
    [per]
    SQL>
    SQL> select A.Owner Oown,
    2 A.Object_Name Oname,
    3 A.Object_Type Otype,
    4 'Miss Pkg Body' Prob
    5 from DBA_OBJECTS A
    6 where A.Object_Type = 'PACKAGE'
    7 and A.Owner ='data'
    8 and not exists
    9 (select 'x'
    10 from DBA_OBJECTS B
    11 where B.Object_Name = A.Object_Name
    12 and B.Owner = A.Owner
    13 and B.Object_Type = 'PACKAGE BODY')
    14 union
    15 select Owner Oown,
    16 Object_Name Oname,
    17 Object_Type Otype,
    18 'Invalid Obj' Prob
    19 from DBA_OBJECTS
    20 where Object_Type in
    21 ('PROCEDURE','PACKAGE','FUNCTION','TRIGGER','PACKAGE BODY','VIEW')
    22 and Owner ='data'
    23 and Status != 'VALID'
    24 order by 1,4,3,2
    25 /
    data
    CHK_CURR_CORR_REG_ART_CO_DEEP
    FUNCTION Invalid Obj
    data
    FN_CHK_MAIN_ACT
    FUNCTION Invalid Obj
    data
    F_GET_FC_OPBAL
    FUNCTION Invalid Obj
    data
    F_GET_LC_OPBAL
    FUNCTION Invalid Obj
    data
    F_GET_MAIN_FC_OPBAL
    FUNCTION Invalid Obj
    data
    F_GET_MAIN_LC_OPBAL_DIV_1
    FUNCTION Invalid Obj
    data
    F_GET_MAIN_LC_OPBAL_DIV_DEPT
    FUNCTION Invalid Obj
    data
    F_GET_SUB_FC_OPBAL
    FUNCTION Invalid Obj
    data
    F_GET_SUB_LC_OPBAL
    FUNCTION Invalid Obj
    data
    ODB_CHK_COMB_FIRM
    FUNCTION Invalid Obj
    data
    O_DGET_JOB_AUTO_CSV_STS_AUTO
    FUNCTION Invalid Obj
    data
    O_DGET_JOB_CSV_STATUS
    FUNCTION Invalid Obj
    data
    O_GET_SRN_APPL_DT
    FUNCTION Invalid Obj
    data
    O_GET_SRN_CCT_REG_DT
    FUNCTION Invalid Obj
    data
    O_GET_SRN_NAME1
    FUNCTION Invalid Obj
    data
    O_GET_SRN_PAID_FEES
    FUNCTION Invalid Obj
    data
    REM_TEST
    FUNCTION Invalid Obj
    data
    SAR_TEST_FUNC
    FUNCTION Invalid Obj
    data
    CUSTOMER_UPDATE
    PACKAGE Invalid Obj
    data
    OVERLOAD_EG
    PACKAGE Invalid Obj
    data
    PACK1
    PACKAGE Invalid Obj
    data
    PDM_STUD_REFUND_PECS
    PROCEDURE Invalid Obj
    data
    PDM_STUD_REFUND_TCS
    PROCEDURE Invalid Obj
    data
    PDM_STUD_REG_CCT
    PROCEDURE Invalid Obj
    data
    PDM_STUD_REG_FND
    PROCEDURE Invalid Obj
    data
    PDM_STUD_REG_INT
    PROCEDURE Invalid Obj
    data
    PDM_STUD_REG_INT_DUMMY
    PROCEDURE Invalid Obj
    data
    PDM_STUD_REG_INT_DUP_FND_NO
    PROCEDURE Invalid Obj
    data
    PDM_STUD_REG_PE2ART
    PROCEDURE Invalid Obj
    data
    PDM_STUD_REG_PE2ART_RAGHU
    PROCEDURE Invalid Obj
    data
    PDM_STUD_REG_PEI
    PROCEDURE Invalid Obj
    data
    PDM_STUD_REG_PEII
    PROCEDURE Invalid Obj
    data
    ODBTRG101_ITEM
    TRIGGER Invalid Obj
    data
    ODBTRG103_REF
    TRIGGER Invalid Obj
    data
    ODBTRG437_AAT_ACVT_UPT_DAK
    TRIGGER Invalid Obj
    data
    ODBTRG437_AFCD
    TRIGGER Invalid Obj
    data
    ODBTRG437_AFCD_01
    TRIGGER Invalid Obj
    data
    ODBTRG437_AR
    TRIGGER Invalid Obj
    data
    ODBTRG437_BIN
    TRIGGER Invalid Obj
    data
    OV_MEM_FEE_CHK
    VIEW Invalid Obj
    data
    A_DUMMY
    PACKAGE Miss Pkg Body
    data
    CUSTOMER_UPDATE
    PACKAGE Miss Pkg Body
    data
    DBMS_LOCK
    PACKAGE Miss Pkg Body
    data
    ORNDBPKG_ART_FEE_COLL
    PACKAGE Miss Pkg Body
    data
    OVERLOAD_EG
    PACKAGE Miss Pkg Body
    data
    PACK1
    PACKAGE Miss Pkg Body
    data
    PKS
    PACKAGE Miss Pkg Body
    data
    RECEIPT_NO_VARIABLE
    PACKAGE Miss Pkg Body
    data
    STAGE_PACK
    PACKAGE Miss Pkg Body
    SQL> spool off

    SET SERVEROUTPUT ON;
    SET LINESIZE 1000;
    DECLARE
         || Cursor to all Object types in All_Objects belonging to the current user.
         CURSOR Cur_Object_Types
         IS
         SELECT DISTINCT Object_Type
           FROM All_Objects
          WHERE Owner = User;
         || Select the Invalid objects for the given object type.
         CURSOR Cur_Invalid_Objects(
              p_Object_Type     IN All_Objects.Object_Type%TYPE
         IS
         SELECT Object_Name, Status      
           FROM All_Objects
          WHERE Object_Type = p_Object_Type
            AND Status <> 'VALID'
            AND Owner = User;
         || Cursor to select the status of function based indexes.
         CURSOR Cur_FuncIdx
         IS
         SELECT Index_Name, FuncIdx_Status
           FROM User_Indexes
          WHERE FuncIdx_Status <> 'ENABLED';
         || Select all public synonyms created for current user object for
         || which underlying objects does not exists.
         CURSOR Cur_Synonyms
         IS
         SELECT Synonym_Name
               FROM All_Synonyms
          WHERE Owner = 'PUBLIC'
            AND Table_Owner = User
            AND Synonym_Name NOT IN (SELECT Object_Name
                                 FROM User_Objects);
         ln_LoopCnt     NUMBER;
         ln_TabIdxCnt     NUMBER;
         lv_Object_Type     VARCHAR2(100);
         lv_Object_Name     VARCHAR2(100);
         lv_Status     VARCHAR2(100);
         TYPE IObj_Type
         IS
         RECORD (Object_Type     VARCHAR2(100)
                ,Object_Name     VARCHAR2(100)
                ,Status          VARCHAR2(100)
         TYPE IObj_Tab_Type
         IS
         TABLE OF IObj_Type;
         IObj_Table      IObj_Tab_Type;
    BEGIN
         DBMS_OUTPUT.DISABLE;
         DBMS_OUTPUT.ENABLE(999999999999);
         DBMS_OUTPUT.PUT_LINE(CHR(10));
         IObj_Table   := IObj_Tab_Type();
         ln_TabIdxCnt := 0;
         FOR I IN Cur_Object_Types
         LOOP
                ln_LoopCnt := 0;
              FOR J IN Cur_Invalid_Objects(I.Object_Type)
              LOOP
                   ln_TabIdxCnt := ln_TabIdxCnt + 1;
                   ln_LoopCnt   := ln_LoopCnt + 1;          
                   IObj_Table.Extend;
                   IObj_Table(ln_TabIdxCnt).Object_Type := I.Object_Type;
                   IObj_Table(ln_TabIdxCnt).Object_Name := J.Object_Name;
                   IObj_Table(ln_TabIdxCnt).Status      := J.Status;
              END LOOP;
         IF ln_LoopCnt = 0 THEN
              ln_TabIdxCnt := ln_TabIdxCnt + 1;
              IObj_Table.Extend;
              IObj_Table(ln_TabIdxCnt).Object_Type := I.Object_Type;
              IObj_Table(ln_TabIdxCnt).Object_Name := ' ';
              IObj_Table(ln_TabIdxCnt).Status      := 'NONE';
         END IF;
         END LOOP;
         ln_LoopCnt := 0;
         FOR K IN Cur_FuncIdx
         LOOP
              ln_TabIdxCnt := ln_TabIdxCnt + 1;
              ln_LoopCnt   := ln_LoopCnt + 1;          
              IObj_Table.Extend;
              IObj_Table(ln_TabIdxCnt).Object_Type := 'FUNCTION BASED INDEX';
              IObj_Table(ln_TabIdxCnt).Object_Name := K.Index_Name;
              IObj_Table(ln_TabIdxCnt).Status      := K.FuncIdx_Status;
         END LOOP;
         IF ln_LoopCnt = 0 THEN
              ln_TabIdxCnt := ln_TabIdxCnt + 1;
              IObj_Table.Extend;
              IObj_Table(ln_TabIdxCnt).Object_Type := 'FUNCTION BASED INDEX';
              IObj_Table(ln_TabIdxCnt).Object_Name := ' ';
              IObj_Table(ln_TabIdxCnt).Status      := 'NONE';
         END IF;     
         ln_LoopCnt := 0;
         FOR L IN Cur_Synonyms
         LOOP
              ln_TabIdxCnt := ln_TabIdxCnt + 1;
              ln_LoopCnt   := ln_LoopCnt + 1;          
              IObj_Table.Extend;
              IObj_Table(ln_TabIdxCnt).Object_Type := 'PUBLIC SYNONYM WITHOUT UNDELYING OBJECT IN SCHEMA '||USER;
              IObj_Table(ln_TabIdxCnt).Object_Name := L.Synonym_Name;
              IObj_Table(ln_TabIdxCnt).Status      := 'UNDERLYING OBJECT NOT FOUND';
         END LOOP;
         IF ln_LoopCnt = 0 THEN
              ln_TabIdxCnt := ln_TabIdxCnt + 1;
              IObj_Table.Extend;
              IObj_Table(ln_TabIdxCnt).Object_Type := 'PUBLIC SYNONYM WITHOUT UNDELYING OBJECT IN SCHEMA '||USER;
              IObj_Table(ln_TabIdxCnt).Object_Name := ' ';
              IObj_Table(ln_TabIdxCnt).Status      := 'NONE';
         END IF;          
         IF IObj_Table.COUNT > 0 THEN
              FOR I IN 1..IObj_Table.COUNT
              LOOP
              lv_Object_Type     := IObj_Table(I).Object_Type;     
              lv_Object_Name     := IObj_Table(I).Object_Name;     
              lv_Status     := IObj_Table(I).Status;
                   IF I = 1 THEN
                        DBMS_OUTPUT.PUT_LINE('+-----------------------------------------------------------------------------------------------------------------------------+');
                        DBMS_OUTPUT.PUT_LINE(RPAD('|                                               LIST OF INVALID OBJECTS',134,' ')||'|');
                        DBMS_OUTPUT.PUT_LINE('|-----------------------------------------------------------------------------------------------------------------------------|');
                        DBMS_OUTPUT.PUT_LINE(RPAD('|                   OBJECT TYPE                              |               OBJECT NAME        |               STATUS',134,' ')||'|');
                        DBMS_OUTPUT.PUT_LINE('|-----------------------------------------------------------------------------------------------------------------------------|');
                   END IF;
                   DBMS_OUTPUT.PUT_LINE('| '||RPAD(lv_Object_Type,59,' ')||'| '||RPAD(lv_Object_Name,32,' ')||' | '||RPAD(lv_Status,28,' ')||'|');
              END LOOP;
              DBMS_OUTPUT.PUT_LINE('|-----------------------------------------------------------------------------------------------------------------------------|');
         ELSE
              DBMS_OUTPUT.PUT_LINE('THERE ARE NO INVALID OBJECTS IN SCHEMA '||USER||'.');
         END IF;
         DBMS_OUTPUT.PUT_LINE(RPAD('| NOTE: ',134,' ')||'|');
         DBMS_OUTPUT.PUT_LINE(RPAD('|      If you find any object in status INVALID / DISABLED / UNDERLYING OBJECT NOT FOUND, then ',134,' ')||'|');
         DBMS_OUTPUT.PUT_LINE(RPAD('|      execute the procedure RECOMPILE_INVALID_OBJECTS to fix the same.',134,' ')||'|');
         DBMS_OUTPUT.PUT_LINE('+-----------------------------------------------------------------------------------------------------------------------------+');
    END;
    [\pre]
    HTH..                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Receiving "The HR object is invalid" error in OSB

    Our HR person is encountering "The HR object is invalid" error after entering employee name while navigating to the non-flex form in OSB. She was unable to datetrack back to 4/10/10 and enter a change to the employee's enrollment, but was able to enter it using sysdate (5/14/10 at the time of entry). She really needs to enter it on 4/10 however, since the employee had a promotion to director level at that time and benefit eligibility changed as of that date. After receiving the error, the enrollment data does not display. Only option is to back out of the form. Any help would be appreciated.

    Hi,
    What is the applcation release?
    Please see if these documents help.
    Note: 335807.1 - 'HR Object Invalid' Error When Creating Enrollment In Non Flex Enrollment Form
    Note: 259335.1 - Saving Enrollment Changes Results in Error APP-PAY-07155
    Note: 338662.1 - APP-PAY-7155: The HR Object Is Invalid Error When Backing Out Of A Life Event
    Note: 462780.1 - Error In Updating FSA Amount Within Open Enrollment Period
    Thanks,
    Hussein

  • When an Object got invalid?

    Hi All,
    Is there any way to findout when(date / time) an object got invalid, as the LAST_DDL_TIME and TIMESTAMP columns of the DBA_OBJECTS do not change if the parent object gets affected and child become invalid right?

    Enfact I want to know at what time an object became INVALID,
    there are 2 n more DBA's applying the Script for the Database, One is working on an assignment to remove the unwanted Objected from DB and the other is working on normal development , now both executed their script which invalidated around 200 Objects, I want to know Invalid objects by each action (Cleanup or Development action) As I am aware of the time the statements were executed, one way to get the list, is to revert the changes and work pro-activly, but it would be very easy for me if I group the list of objects invalidated by the time.otherwise I would have to get the list of all objects before and after every action activity, which is frequent
    Thanks

  • Backup causing issues... media object is invalide

    I posted another question in the Destop Software section, but here's the story.
    I had to install a new hard drive in my computer.  Reistalled Win7 etc.
    Reinstalled BB Desktop Manager.
    Backed up my 9800.
    After today's back up, my BBM contacts were deleted.  I posted this in the other thread.
    Now I have also discovered that I cannot send images to BBM contacts.  I took a picture, and could not send it.  I get a warning message that says "The media object is invalid' 
    What is going on with my BBM?

    Hi bbjohnm
               I have no clue why your Contacts are wiped during a device backup, But if we do a Backup of your device it will not delete any Contact list unless we do something wrong.
    If you are using BBM prior to ver. 7 then it does allow a local backup , you can backup your contacts on your media card . So when you open BBM > Press Menu key > Options > Scroll to Backup or Restore , > You can restore if you are using that option to backup locally.
    Regarding your issue with sending Images through BBM, Are you unable to send Images or that Send Option is not available . Related to the error that you are getting while sending Images :
    KB28033 :  "Media object is invalid" error when trying to send picture to a BlackBerry Messenger contact.
              Try this KB and see if that help in resolving your issue or do a local backup of your BBM Contact that you have currently, then try Updating to BBM6.2 , TO do that from your BlackBerry browser browse to or Click here
     http://mobileapps.blackberry.com/devicesoftware/entry.do?code=bbm6 to download BBM6.2 
    So please try it and let us know of your progress.You can also Update to BBM 7 if you want .
    Click " Like " if you want to Thank someone.
    If Problem Resolves mark the post(s) as " Solution ", so that other can make use of it.

  • Error message when I try to convert pdf to excel, after three attempts I could only convert one file.

    Error message when I try to convert pdf to excel, after three attempts I could only convert one file.

    Hi pdf to excel,
    What is the error that you're receiving when you try to convert? Is it the "Conversion Failure" message? Can you tell me more about the files you're unable to convert? What application created the PDFs? Are there many pages in these these files, or a complex mix of text and graphics?
    It'll also be helpful to know whether you're converting via the ExportPDF website (and what browser you're using), or through Adobe Reader.
    I look forward to hearing back from you, so we can get to the bottom of this!
    Best,
    Sara

Maybe you are looking for

  • Hard drive unreadable after Security update

    I installed the latest security update on my intel imac today and upon restart received the question mark folder icon. When restarting from the disc, it will not let me even verify the drive. AppleCare was unable to help. Any ideas? Is it just dead?

  • Lightning to SD Card adaptor iPad Mini problem

    Hi! I have recently bought an SD card adaptor (original) to use with my standard SD cards (4-32GBs). The photos on the memory cards are taken with my Nikon D7000 and then directly put into the adaptor for the iPad. I know that it´s supposed to pop up

  • Performance Appraisal documents display on portal

    Hi All I am working on PMS in EHP 6 environment. We have implemented column layout configuration for documents. My query is in the attached screen shot , how can we reduce the blank space between two columns. Also , is there any way to increase the w

  • Production issue in BI

    Hi Gurus, Previously i was having dso, with 3 chars and 2 kfs, now i have added 1 more char in ecc. and it is working fine. after moving to production, what i need to do for previous data. for that field. Regards, Ranganath.

  • 10.4.9 And Firmware ?

    Just a quick question, does the .9 update contain a firmware update ? Regards Ronni