Note: This issue only occurs when application is running on GlassFish v3
server -- the local (Tomcat-hosted) version works fine(!).
What steps will reproduce the problem?
1.Use index binding in <a:For>
2.In associated .java, include getter/setter for index binding field.
3.Deploy to GlassFish v3.
What is the expected output? What do you see instead?
Expected: Working <a:For> output.
Instead: Exception (Please see the attached stack trace (stack.txt).)
What version of the product are you using? On what operating system?
Ubuntu 8.10 server
GlassFish v3 (b74.2)
Sun JDK v1.6.0_b18
Please provide any additional information below.
Workaround:
1. Make the field bound to the index public. (For index="$myIndex", do:
public int _myIndex;)
2. OMIT getter and (especially) setter for index field. (The setter seems
to be causing the heartburn, based on the exception and stack. Is AW trying
to push in a String or some non-int?)
Original issue reported on code.google.com by morton.t...@gmail.com on 2 Mar 2010 at 8:33
Original issue reported on code.google.com by
morton.t...@gmail.com
on 2 Mar 2010 at 8:33Attachments: