Problems with objects

Hi all,
I am working with JAVA, My questuin is that : Let us say A and B are two classes and
in class A i created object for class B with new operator, and we have another class called C in this class i created object for class A, after implementation of my business logic in class C, i put class A object to NULL, so here we are removing reference to calss A object, now here does the GC cleans up the memory space of both class A and B or only class A. Cn any one clear my doubt please.

If B and C are only referred to by A, then both will be eligible for garbage collection when A is no longer reachable.
%

Similar Messages

  • Problem with object view with primary-key based object identifier

    Hello!
    I met such problem.
    t1 is persinstent-capable class:
    class t1 : public PObject { .... };
    T1OV is object view, based on object table T1OT
    I1 is primary key of the table T1OT.
    Next code:
    t1* t = new (conn, "T1OV") t1(...);
    conn->commit();
    try
    t->markDelete();
    conn->commit(); // exception throws here
    Works fine if T1OV defined as:
    create view t1ov of t1 with object identifier default
    as select * from t1ot;
    And throws an exception
    "ORA-22883: object deletion failed"
    if:
    create view t1ov of t1 with object identifier (I1)
    as select * from t1ot;
    Such problem also occurs when object view is based on relational table/view (OID is primary-key based).
    Also it occurs when
    t->markModified() used insted of t->markDelete()
    I am using Oracle 9i second release for windows and
    MS VC++
    Thank You

    http://download-uk.oracle.com/docs/cd/B10501_01/server.920/a96540/statements_85a.htm#2065512
    You can specify constraints on views and object views. You define the constraint at the view level using the out_of_line_constraint clause. You define the constraint as part of column or attribute specification using the inline_constraint clause after the appropriate alias.
    Oracle does not enforce view constraints. However, operations on views are subject to the integrity constraints defined on the underlying base tables. This means that you can enforce constraints on views through constraints on base tables.
    Restrictions on View Constraints
    View constraints are a subset of table constraints and are subject to the following restrictions:
    You can specify only unique, primary key, and foreign key constraints on views. However, you can define the view using the WITH CHECK OPTION clause, which is equivalent to specifying a check constraint for the view.
    Because view constraints are not enforced directly, you cannot specify INITIALLY DEFERRED or DEFERRABLE.
    View constraints are supported only in DISABLE NOVALIDATE mode. You must specify the keywords DISABLE NOVALIDATE when you declare the view constraint, and you cannot specify any other mode.
    You cannot specify the using_index_clause, the exceptions_clause clause, or the ON DELETE clause of the references_clause.
    You cannot define view constraints on attributes of an object column.
    Rgds.

  • Problem with Object removal...

    Greetings,
    In a game I'm working on, I have two levels so far. Level0 is the menu, Level1 is the first game level. I wrote a custom class that calls lots of other custom classes to manage all the MovieClips (and their children, and operate on global variables) on Level 1:
    var level1:Level1 = new Level1(player,bkg1,wayback1,waywayback1,player.frontLeg,player.backLeg,player.barrel);
    Getting into Level1 works fine and with a SHIFT-M you can remove all the Level1 MovieClips from the display list and get back to the menu.
    The problem is that when I go back to Level1 from the menu after having been on Level1 once already, it is clear from the way the MovieClips are behaving that they are now being acted on by a second 'level1' object. If I go back a third time, the MovieClips are acted on by a third 'level1' object, etc.
    I've been reading threads, and then seem to be saying that I need to remove all references to this object and then it will be garbage collected.  I'm removing all the MovieClips the 'Level1' class operates on, what else do I need to do to get rid of it?
    Thanks,
    Jeremy

    HI,
    i've set up a mail domain "domain.com.pl" and then
    using delgated admin web acces i've removed that
    domain. The problem is that i'm not able to recreate
    it back. I still have got the message: "Entry or
    value already exists"
    Any clue?
    delegated admin just marks the domain as deleted
    you need to run the imadmin domain purge command to
    actually delete the domain info from the directory
    for more, see:
    http://docs.sun.com/source/816-6020-10/da_cmds.htm#14694
    Peter
    Ps: situation is the same when you delete a user, imadmin user purge should be run to actually remove the user from the directory

  • Problem with object state...

    Hi guys
    So I have this grid with 25 pictures.
    And I would like to use each of these pictures as a button. This button will trigger a frame with text in the center of the grid, like so :
    The X close the text frame and the user go back to the grid.
    But, I have 2 problems. I can mak a object state of the text frame and the button triggers one state (open/close for exemple) and it work. But if I click on the second square without closing the first text frame, the text frame linked to the first square is still there, underneath...
    Is there a way to 1 : a click triggers the texte square link to it AND close all the other
    Or is there an easier way to do it without object state?
    Thanks

    You have the grid of pics as your background. Then buld a state for each photo/description.
    If you have have 16 pictures  you'd build 16 different states for them. Combine them all into one MSO.
    You'll need to put the buttons into each state to make it work and you'll need one state with only the buttons with no fill or stroke over the background grid.
    You'll need to experiment to decide if you want the buttons to be live for all of the images in each state. It's lots of buttons and there's no automated way to do it, but it works well and avoids the problem that you're having now.
    Bob

  • Problem with Object returning previously set values, not current vlaues

    Please help if you can. I can send the full code directly to people if they wish.
    My problem is I enter title details for a book via an AWT GUI. When the user clicks the OK button it should display a new screen with the values just entered by the user. I added debug lines and found that the newInstance method has the values I set and the setObject created an object that was not null.
    However the first time you submit the details when it tries to get the object to display them back to the user it is null. However when you try and enter the details for a second time it will display the details entered on your first entry. Likewise if you went to enter a third title and put blank details in it would display the second set of details back to the user when they click OK.
    I'm very confused as to how it when I fetch an object I've just set it is out of step and points to previous values or null when used for the first time.
    Right onto the code.
    ----Shop.class - contains
    public static Object
    getObject()
    if ( save_ == null)
    System.out.println("Return save_ but it is null");
    return save_;
    public static void
    setObject( Object save )
    save_ = save;
    if ( save == null)
    System.out.println("Just taken save but it is null");
    if ( save_ == null)
    System.out.println("Just set save_ but it is null");
    ----AddTitlePanel.class contains
    private void okButtonActionPerformed(ActionEvent evt)
    ConfirmAddTitlePanel confirmAddTitlePanel =
    new ConfirmAddTitlePanel();
    // Gets the textField values here
    model.Title mss = model.Title.newInstance( fullISBN,
    ISBN,
    title,
    author,
    copiesInStock,
    price );
    model.Shop.setObject( mss );
    // Fetch reference to Graphical so buttons can use it to
    // display panels
    graph = model.Shop.getGraphical();
    graph.display( confirmAddTitlePanel );
    This creates a newInstance of Title and creates a copy using setObject when the user clicks on "OK" button. It also calls the ConfirmAddTitlePanel.class to display the details back to the user.
    ----ConfirmAddTitlePanel.class contains:
    private void
    setValues() throws NullPointerException
    model.Title mss = (model.Title) model.Shop.getObject();
    if ( mss != null )
    model.Field[] titleDetails = mss.getFullDetails();
    //model.Field[] titleDetails = model.Title.getFullDetails();
    fullISBNTextField.setText( titleDetails[0].asString() );
    //ISBNTextField.setText( titleDetails[1].asString() );
    titleTextField.setText( titleDetails[2].asString() );
    authorTextField.setText( titleDetails[3].asString() );
    copiesInStockTextField.setText( titleDetails[4].asString() );
    priceTextField.setText( titleDetails[5].asString() );
    else
    System.out.println( "\nMSS = null" );
    This is getting the Object back that we just set and fetching its details to display to the user by populating the TextFields.
    As I say first time you enter the details and click OK it displays the above panel and outputs "MSS = null" and cannot populate the fields. When you enter the next set of title details and click "OK" getObject is no longer setting mss to null but the values fetched to set the TextFields is the data entered for the first title and not the details just entered.
    ----Title.class contains:
    public static Title
    newInstance( String fullISBN,
    String ISBN,
    String title,
    String author,
    int copiesInStock,
    int price )
    Title atitle = new Title( fullISBN,
    ISBN,
    title,
    author,
    copiesInStock,
    price );
    System.out.println("Created new object instance Title\n");
    System.out.println( "FullISBN = " + getFullISBN() );
    System.out.println( "ISBN = " + getISBN() );
    System.out.println( "Title = " + getTitle() );
    System.out.println( "Author = " + getAuthor() );
    System.out.println( "Copies = " + getCopiesInStock() );
    System.out.println( "Price = " + getPrice() );
    return atitle;
    I'm really stuck and if I solve this I should hopefully be able to make progress again. I've spent a day and a half on it and I really need some help. Thanks in advance.
    Mark.

    Hi Mark:
    Have a look of the method okButtonActionPerformed:
            private void okButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_okButtonActionPerformed
             // if you create the confirmAddTitlePanel here, the value of
             // Shop.save_ is null at this moment (first time), becaouse you
             // call the methode setValues() in the constructor, bevore you've
             // called the method Shop.setObject(..), which has to initialize
             // the variable Shop.save_!!!
             // I think, you have to create confirmAddTitlePanel after call of
             // method Shop.setObject(...)!
             // ConfirmAddTitlePanel confirmAddTitlePanel = new ConfirmAddTitlePanel();
            ConfirmAddTitlePanel confirmAddTitlePanel = null;
            String fullISBN            = fullISBNTextField.getText();
            String ISBN                = "Test String";
            String title               = titleTextField.getText();
            String author              = authorTextField.getText();
            String copiesInStockString = copiesInStockTextField.getText();
            String priceString         = priceTextField.getText();
            int copiesInStock          = 0;
            int price                  = 0;
            try
                copiesInStock = Integer.parseInt( copiesInStockString );
            catch ( NumberFormatException e )
                // replace with error output, place in status bar or pop-up dialog
                // move focus to copies field
            try
               price = Integer.parseInt( priceString );
            catch ( NumberFormatException e )
                // replace with error output, place in status bar or pop-up dialog
                // move focus to price field
            model.Title mss = model.Title.newInstance( fullISBN,
                                     ISBN,
                                     title,
                                     author,
                                     copiesInStock,
                                     price );
            model.Shop.setObject( mss );
            // ---------- now, the Shop.save_ has the value != null ----------        
            confirmAddTitlePanel = new ConfirmAddTitlePanel();     
            // Fetch reference to Graphical so buttons can use it to
            // display panels
            graph = model.Shop.getGraphical();
            graph.display( confirmAddTitlePanel );
        }//GEN-LAST:event_okButtonActionPerformedI hope, I have understund your program-logic corectly and it will help you.
    Best Regards.

  • Problem with objective-c troubleShooting

    Hi there,
    i'm all new to mac & iOS developement and am getting startet by working throught what appeared to be a great book "Einstieg in Objective-C 2.0 and Cocoa inkl iPhone programming".
    what im doing right now is creating an Weblog App for the iPhone by following stepBy step coding and interface instructions by this book.
    problem: everything seems to work just fine, i can compile and everything. but one funktion does not work which is creating a new article.
    the errorcode looks like that:
    +2011-01-25 14:59:28.775 WeblogClientTouch[12682:207] Fehler beim Anlegen eines neuen Artikels+
    and is produced by an NSLog:
    if (![managedObjectContext save:&error]) {
    NSLog(@"Fehler beim Anlegen eines neuen Artikels");
    so apparently the saving of a new entity 'article' does not work. here some code snippets that might help, first the function that creates a new article in which the error occurs:
    - (IBAction)neuerArtikel
    //erzeuge artikel
    NSEntityDescription *artikelDescription = [[fetchedResultsController fetchRequest]entity];
    NSManagedObject *newArtikel = [NSEntityDescription insertNewObjectForEntityForName:[artikelDescription name]
    inManagedObjectContext:managedObjectContext];
    //befülle artikel mit standardwerten
    [newArtikel setValue:NSLocalizedString(@"Neuer Artikel", nil)
    forKey:@"titel"];
    [newArtikel setValue:[NSDate date] forKey:@"datum"];
    [newArtikel setValue:@"Markus" forKey:@"autor"];
    //speichere artikel
    NSError *error;
    if (![managedObjectContext save:&error]) {
    NSLog(@"Fehler beim Anlegen eines neuen Artikels");
    //Tableview aktualisieren
    [self.tableView reloadData];
    in my datamodel i have only one entity named "Artikel" with the attributes: autor, titel, datum, inhalt.
    i would be very glad about some tips, because i've been trying to solve the problem for nearly 3 hours now and i dont think it can be that tricky..
    Message was edited by: sfluecki
    Message was edited by: sfluecki

    allRight.
    i got it working so far that there's no more errors.
    --> i can now klick on 'new article' without any errors, but my tableView does not show the new allocated articles
    --> after i restart the app (rebuild, reRun in simulator) the previously added articles are showing in the tableView.
    --> somehow my tableView does just update itself whilst starting the app.
    in the end of the 'addNewArticle' function i have the following:
    [self.tableView reloadData];
    the tableView itself is defined by the following:
    - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
    NSArray *sections = [fetchedResultsController sections];
    NSUInteger count = 0;
    if ([sections count]) {
    id <NSFetchedResultsSectionInfo> sectionInfo = [sections objectAtIndex:section];
    count = [sectionInfo numberOfObjects];
    return count;
    and
    - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
    static NSString *CellIdentifier = @"Cell";
    //Zelle aus dem Cache holen oder erzeugen wenn nicht orhanden
    UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
    if (cell == nil) {
    cell = [[[UITableViewCell alloc]initWithStyle:UITableViewCellStyleSubtitle
    reuseIdentifier:CellIdentifier] autorelease];
    NSManagedObject *artikel = [fetchedResultsController objectAtIndexPath:indexPath];
    //Titel als haupttext der zelle
    cell.textLabel.text= [artikel valueForKey:@"titel"];
    cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator;
    //Autor und Name als Detailtext der Zelle
    NSDateFormatter *dateFormatter = [NSDateFormatter new];
    [dateFormatter setDateStyle:NSDateFormatterMediumStyle];
    NSString *dateString = [dateFormatter stringFromDate:[artikel valueForKey:@"datum"]];
    cell.detailTextLabel.text = [NSString stringWithFormat:NSLocalizedString(@"%@ am %@",nil), [artikel valueForKey:@"autor"], dateString];
    [dateFormatter release];
    return cell;
    whilst the function fetchedResultsController looks like this.
    - (NSFetchedResultsController *)fetchedResultsController
    if (fetchedResultsController != nil)
    return fetchedResultsController;
    //FetchRequest initialisieren
    NSFetchRequest *fetchedRequest = [NSFetchRequest new];
    NSEntityDescription *artikelDescription = [NSEntityDescription entityForName:@"Artikel"
    inManagedObjectContext:managedObjectContext];
    [fetchedRequest setEntity:artikelDescription];
    NSSortDescriptor *sortDescriptor = [[NSSortDescriptor alloc]initWithKey:@"datum" ascending:NO];
    NSArray *sortDescriptors = [[NSArray alloc]initWithObjects:sortDescriptor, nil];
    [fetchedRequest setSortDescriptors:sortDescriptors];
    //FetchedResultsController initialisieren
    fetchedResultsController = [[NSFetchedResultsController alloc]initWithFetchRequest:fetchedRequest
    managedObjectContext:managedObjectContext
    sectionNameKeyPath:nil
    cacheName:@"Overview" ];
    fetchedResultsController.delegate = self;
    //aufräumen
    [fetchedRequest release];
    [sortDescriptor release];
    [sortDescriptors release];
    return fetchedResultsController;
    i'm sorry to bother you with that lot of code.. but i'm stuck here since now 8h,
    and wouldnt probably be any step further without your help in the first place,
    so thanks a lot for the first inputs =)

  • Image scaling problem with object handles

    Hi,
    I am facing scaling problem.I am using custom actionscript component called editImage.EditImage consists imageHolder a flexsprite which holds
    image.Edit Image component is uing object handles to resize the image.I am applying mask to the base image which is loaded into imageholder.
    My requirement is when I scale the editImage only the mask image should be scaled not the base image.To achieve this I am using Invert matix .With this
    the base image is not scaled but it  is zoomed to its original size.But the base image should not zoomed and it should fit to the imageholder size always. When I scale the editImage only the mask image should scale.How to solve this.Please help .
    With thanks,
    Srinivas

    Hi Viki,
    I am scaling the mask image which is attached to imageHolder.When i  scale
    the image both the images are scaled.
    If u have time to find the below link:
    http://fainducomponents.s3.amazonaws.com/EditImageExample03.html
    u work with this component by masking the editImage.If u find any solution
    for scale only mask ,plz share the same.
    thanks,
    Srinivas

  • ExternalInterface.call problem with object-orientation

    Hi
    I am using an swf inside a PDF. In a PDF-context the ExternalInterface-class works much the same as it does within a website. So far calling a function in the document-script works.
    The thing now is, that I really try to use an object-oriented approach as often as I can. In this case I have a function I could call using
    var jsCaller:Object = ExternalInterface.call("myFunction",parameters);
    This works as expected.
    However, I have now made that function a method in an object, so I can access it within JS using dot-notation: myCoolObject.myFunction(); This works as well, so the problem is not the function itself. However, the call
    var jsCaller:Object = ExternalInterface.call("myCoolObject.myFunction",parameters);
    does not work.
    This means there's either something I'm missing, or it's a limitation of ExternalInterface, or it's a limitation of externalInterface in a pdf-context.
    Anyone to enlighten me?

    If EI calls eval it should be able to resolve the object-path. However, this doesn't seem to be the case. Also note that my parameter is an array, so this probably wouldn't work, even if the syntax did.
    Anyway, I tested your syntax in my PDF, and it showed the same behaviour as before (i.e. the function in which the EI-call was placed could not be executed, and acrobat claimed there was no such function). It didn't work with my normal function, and not even with a simple console.println-statement that way. So in PDFs it definitely doesn't work like that.
    But thanks for the suggestion!

  • Problem with object Library

    Hi
    I created object library containing some Objects and property classes.While implementation of the objects(using smart class) and property class (using property palette) to canvas or LOV,some properties not appeared to be inherited after applying smart class or property class.
    These are specially BG color and FG color.But it is working fine with some object and not working with some others.
    Can any body help me in figure out the problem.
    I am using Form builder 10g.
    Thanks in advance
    Mandeep

    i did not mean the ruler and the grid.
    There is a "forms property" called Coordinate System.
    You find it under the physical node in the property palette of your form module.
    What is the Coordinate System and important, what is the Real unit?

  • Easy DMS  - problem with  object linking (unicode client)

    Hi Gurus,
    I have a problem concerning linking a materialmaster to a DIR in a uniciode environment. I tested following scenarios:
    1) Easy DMS 6.00 SP10 non unicode  +  non unicode Backend  -->  no problem
    2) Easy DMS 6.00 SP10 non unicode  +  unicode Backend        -->  no problem
    3) Easy DMS 6.00 SP10 unicode        +  non unicode Backend  -->  no problem
    4) Easy DMS 6.00 SP10 unicode        +  unicode Backend         --> problem
    Following Problem appears in scenario 4:
    Our Material Number Format is ______-____-___ (6 digits - 4 digits - 3 digits), "Lexicographical" is disabled, "Leading Zeros" is enabled.
    When I type in material number "111111-2222-333" and press "check all objects and read description" Easy DMS reads the description for
    111111-2222-333 but after that easy dms changes 111111-2222-333 to 000001-1111-122 and when I try to save the DIR it tells me that 
    000001-1111-122 is not a valid material master.
    As I mentioned this only appears with the unicode client + unicode backend. Any Ideas?

    Hi David,
    please tell us which version of EasyDMS you use currently. If you do not use EasyDMS 6.00 SP10 I would kindly ask you to see SAP note 1105699 and download this SP from the Service Marketplace.
    Further please check if you have maintained the object link customizing correclty in your backend system. Therefore please see the information in the SDN WIKI area for DMS under https://www.sdn.sap.com/irj/sdn/wiki?path=/display/plm/ca-dms-Object+link
    Best regards,
    Christoph
    P.S.: Please reward points for useful information.

  • Problem with objects

    Hi everyone,
    I am using an Indesign CS5.5 and I'm creating interactive layouts for iPad and what I want to create is the transition fading effect that requires two pictures / objects. When using an iPad, after I tap the 1st picture it will go to the 2nd picture, and when I tap the 2nd picture it will go back to the 1st picture (this two pictures overlap with each other. Can someone help me on how to do this ?
    Thank you.

    You get use a swipe guesture to swap states, but if you must use tap:
    1) Create Multistate Object
    2) 1st state:
         - Picture
         - invisible button jump to 2nd state
    3) 2nd state:
         - Picture
         - invisible button jump to 1st state
    4) set fade timing in overlay creator

  • Oracle 9i with Forms6i (having problems with objects)

    I am using Oracle 9i server and dev 6i (forms6i).
    i have a form based on Object tables (including REF's items). when i try to insert update, delete the reocrd in the form, it gives error.
    Insert/Update/Delete failed because of OCI_22132: hexadecimal string does not corresopond to a valid REF.
    when i remove REFs items from form (not from database) then it does all functions (insert,update,delete,query).
    Actually i haved used this form with Oracle 8i and it did all functions(insert,update,delete,query). i am using the same tables and types definations in Oracle 9i but it is not working.
    Note: Insert, Update, Delete, or Query is not being done through forms when using REFs items. Others tools like sql*plus are performing the same actions very well.
    Please help.
    I will be thankful to you.
    M. Faisal.

    Not laughing here. This is a long shot, and I have almost no experience with database links, but could you maybe keep an 8.1.7 server running for the Forms 3 forms, and create database links and synonyms on the 8.1.7 server linking to the data on the 9.2 server?

  • Problem with object context

    Hello,
    I've one IDOC for two interfaces. Both interfaces are IDOC-JDBC, they have in common a interface determination and receiver determination.
    I read in this forum that i must use the object context for tell what interface must execute. But I don't know how to create this Context Object.
    I create the two Context Object and I inform one of them in MESCOD field of the IDOC in one of the message interface, and the other in other message interface.
    When I execute the transaction that invoque the IDOC, in Monitoring I see 3 lines, one with 2 interfaces, another one with one of the interfaces and the last with the other interface.
    It will generated only one lines with the interface that verify the condition,
    What it is doing wrong?
    Thanks very much,

    Hi,
    i think you will not be able to use context object in the case of IDOCs in PI7.1 because when you declare context object you have to attach the context object to a node in the msg interface.......but since in IDOC you are having the IDOC structure as the msg interface ifself, so i think you will not be able to attach your context object in ESR to your IDOC structure..........
    now if you want to have conditional recever determination, then in condition editor, you can navigate in your IDOC struc to the MESCOD field, choose operator as equal to sign and in right operand have the value of MESCOD field........then in the right side add your correspondign business system...
    then try to run your scenario again.
    Regards,
    Rajeev Gupta

  • Problem with object lists in BPEL and not in WS (ElementNSImpl)

    Hi all, I've the next:
    class Category{
       private List<Group> groups;
       private String name;
       public List<Group> getGroups(){
          return grops;
       public String getName(){
          return name;
    }I've created a webservice that returns a Category in NetBeans:
    @WebMethod
        public Category getMyCategory  throws Exception{  
            try {
                return new MyThing().getCategory();     
            } catch (Exception ex) {
                ex.printStackTrace();
                throw new Exception(ex);
        }Ok, If I call this WS in my jsp page or an app, I can access to the attribute "groups" (of the type "Category") as a List of "Group".
    I've created a BPEL that does the same: return a Category. The same category. getName() works fine
    But the list "groups" is a list of com.sun.org.apache.xerces.internal.dom.ElementNSImpl !
    Using NetBeans 5.5 to do all.

    You are perpetrating mistake #1 here. Don't try to send C structs over the wire. The format is dependent on the hardware, the operating system, the compiler, the compiler version, compiler bugs, the #pragmas, and the compiler options in effect. Too many variables. What you should be doing is writing the primitive types to the network, in network byte order, and reading them inJava with the appropriate methods of DataInputStream.

  • Solved: InDesign CC: Problems with text in text box: text flows around invisible object

    I just upgraded from CS4 to CC. I have two problems with text in some text boxes:
    The text seems to flow around invisible object that I cannot find or delete. It's as if there is a photo or other object behind the text box; but when I press COMMAND-a to select all, I don't see any such object.
    When I move this text box, the layout of the text within changes. For example, when the box is high on my spread, the text flows correctly within the box; but when I move it down, it flows around that hidden other object. For another example, when the box is low on the page, the text starts at the top of the box; but when I move the text box up, the text starts somewhere in the middle of the box.
    I have checked margins of the text box and the paragraph options of the text paragraphs (margins, indents, alignments). They all look OK.
    If I modify the text box, checking the box "Ignore text wrap", then the problem goes away; but then the text also will not flow around a real object that I want it to flow around.
    Solution:
    There were objects in a hidden layer on that one spread. It seems that in CS4 when you "select all" you would also select objects in hidden layers; but in CC it doesn't.

    Arthur, Garry
    Would be great if you could send the files as attachment in an email to [email protected]
    Else, you may post here using these steps: http://forums.adobe.com/message/3994281
    Thanks!
    - Neeraj

Maybe you are looking for