Re: UnsupportedOperationException: addAll is not a supported operation in com.webobjects.foundation.NSArray
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: Chuck Hill <email@hidden>
- Date: Mon, 21 Jan 2013 10:24:06 -0800
It looks like you have an NSArray instead of an NSMutableArray bound to the selections binding of a WOBrowser.
Chuck
On 2013-01-21, at 10:10 AM, Lars Sonchocky-Helldorf 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
--
Chuck Hill Senior Consultant / VP Development
Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/gvc/practical_webobjects
Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing Companies in B.C!
Global Village Consulting ranks 76th in 24th annual PROFIT 200 ranking of Canada’s Fastest-Growing Companies by PROFIT Magazine!
_______________________________________________
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