Bug lors de l'ajout d'un bon de réception

Un conseil pour l'installation? Un problème technique pour installer OpenConcerto?
Répondre
arfang
Messages : 30
Enregistré le : mar. janv. 10, 2012 3:50 am

jeu. févr. 25, 2016 6:59 pm

Bonjour,

J'ai effectué la mise à jour de la 1.4b à 1.4 hier et depuis j'ai un bug lors de la création des bons de réception à partir de la liste des commandes fournisseurs. J'ai un message d'erreur (voir ci-dessous). Le bon de réception est créé mais pas d'ajout au stock et le bon est à 0 même si j'ai 12 articles dedans. Bref c'est la cata.
Erreur pendant l'ajout

java.lang.NullPointerException
org.openconcerto.utils.ExceptionHandler: Erreur pendant l'ajout
at org.openconcerto.utils.ExceptionHandler.handle(ExceptionHandler.java:112)
at org.openconcerto.utils.ExceptionHandler.handle(ExceptionHandler.java:116)
at org.openconcerto.sql.view.EditPanel.actionPerformed(EditPanel.java:440)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(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.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$400(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.security.AccessControlContext$1.doIntersectionPrivilege(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.AccessControlContext$1.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.IllegalStateException: java.lang.NullPointerException
at org.openconcerto.erp.core.supplychain.receipt.component.BonReceptionSQLComponent.insert(BonReceptionSQLComponent.java:489)
at org.openconcerto.sql.element.BaseSQLComponent.insert(BaseSQLComponent.java:680)
at org.openconcerto.sql.view.EditPanel.ajouter(EditPanel.java:474)
at org.openconcerto.sql.view.EditPanel.actionPerformed(EditPanel.java:438)
... 37 more
Caused by: java.lang.NullPointerException
at org.openconcerto.erp.core.supplychain.receipt.component.BonReceptionSQLComponent.insert(BonReceptionSQLComponent.java:458)
... 40 more
J'ai effacé le cache dans le dossier ".java" au cas où... mais rien n'y fait. Une petite piste ou un dépannage serait bienvenu dans le pire des cas. Je dois passer mes variations de stock à la main. (Je précise que les articles en question ont bien la case "gérer le stock" cochée.

Merci d'avance
SARL ARFANG - (Serveur Debian 8 Jessie) - Openconcerto Multiposte 1.5.1b - Sun Java 8
Répondre