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: Alessandro Sangiuliano
Subject: Re: Exception raised during xib loading
Date: Sat, 30 Nov 2013 00:18:52 +0100

Il giorno 29/nov/2013, alle ore 23:25, Fred Kiefer <fredkiefer@gmx.de> ha 
scritto:

> 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?

Can you notice me if it still is sending HTML garbage? 
> 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.
> 

I can attach the xib file. If You also need to test the app to see things 
deeper, StepChat is on the étoilé svn, You just need to install 
EtoileFoundation and XMPPKit as dependencies.

Attachment: MainMenu.xib
Description: Binary data



> 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
> 


reply via email to

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