Erreur récurrente lors de saisie au km

Répondre
AleXtrap
Messages : 62
Enregistré le : mer. juil. 26, 2017 6:52 pm
Contact :

ven. oct. 21, 2022 10:10 am

Bonjour,

je fais face à cette erreur assez régulièrement lors de saisie au km.
Je précise que la case "ne pas fermer la fenêtre" est cochée, l'erreur arrive après la validation d'une écriture par le bouton ou avec la combinaison de touche ctrl+entrée.
Le message de création de mouvement et son numéro apparaissent bien, l'erreur s'affiche dans la seconde après que le pop-up soit apparu.
Impossible de fermer la fenêtre d'erreur, la seule solution est de quitter le logiciel et de le relancer.
Je n'ai aucune perte de données après ça, mais l'erreur revient aléatoirement après 1 ou plusieurs saisies au km.

Je suis sous OC 1.7.1 multiposte
Win11 familial x64
Java 8 (build 1.8.0_341-b10)

Merci par avance pour l'aide apportée.

Code : Tout sélectionner

UncaughtException on thread Thread[AWT-EventQueue-0,6,main]

java.lang.Integer cannot be cast to java.lang.Long
org.openconcerto.utils.ExceptionHandler: UncaughtException on thread Thread[AWT-EventQueue-0,6,main]
	at org.openconcerto.utils.ExceptionHandler.handle(ExceptionHandler.java:150)
	at org.openconcerto.utils.ExceptionHandler.handle(ExceptionHandler.java:132)
	at org.openconcerto.utils.ExceptionHandler.handle(ExceptionHandler.java:157)
	at org.openconcerto.erp.config.Gestion$2.uncaughtException(Gestion.java:226)
	at java.lang.ThreadGroup.uncaughtException(Unknown Source)
	at java.lang.ThreadGroup.uncaughtException(Unknown Source)
	at java.awt.EventDispatchThread.processException(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.WaitDispatchSupport$2.run(Unknown Source)
	at java.awt.WaitDispatchSupport$4.run(Unknown Source)
	at java.awt.WaitDispatchSupport$4.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.awt.WaitDispatchSupport.enter(Unknown Source)
	at java.awt.Dialog.show(Unknown Source)
	at java.awt.Component.show(Unknown Source)
	at java.awt.Component.setVisible(Unknown Source)
	at java.awt.Window.setVisible(Unknown Source)
	at java.awt.Dialog.setVisible(Unknown Source)
	at org.openconcerto.utils.ExceptionHandler.showMsg(ExceptionHandler.java:450)
	at org.openconcerto.utils.ExceptionHandler.showMsgHardened(ExceptionHandler.java:232)
	at org.openconcerto.utils.ExceptionHandler.lambda$0(ExceptionHandler.java:209)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at org.openconcerto.utils.ExceptionHandler.display(ExceptionHandler.java:212)
	at org.openconcerto.utils.ExceptionHandler.handle(ExceptionHandler.java:150)
	at org.openconcerto.utils.ExceptionHandler.handle(ExceptionHandler.java:132)
	at org.openconcerto.utils.ExceptionHandler.handle(ExceptionHandler.java:157)
	at org.openconcerto.erp.config.Gestion$2.uncaughtException(Gestion.java:226)
	at java.lang.ThreadGroup.uncaughtException(Unknown Source)
	at java.lang.ThreadGroup.uncaughtException(Unknown Source)
	at java.awt.EventDispatchThread.processException(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.WaitDispatchSupport$2.run(Unknown Source)
	at java.awt.WaitDispatchSupport$4.run(Unknown Source)
	at java.awt.WaitDispatchSupport$4.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.awt.WaitDispatchSupport.enter(Unknown Source)
	at java.awt.Dialog.show(Unknown Source)
	at java.awt.Component.show(Unknown Source)
	at java.awt.Component.setVisible(Unknown Source)
	at java.awt.Window.setVisible(Unknown Source)
	at java.awt.Dialog.setVisible(Unknown Source)
	at org.openconcerto.utils.ExceptionHandler.showMsg(ExceptionHandler.java:450)
	at org.openconcerto.utils.ExceptionHandler.showMsgHardened(ExceptionHandler.java:232)
	at org.openconcerto.utils.ExceptionHandler.lambda$0(ExceptionHandler.java:209)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at org.openconcerto.utils.ExceptionHandler.display(ExceptionHandler.java:212)
	at org.openconcerto.utils.ExceptionHandler.handle(ExceptionHandler.java:150)
	at org.openconcerto.utils.ExceptionHandler.handle(ExceptionHandler.java:132)
	at org.openconcerto.utils.ExceptionHandler.handle(ExceptionHandler.java:157)
	at org.openconcerto.erp.config.Gestion$2.uncaughtException(Gestion.java:226)
	at java.lang.ThreadGroup.uncaughtException(Unknown Source)
	at java.lang.ThreadGroup.uncaughtException(Unknown Source)
	at java.awt.EventDispatchThread.processException(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.WaitDispatchSupport$2.run(Unknown Source)
	at java.awt.WaitDispatchSupport$4.run(Unknown Source)
	at java.awt.WaitDispatchSupport$4.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.awt.WaitDispatchSupport.enter(Unknown Source)
	at java.awt.Dialog.show(Unknown Source)
	at java.awt.Component.show(Unknown Source)
	at java.awt.Component.setVisible(Unknown Source)
	at java.awt.Window.setVisible(Unknown Source)
	at java.awt.Dialog.setVisible(Unknown Source)
	at org.openconcerto.utils.ExceptionHandler.showMsg(ExceptionHandler.java:450)
	at org.openconcerto.utils.ExceptionHandler.showMsgHardened(ExceptionHandler.java:232)
	at org.openconcerto.utils.ExceptionHandler.lambda$0(ExceptionHandler.java:209)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at org.openconcerto.utils.ExceptionHandler.display(ExceptionHandler.java:212)
	at org.openconcerto.utils.ExceptionHandler.handle(ExceptionHandler.java:150)
	at org.openconcerto.utils.ExceptionHandler.handle(ExceptionHandler.java:132)
	at org.openconcerto.utils.ExceptionHandler.handle(ExceptionHandler.java:157)
	at org.openconcerto.erp.config.Gestion$2.uncaughtException(Gestion.java:226)
	at java.lang.ThreadGroup.uncaughtException(Unknown Source)
	at java.lang.ThreadGroup.uncaughtException(Unknown Source)
	at java.awt.EventDispatchThread.processException(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.WaitDispatchSupport$2.run(Unknown Source)
	at java.awt.WaitDispatchSupport$4.run(Unknown Source)
	at java.awt.WaitDispatchSupport$4.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.awt.WaitDispatchSupport.enter(Unknown Source)
	at java.awt.Dialog.show(Unknown Source)
	at javax.swing.JOptionPane.showOptionDialog(Unknown Source)
	at javax.swing.JOptionPane.showMessageDialog(Unknown Source)
	at javax.swing.JOptionPane.showMessageDialog(Unknown Source)
	at javax.swing.JOptionPane.showMessageDialog(Unknown Source)
	at org.openconcerto.erp.core.finance.accounting.element.SaisieKmSQLElement$SaisieKmComponent$5$1.run(SaisieKmSQLElement.java:436)
	at java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$500(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Long
	at org.openconcerto.erp.core.finance.accounting.ui.SaisieKmItemTable$2.setValueAt(SaisieKmItemTable.java:127)
	at javax.swing.JTable.setValueAt(Unknown Source)
	at javax.swing.JTable.editingStopped(Unknown Source)
	at javax.swing.AbstractCellEditor.fireEditingStopped(Unknown Source)
	at javax.swing.AbstractCellEditor.stopCellEditing(Unknown Source)
	at org.openconcerto.ui.date.DateRangeTable$1.stopTableCellEditing(DateRangeTable.java:104)
	at org.openconcerto.ui.date.DateRangeTable$1.propertyChange(DateRangeTable.java:83)
	at java.beans.PropertyChangeSupport.fire(Unknown Source)
	at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source)
	at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source)
	at java.awt.KeyboardFocusManager.firePropertyChange(Unknown Source)
	at java.awt.KeyboardFocusManager.setGlobalPermanentFocusOwner(Unknown Source)
	at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
	at java.awt.Component.dispatchEventImpl(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$500(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue$4.run(Unknown Source)
	at java.awt.EventQueue$4.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	... 103 more
Alexis, artiste et homme à tout faire ^^
Cirque RUBIS
Répondre