users@glassfish.java.net

JSF - Glassfish V1 UR1 java.util.Arrays$ArrayList problem

From: Drinkwater, GJ \(Glen\) <"Drinkwater,>
Date: Wed, 8 Nov 2006 17:15:02 -0000

Hi

I recently upgraded to Glassfish V1 UR1 from V1 b48 and my application
seems to have stopped working.

I get this error

[#|2006-11-08T15:44:39.857+0000|INFO|sun-appserver-pe9.0|javax.enterpris
e.resource.webcontainer.jsf.lifecycle|_ThreadID=15;_ThreadName=httpWorke
rThread-8080-1;
sourceId=body:autofillform:facilities[severity=(ERROR 2), summary=(Can't
set property 'currentSelectedFacilities' on class
'uk.ac.dl.dp.web.backingbeans.VisitData' to value '[EMAT]'.),
detail=(Can't set property 'currentSelectedFacilities' on class
'uk.ac.dl.dp.web.backingbeans.VisitData' to value '[EMAT]'.)];|WARNING:
FacesMessage(s) have been enqueued, but may not have been displayed.

Having looked into the problem i can see that the JSF application is
trying to set the value of a h:selectManyListbox
value="#{visit.visitData.currentSelectedFacilities}" ... to a
java.util.Arrays$ArrayList and not a java.util.ArrayList as it did in
b48.

Has anyone had the same problem or knows what i am doing wrong.

Thanks