Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 3004, 1 year ago
An optimistic lock violation was detected when flushing object instance "net.inar.cim.reclamos.domain.DetalleStock-8316" to the data store. This indicates that the object was concurrently modified in another transaction.[net.inar.cim.reclamos.domain.DetalleStock-8316]
kodo.util.OptimisticVerificationException: An optimistic lock violation
was detected when flushing object instance
"net.inar.cim.reclamos.domain.DetalleStock-8316" to the data store. This
indicates that the object was concurrently modified in another
transaction.[net.inar.cim.reclamos.domain.DetalleStock-8316]	at kodo.runtime.AttachManager.attach(AttachManager.java:373)	at kodo.runtime.AttachManager.attachCollection(AttachManager.java:633)	at kodo.runtime.AttachManager.attachField(AttachManager.java:537)	at kodo.runtime.AttachManager.attach(AttachManager.java:338)	at kodo.runtime.AttachManager.attachField(AttachManager.java:522)	at kodo.runtime.AttachManager.attach(AttachManager.java:338)	at kodo.runtime.AttachManager.attach(AttachManager.java:55)	at kodo.runtime.PersistenceManagerImpl.attach(PersistenceManagerImpl.java:3963)	at net.inar.cim.reclamos.control.ControlConfiguracion.guardarCambiosCamioneta(ControlConfiguracion.java:170)	at net.inar.cim.reclamos.gui.JPanelStockCamioneta.jButtonGuardar_actionPerformed(JPanelStockCamioneta.java:269)	at net.inar.cim.reclamos.gui.JPanelStockCamioneta$4.actionPerformed(JPanelStockCamioneta.java:133)	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:234)	at java.awt.Component.processMouseEvent(Component.java:5488)	at javax.swing.JComponent.processMouseEvent(JComponent.java:3093)	at java.awt.Component.processEvent(Component.java:5253)	at java.awt.Container.processEvent(Container.java:1966)	at java.awt.Component.dispatchEventImpl(Component.java:3955)	at java.awt.Container.dispatchEventImpl(Container.java:2024)	at java.awt.Component.dispatchEvent(Component.java:3803)	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)	at java.awt.Container.dispatchEventImpl(Container.java:2010)	at java.awt.Window.dispatchEventImpl(Window.java:1766)	at java.awt.Component.dispatchEvent(Component.java:3803)	at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)	at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)