• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NPE in WOHTTPConnection readResponse()
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NPE in WOHTTPConnection readResponse()


  • Subject: Re: NPE in WOHTTPConnection readResponse()
  • From: Anjo Krank <email@hidden>
  • Date: Wed, 23 Jan 2008 16:29:18 +0100


Am 22.01.2008 um 23:39 schrieb Mr. Pierre Frisch:

The _objects is null for an EmptyArray.


The actual bug is that _objects is allowed to be null in this case. It's probably some weird optimization so one doesn't need to create an empty array of T's, but _objects is a protected field and so, as it is accessible to subclasses, should not ever be null. It never occurred to me that it could and none of the code hinted at this possibility.

The other bug is that our collection classes end up in the build, which I'm fixed and should be online later.

Cheers, Anjo

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >NPE in WOHTTPConnection readResponse() (From: Thomas <email@hidden>)
 >Re: NPE in WOHTTPConnection readResponse() (From: Alexander Spohr <email@hidden>)
 >Re: NPE in WOHTTPConnection readResponse() (From: Thomas <email@hidden>)
 >Re: NPE in WOHTTPConnection readResponse() (From: "Mr. Pierre Frisch" <email@hidden>)
 >Re: NPE in WOHTTPConnection readResponse() (From: Thomas <email@hidden>)
 >Re: NPE in WOHTTPConnection readResponse() (From: "Mr. Pierre Frisch" <email@hidden>)
 >Re: NPE in WOHTTPConnection readResponse() (From: Mike Schrag <email@hidden>)
 >Re: NPE in WOHTTPConnection readResponse() (From: "Mr. Pierre Frisch" <email@hidden>)

  • Prev by Date: Re: Help deploying in Eclipse
  • Next by Date: Re: <date> incompatibility between WebObjects and Cocoa in XML plists
  • Previous by thread: Re: NPE in WOHTTPConnection readResponse()
  • Next by thread: Re: NPE in WOHTTPConnection readResponse()
  • Index(es):
    • Date
    • Thread