This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.

Two comments, the first is that you should mention the version of Spring mvc you're using. Also, I suspect you might want to search for existing JIRA issues on this topic. This is an issue I've run into in the past - and the version matters a lot.

The forEach varstatus count starts at 1, and index starts at 0. Doh. So what was happening is an index out of bounds problem. My problems are not over, however. When trying to submit the form, I now get this error:

I set a breakpoint at the form bean setMeasureMap() method and notice that the incoming object is null, even though all the post parameters are correct. Argh. I'm starting to think I might give up on trying to bind to a map, and try some more dangerous, ugly approach using lists. I will also take a look on Jira. Anyone else have any suggestions?