bugGNUstep - Bugs: bug #29015, Unable to load nib file containing...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #29015: Unable to load nib file containing a window (on Windows)

Submitted by:  Doug Simons <theeggcamefirst>
Submitted on:  Fri 26 Feb 2010 09:57:07 PM UTC  
 
Category: Gui/AppKitSeverity: 3 - Normal
Item Group: BugStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Mon 01 Mar 2010 08:29:19 PM UTC, comment #2:

This seems to be working fine for me now.

Doug Simons <theeggcamefirst>
Sat 27 Feb 2010 06:41:07 AM UTC, comment #1:

I think this is due to an incorrect check in methodSignatureForSelector:
This code was testing that, if the selector provided was typed, the type information in the generated method signature matches the type information in the selector.

The problem is that it's quite legitimate for it not to be ... if, for instance, the selector was obtained using sel_get_uid() by the KVC system when looking for an accessor method, the runtime might have returned the selector for accessing a variable of the same name (but different type) in another class.

The check has been in the code for quite some while, so it's not clear why the problem has just started happening, but it could be something as simple as a change in the order in which code executes, such that selectors are generated in a different order and the runtime happens to return a differently typed selector.

Anyway, I removed the check in svn trunk and this should fix things.

Richard Frith-Macdonald <CaS>
Project Member
Fri 26 Feb 2010 09:57:07 PM UTC, original submission:

With the latest tip of GS (r29782) I see this error while loading a nib file:

warning: 2010-02-26 13:04:44.359 Eggplant[2836] Error while establishing connection <<NSNibOutletConnector: 0xa4612d8> src=<EGGSuite: 0xa5e56f8> dst=<NSWindow: 0xa4749f8>Number: 0 Title: Window label=window>: [EGGSuite-setWindow:] selector types (v12@0:4^{HWND__=i}8) don't match method types (v12@0:4@8)

This is a showstopper for us, so I hope someone will know what recent changes may have caused this and sort it out soon. :-)

Doug Simons <theeggcamefirst>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by CaS (Posted a comment)
  • -unavailable- added by theeggcamefirst (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 01 Mar 2010 09:23:42 PM UTCCaSOpen/ClosedIn Test=>Closed
    Sat 27 Feb 2010 06:41:07 AM UTCCaSStatusNone=>Fixed
      Open/ClosedOpen=>In Test

    Back to the top


    Powered by Savane 3.1-cleanup1