Page 1 sur 1

Grand livre message d'erreur à la 1ère ouverture

Posté : ven. déc. 25, 2020 6:45 pm
par CrossWay-IMMO
bonjour
J'ai un message d'erreur lorsque j'ouvre le grand livre tout de suite après l'ouverture d'Openconcerto.
A la deuxième ouverture du grand livre plus de message d'erreur, le grand livre s'affiche , apparemment sans problème.
Idem si j'effectue une autre opération avant l'ouverture du grand livre., pas de message d'erreur non plus ...

Je suis sous Ubuntu 20.4 LTS et OpenConcerto 1.6.3
Merci pour votre aide
voici le message d'erreur :

UncaughtException on thread Thread[AWT-EventQueue-0,6,main]
org.openconcerto.utils.ExceptionHandler: UncaughtException on thread Thread[AWT-EventQueue-0,6,main]
at org.openconcerto.utils.ExceptionHandler.handle(ExceptionHandler.java:144)
at org.openconcerto.utils.ExceptionHandler.handle(ExceptionHandler.java:151)
at org.openconcerto.erp.config.Gestion$2.uncaughtException(Gestion.java:226)
at java.base/java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1055)
at java.base/java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1050)
at java.desktop/java.awt.EventDispatchThread.processException(EventDispatchThread.java:222)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:214)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: java.lang.NullPointerException
at org.openconcerto.erp.core.finance.accounting.ui.GrandLivrePanel.loadAsynchronous(GrandLivrePanel.java:115)
at org.openconcerto.erp.core.finance.accounting.action.EtatGrandLivreAction.createFrame(EtatGrandLivreAction.java:47)
at org.openconcerto.erp.action.CreateFrameAbstractAction.actionPerformed(CreateFrameAbstractAction.java:42)
at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967)
at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308)
at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405)
at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262)
at java.desktop/javax.swing.AbstractButton.doClick(AbstractButton.java:369)
at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1020)
at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1064)
at java.desktop/java.awt.Component.processMouseEvent(Component.java:6635)
at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342)
at java.desktop/java.awt.Component.processEvent(Component.java:6400)
at java.desktop/java.awt.Container.processEvent(Container.java:2263)
at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5011)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843)
at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918)
at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547)
at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307)
at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
... 5 more

Re: Grand livre message d'erreur à la 1ère ouverture

Posté : ven. déc. 25, 2020 9:57 pm
par CrossWay-IMMO
Je réponds à ma propre question suite au constat suivant :
Je suis sur un portable récent avec un processeur Intel core i7 10th GEN et un disque dur SSD.
De ce fait l'application OC s'ouvre très rapidement, et lorsque je lance toute de suite derrière le Grand Livre, j'ai le message d'erreur mentionné.
Si j'attends une dizaine de seconde après le lancement d'OC avant de lancer le Grand Livre, je n'ai plus de message d'erreur et il le Grand Livre s'affiche normalement.
OC a visiblement besoin d'un peu de temps pour charger la base et pouvoir lancer le Grand Livre.

Re: Grand livre message d'erreur à la 1ère ouverture

Posté : sam. déc. 26, 2020 9:53 am
par guillaume
Bonjour,

Oui, effectivement, il y a un bug sur 1.6.3 (corrigé depuis) sur les caches.
Ils sont chargés de manière asynchrone au démarrage du logiciel,
donc si vous êtes plus rapide à faire la manip que le chargement du cache, boom :? .

Cordialement,