DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14603>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14603

Switching to JDK 1.4.1 causes IndexOutOfBoundsException on Indexable ActionForm 
Attributes





------- Additional Comments From [EMAIL PROTECTED]  2002-11-15 18:47 -------
Please deploy the attached war into the container of your choice.  Note that 
you'll need to provide your own Struts jars and supporting commons jars.  To 
get the example to run, enter the following url:

http://<yourhost>:<yourport>/MaintainThemesSample/GetThemes.do

>From the first page, press the insert button, enter some text into the fields 
that appear and then hit save.  This will trigger the problem if you're running 
with jdk 1.4.1.

I'll try to get a JUnit example working.  I have the 1.4.1 example done, but it 
doesn't run under 1.3.1- I get an illegal access violation from the 
BeanUtils.setProperty method.  so I can't send it in until i fix that.  The 
code for the test looks like this however:

        try
        {
            BeanUtils.setProperty(new TestBeanInfo.DisplayMaintenanceForm
(), "displaySections[0]", new DisplaySection());
        }
        catch (IllegalAccessException e)
        {
            fail(e.getMessage());
        }
        catch (InvocationTargetException e)
        {
            fail(e.getMessage());
        }

--
To unsubscribe, e-mail:   <mailto:struts-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-dev-help@;jakarta.apache.org>

Reply via email to