NIB file problems (possibly corrupt)
NIB file problems (possibly corrupt)
- Subject: NIB file problems (possibly corrupt)
- From: Ian Joyner <email@hidden>
- Date: Wed, 7 Mar 2007 16:15:34 +1100
Although, I'm using IB for WebObjects, there was no help in the WO
group for this problem since very few do Java Client development. It
seems like a general problem with IB, so maybe you nice Cocoa people
might be able to help unscrew IB, thanks. Even if you can't answer
the particular problem, are there any general techniques for getting
a NIB back into a usable state?
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 Joyner
Sportstec
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden