Are you sure it's loading the xib? If the code being called is in gsnibloader, then it's loading a nib file. Just a quick observation.
GC
If I can add, I also have problems to open xib files with gorm; it says “No informations” in a message box, but this should be another argument. Alex (Slex) On Friday, November 29, 2013, Fred Kiefer wrote:
I had to switch to HTML to be able to see your mail. Your mailer sends
unreadable garbage as simple text. Perhaps it would be best if you
switched to using non -HTML mails when sending to this mailing list?
From what I see below the NSCustomObject gets resolved as the class
NSCustomObject, which of course is non-sense but never should lead to
the case that NSClassFromString(_className) results in nil. Here
something clearly is wrong. Is there an ObjC runtime where _className
gets used to denote the class name????
Could you please send me the XIB file? I am really confused now, and we
haven't even gotten near the original bug.
On 29.11.2013 22:19, Slex Sangiuliano wrote:
> Yes, here the output, I write just the final part, the rest is equal to the previous message:
>
>
> (gdb) f 3#3 0x00007ffff69a7e60 in -[NSCustomObject nibInstantiate] (self=0x21e64b0, _cmd=0x7ffff6e216e0 <.objc_selector_list+208>) at GSNibLoading.m:972972 [NSException raise: NSInternalInconsistencyException(gdb) l967 aClass = NSClassFromString(_className);968 }969970 if (aClass == nil)971 {972 [NSException raise: NSInternalInconsistencyException973 format: @"Unable to find class '%@'", _className];974 }975976 if (GSObjCIsKindOf(aClass, [NSApplication class]) ||(gdb) po _classNameNSCustomObject(gdb)
> Subject: Re: Exception raised during xib loading
> From: fredkiefer@gmx.de
> Date: Fri, 29 Nov 2013 14:56:26 +0100
> CC: discuss-gnustep@gnu.org
> To: alex22_7@hotmail.com
>
> Could you please try to print out the _className instead of the class? That should tell you which class is missing.You should also be aware that the exception you did stack trace was a different one from the one you got originally.
> Fred
>
> On the road
> Am 29.11.2013 um 13:30 schrieb Slex Sangiuliano <alex22_7@hotmail.com>:
>
>
>
>
> When I ran StepChat on gnustep and I set to load the MainMenu.xib instead of MainMenu.gorm, an expception is raised with this message on the termianl:
> 2013-11-29 13:08:25.720 StepChat[8164]Is not possible to load the model file 'MainMenu'2013-11-29 13:08:25.750 StepChat[8164] /usr/GNUstep/Local/Library/Headers/GNUstepBase/GSIArray.h:549 Assertion failed in GSIArrayItem GSIArrayItemAtIndex(GSIArray, unsigned int). NSInvalidArgumentException2013-11-29 13:08:25.750 StepChat[8164] Problem posting notification: <NSException: 0x121cd40> NAME:NSInternalInconsistencyException REASON:/usr/GNUstep/Local/Library/Headers/GNUstepBase/GSIArray.h:549 Assertion failed in GSIArrayItem GSIArrayItemAtIndex(GSIArray, unsigned int). NSInvalidArgumentException INFO:(null)
>
> Note: I implemented the .xib on OS X (10.7, 10.9)
> I made a backtrack and I attach here;
> as you can see the aClass is nil, however in the backtrack log I made, there are also the commands I ran to debug and see what is the problem.
>
> I don't remember if the netiquette want to attach the file and also post here the file content; to be sure I post also the file content here, but please notice me if I shouldn't do.
>
> Cheers,
> Alex (Slex)
_______________________________________________
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnustep
-- Gregory Casamento Open Logic Corporation, Principal Consultant yahoo/skype: greg_casamento, aol: gjcasa (240)274-9630 (Cell) http://www.gnustep.org
http://heronsperch.blogspot.com
_______________________________________________ Discuss-gnustep mailing list Discuss-gnustep@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnustep
|