• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Corrupt Nib file?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Corrupt Nib file?


  • Subject: Re: Corrupt Nib file?
  • From: Ian Joyner <email@hidden>
  • Date: Fri, 9 Mar 2007 10:35:05 +1100

I seem to have fixed this. The step before I got rid of the hang was to open the offending Nib, not from Xcode, but from Finder. Of course I got a lot of things not connected or found, but IB was not hanging up when I clicked on the display groups. So I saved it, and back in Xcode it now works. Mind you I am still getting the error messages, and the five verification errors reported in console, which I'd like to get rid of.

Hmmm, this methinks is hacking, not programming, although Bertrand Meyer once or more times said "Hacking's good" – I think he meant more the experimental hacking, where your software development practices are so good, you're not afraid to try things out.

Ian

On 06/03/2007, at 4:31 PM, Ian Joyner wrote:

When I open a NIB file in IB (latest version 2.5.4 and WO 5.3.3), I get a dialog:

"Interface Conversion

The interface file Main_interface_controller.nib has been updated to a newer version. After saving it you will not be able to open it on other platforms any more and you will not be able to use it with older versions of WebObjects/EOF."

So I press OK and get another dialog:

"Open Interface

5 inconsistencies in the document were found and repaired. Please save the document"

and the following appears in Console:

2007-03-06 16:14:58.036 Interface Builder[23973] **** verification error ****: destination <EODetailDataSource: 0xc80c2f0> on connector <NSNibOutletConnector: 0xc875660> is not in objectTable.
2007-03-06 16:14:58.036 Interface Builder[23973] **** verification error ****: destination <EODetailDataSource: 0xc80c2f0> on connector <NSNibOutletConnector: 0xc874500> is not in objectTable.
2007-03-06 16:14:58.036 Interface Builder[23973] **** verification error ****: destination <EODetailDataSource: 0xc80c2f0> on connector <NSNibOutletConnector: 0xc837e40> is not in objectTable.
2007-03-06 16:14:58.036 Interface Builder[23973] **** verification error ****: destination <EODetailDataSource: 0xc80c2f0> on connector <NSNibOutletConnector: 0xc8222f0> is not in objectTable.
2007-03-06 16:14:58.036 Interface Builder[23973] **** verification error ****: destination <EODetailDataSource: 0xc80c2f0> on connector <NSNibOutletConnector: 0xc8bafa0> is not in objectTable.


So I save the document, but the same happens next time I open the NIB.

What is worse though, if I select any display group (or try to do anything with them like display connections to a display group from a search text field, IB goes into a loop and writes the following out to the Console (although I'm feeling pretty inconsolable at this point):

2007-03-06 16:17:22.949 Interface Builder[23973] ObjCJava: no java object for 0x59531a0<JDBCAdaptor>
2007-03-06 16:17:22.949 Interface Builder[23973] ObjCJava: can't forward method description
2007-03-06 16:17:22.949 Interface Builder[23973] ObjCJava: no java object for <JDBCAdaptor: 0x59531a0>
2007-03-06 16:17:22.949 Interface Builder[23973] ObjCJava: can't forward method initWithName:
2007-03-06 16:17:22.951 Interface Builder[23973] Exception raised during posting of notification. Ignored. exception: initWithPropertyList:owner:: cannot find entity named Address for destination of relationship addresses in entity Group.
2007-03-06 16:17:22.958 Interface Builder[23973] *** -[EOAttribute isEqualToString:]: selector not recognized [self = 0x595c760]
2007-03-06 16:17:22.958 Interface Builder[23973] *** -[EOAttribute isEqualToString:]: selector not recognized [self = 0x595c760]


The application runs OK, except the search text field does not work anymore (may or may not be related).

So, is there a way of repairing the NIB, or any other way around this?

Thanks
Ian

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40sportstec.com


This email sent to email@hidden



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Corrupt Nib file? (From: Ian Joyner <email@hidden>)

  • Prev by Date: WebObjects 5: Updating time zone data
  • Next by Date: Re: WOComponent quesion
  • Previous by thread: Corrupt Nib file?
  • Next by thread: WOSwitchComponent Problem
  • Index(es):
    • Date
    • Thread