• 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: 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: UnsupportedOperationException: addAll is not a supported operation in com.webobjects.foundation.NSArray


  • Subject: Re: UnsupportedOperationException: addAll is not a supported operation in com.webobjects.foundation.NSArray
  • From: John Huss <email@hidden>
  • Date: Mon, 21 Jan 2013 12:51:06 -0600

Probably the "selectionList" needs to be bound to a NSMutableArray not an NSArray.  NSArray is IMmutable.


On Mon, Jan 21, 2013 at 12:10 PM, Lars Sonchocky-Helldorf <email@hidden> wrote:
Hi folks,

I get the following exception when normally submitting a form which contains some AJAX stuff (which works by itself). None of my own code is involved, so how would I solve this?

java.lang.UnsupportedOperationException: addAll is not a supported operation in com.webobjects.foundation.NSArray
[2013-1-21 18:55:27 MEZ] <WorkerThread7> java.lang.UnsupportedOperationException: addAll is not a supported operation in com.webobjects.foundation.NSArray
        at com.webobjects.foundation.NSArray.addAll(NSArray.java:917)
        at er.extensions.foundation.ERXPatcher$DynamicElementsPatches$Browser.setSelectionListInContext(ERXPatcher.java:533)
        at com.webobjects.appserver._private.WOBrowser._fastTakeValuesFromRequest(WOBrowser.java:123)
        at com.webobjects.appserver._private.WOBrowser.takeValuesFromRequest(WOBrowser.java:138)
        at com.webobjects.appserver._private.WODynamicGroup.takeChildrenValuesFromRequest(WODynamicGroup.java:84)
        at er.ajax.AjaxDynamicElement.takeValuesFromRequest(AjaxDynamicElement.java:125)
        at er.ajax.AjaxUpdateContainer.takeValuesFromRequest(AjaxUpdateContainer.java:63)
.
.
.


cheers & thanks,

        Lars


 _______________________________________________
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

 _______________________________________________
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: 
 >UnsupportedOperationException: addAll is not a supported operation in com.webobjects.foundation.NSArray (From: Lars Sonchocky-Helldorf <email@hidden>)

  • Prev by Date: UnsupportedOperationException: addAll is not a supported operation in com.webobjects.foundation.NSArray
  • Next by Date: Re: UnsupportedOperationException: addAll is not a supported operation in com.webobjects.foundation.NSArray
  • Previous by thread: UnsupportedOperationException: addAll is not a supported operation in com.webobjects.foundation.NSArray
  • Next by thread: Re: UnsupportedOperationException: addAll is not a supported operation in com.webobjects.foundation.NSArray
  • Index(es):
    • Date
    • Thread