gnustep-dev
[Top][All Lists]
Advanced

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

Re: Problem with gnustep trunk


From: Richard Frith-Macdonald
Subject: Re: Problem with gnustep trunk
Date: Tue, 13 Mar 2007 10:23:24 +0000


On 13 Mar 2007, at 10:01, Philippe Roussel wrote:

On Tue, Mar 13, 2007 at 10:00:18AM +0100, Nicola Pero wrote:

I just tried reinstalling everything from scratch and I don't get that error.

Actually, it turns out that I had already figured out this problem and fixed it
(by rewriting resource-set.make), but I forgot to commit the rewrite.
So of course gnustep-base localizable resources worked fine for me but not for
anyone else! ;-)

Sorry about that, it's now on subversion -- please update your subversion repository
and try again.

Well, I've just updated and rebuilt make, base, gui, back and some
applications. make_services (for example) still breaks with

make_services: Uncaught exception NSInvalidArgumentException, reason:
Tried to add nil to array

I traced it in NSString.m

+ (id) stringWithUTF8String: (const char *)bytes
{
  NSString      *obj;

  obj = [self allocWithZone: NSDefaultMallocZone()];
obj = [obj initWithUTF8String: bytes]; <- obj is null after this line
  return AUTORELEASE(obj);
}

but I don't really get why :o)

At a guess ... the supplied string is not legal UTF-8

I suggest looking to see what the content of 'bytes' actually is, and see where it came from.





reply via email to

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