• 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: WOBrowser Error java.lang.UnsupportedOperationException: addAll is not a supported operation in com.webobjects.foundation.NSArray
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WOBrowser Error java.lang.UnsupportedOperationException: addAll is not a supported operation in com.webobjects.foundation.NSArray


  • Subject: Re: WOBrowser Error java.lang.UnsupportedOperationException: addAll is not a supported operation in com.webobjects.foundation.NSArray
  • From: David Avendasora <email@hidden>
  • Date: Tue, 06 Sep 2011 09:59:59 +0800

On Sep 6, 2011, at 4:05 AM, Johann Werner wrote:

> That error suggests that you want to add objects to an NSArray. An NSArray is immutable thus the error 'not supported'. You should use NSMutableArrays.

You could fill and NSArray<NSArraysAreNotMutableMistake> with the number of times I've made this mistake. The oddities of an immutable class extending a mutable one...

Actually, make that an NSMutableArray<NSArraysAreNotMutableMistake> because I know I'll make it again. Probably tomorrow.

Dave

PS. Okay! Fine, Chuck! I'll probably make this mistake yet today.

Grumble.




 _______________________________________________
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: 
 >WOBrowser Error java.lang.UnsupportedOperationException: addAll is not a supported operation in com.webobjects.foundation.NSArray (From: "pavan.jayam" <email@hidden>)
 >Re: WOBrowser Error java.lang.UnsupportedOperationException: addAll is not a supported operation in com.webobjects.foundation.NSArray (From: Johann Werner <email@hidden>)

  • Prev by Date: Re: ModernLook can't find it's WebServerResources
  • Next by Date: Re: Feedback about issue with MySQL and get primary key
  • Previous by thread: Re: WOBrowser Error java.lang.UnsupportedOperationException: addAll is not a supported operation in com.webobjects.foundation.NSArray
  • Next by thread: Re: WOBrowser Error java.lang.UnsupportedOperationException: addAll is not a supported operation in com.webobjects.foundation.NSArray
  • Index(es):
    • Date
    • Thread