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: Lars Sonchocky-Helldorf <email@hidden>
- Date: Mon, 21 Jan 2013 20:05:25 +0100
Thanks for the quick response, Chuck!
This is indeed a clever workaround. I had a look at the source code of ERXPatcher of the version of Wonder we use and at the source code at Github, understood the issue and I've seen this bug is fixed at github already. Thanks for your great work at Wonder!
Tomorrow I'll ask Paul why we don't use the latest version of Wonder.
cheers,
Lars
Am 21.01.2013 um 19:24 schrieb Chuck Hill:
> 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