discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Exception raised during xib loading


From: Fred Kiefer
Subject: Re: Exception raised during xib loading
Date: Fri, 29 Nov 2013 23:25:41 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0

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)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]