Hy all of you,
I’m following this tuto https://vaadin.com/tutorial/-/chapter/interaction.form.html.
As I want to save, I have a ConcurrentModificationException issue.
I’ve checked to pass the app, to setWriteThrough(false) and other stuff.
Unfortunately I have the following issue :
| Error 2012-02-22 10:49:23,581 ["http-bio-8080"-exec-3]
ERROR vaadin.Application - Terminal error:
Message: null
Line | Method
->> 532 | receiveEvent in com.vaadin.event.ListenerMethod
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| 164 | fireEvent in com.vaadin.event.EventRouter
| 1219 | fireEvent . . . . . in com.vaadin.ui.AbstractComponent
| 550 | fireClick in com.vaadin.ui.Button
| 217 | changeVariables . . in ''
| 1451 | changeVariables in com.vaadin.terminal.gwt.server.AbstractCommunicationManager
| 1399 | handleVariableBurst in ''
| 1318 | handleVariables in ''
| 763 | doHandleUidlRequest in ''
| 296 | handleUidlRequest in com.vaadin.terminal.gwt.server.CommunicationManager
| 501 | service . . . . . . in com.vaadin.terminal.gwt.server.AbstractApplicationServlet
| 193 | service in com.vaadin.grails.terminal.gwt.server.GrailsAwareApplicationServlet
| 886 | runTask . . . . . . in java.util.concurrent.ThreadPoolExecutor$Worker
| 908 | run in ''
^ 662 | run . . . . . . . . in java.lang.Thread
Caused by ConcurrentModificationException: null
->> 761 | checkForComodification in java.util.LinkedList$ListItr
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| 696 | next in ''
| 336 | commit . . . . . . in com.vaadin.ui.Form
| 89 | buttonClick in org.electionpro.ui.customer.CustomerForm$$ENPeII3k
| 512 | receiveEvent . . . in com.vaadin.event.ListenerMethod
| 164 | fireEvent in com.vaadin.event.EventRouter
| 1219 | fireEvent . . . . . in com.vaadin.ui.AbstractComponent
| 550 | fireClick in com.vaadin.ui.Button
| 217 | changeVariables . . in ''
| 1451 | changeVariables in com.vaadin.terminal.gwt.server.AbstractCommunicationManager
| 1399 | handleVariableBurst in ''
| 1318 | handleVariables in ''
| 763 | doHandleUidlRequest in ''
| 296 | handleUidlRequest in com.vaadin.terminal.gwt.server.CommunicationManager
| 501 | service . . . . . . in com.vaadin.terminal.gwt.server.AbstractApplicationServlet
| 193 | service in com.vaadin.grails.terminal.gwt.server.GrailsAwareApplicationServlet
| 886 | runTask . . . . . . in java.util.concurrent.ThreadPoolExecutor$Worker
| 908 | run in ''
^ 662 | run . . . . . . . . in java.lang.Thread
I tried to syncrhonized the code in the ButtonEvent,
I also tried to set final the application in the class since the commit is in an event.
Thanks for your help