Page 1 sur 2

Impossible d'Ajouter un fournisseur en V1.4

Posté : sam. janv. 16, 2016 10:54 am
par ChrisParis
Bonjour
Impossible d'Ajouter un fournisseur en V1.4
Après avoir renseigné tous les champs (en jaune) obligatoires et même tous les autres,
le bouton Ajouter reste grisé et le message nous dit 'les champs de saisie ne sont pas remplis correctement'

Sachez qu'à l'ouverture de la form Saisie du fournisseur, nous avons une ou deux erreurs.

Erreur d'initialisation
org.openconcerto.utils.ExceptionHandler: Erreur d'initialisation
at org.openconcerto.utils.ExceptionHandler.handle(ExceptionHandler.java:112)
at org.openconcerto.utils.ExceptionHandler.handle(ExceptionHandler.java:116)
at org.openconcerto.sql.view.EditPanel.<init>(EditPanel.java:213)
at org.openconcerto.sql.view.EditPanel.<init>(EditPanel.java:141)
at org.openconcerto.sql.view.EditFrame.<init>(EditFrame.java:97)
at org.openconcerto.sql.view.EditFrame.<init>(EditFrame.java:79)
at org.openconcerto.sql.view.IListPanel.getCreateFrame(IListPanel.java:560)
at org.openconcerto.sql.view.IListPanel.handleAction(IListPanel.java:476)
at org.openconcerto.sql.view.ListeAddPanel.handleAction(ListeAddPanel.java:52)
at org.openconcerto.sql.view.IListPanel.actionPerformed(IListPanel.java:425)
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.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$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)
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.NullPointerException
at org.openconcerto.sql.model.SQLRowAccessor.getInt(SQLRowAccessor.java:139)
at org.openconcerto.erp.core.supplychain.supplier.component.FournisseurSQLComponent.createDefaults(FournisseurSQLComponent.java:418)
at org.openconcerto.sql.element.BaseSQLComponent.selectDefaults(BaseSQLComponent.java:704)
at org.openconcerto.sql.element.BaseSQLComponent.select(BaseSQLComponent.java:691)
at org.openconcerto.sql.element.BaseSQLComponent.select(BaseSQLComponent.java:672)
at org.openconcerto.erp.core.supplychain.supplier.component.FournisseurSQLComponent.select(FournisseurSQLComponent.java:389)
at org.openconcerto.sql.element.BaseSQLComponent.resetValue(BaseSQLComponent.java:638)
at org.openconcerto.sql.element.SQLComponent.uiInit(SQLComponent.java:188)
at org.openconcerto.sql.view.EditPanel.<init>(EditPanel.java:206)
... 43 more

et

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:112)
at org.openconcerto.utils.ExceptionHandler.handle(ExceptionHandler.java:116)
at org.openconcerto.erp.config.Gestion$2.uncaughtException(Gestion.java:194)
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.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.NullPointerException
at org.openconcerto.sql.model.SQLRowAccessor.getInt(SQLRowAccessor.java:139)
at org.openconcerto.erp.core.supplychain.supplier.component.FournisseurSQLComponent.createDefaults(FournisseurSQLComponent.java:418)
at org.openconcerto.sql.element.BaseSQLComponent.selectDefaults(BaseSQLComponent.java:704)
at org.openconcerto.sql.element.BaseSQLComponent.select(BaseSQLComponent.java:691)
at org.openconcerto.sql.element.BaseSQLComponent.select(BaseSQLComponent.java:672)
at org.openconcerto.erp.core.supplychain.supplier.component.FournisseurSQLComponent.select(FournisseurSQLComponent.java:389)
at org.openconcerto.sql.element.BaseSQLComponent.resetValue(BaseSQLComponent.java:638)
at org.openconcerto.sql.view.EditPanel.resetValue(EditPanel.java:565)
at org.openconcerto.sql.view.EditFrame$3.hierarchyChanged(EditFrame.java:159)
at java.awt.Component.processHierarchyEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Window.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(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.Component.createHierarchyEvents(Unknown Source)
at java.awt.Container.createHierarchyEvents(Unknown Source)
at java.awt.Component.show(Unknown Source)
at java.awt.Window.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 org.openconcerto.ui.FrameUtil.show(FrameUtil.java:32)
at org.openconcerto.sql.view.IListPanel.handleAction(IListPanel.java:476)
at org.openconcerto.sql.view.ListeAddPanel.handleAction(ListeAddPanel.java:52)
at org.openconcerto.sql.view.IListPanel.actionPerformed(IListPanel.java:425)
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.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$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)
... 6 more


Merci pour votre aide !

Re: Impossible d'Ajouter un fournisseur en V1.4

Posté : sam. janv. 16, 2016 2:54 pm
par guillaume
Le mode de vente par défaut dans vos préférences est manquant...
Corrigez et fini le problème!

Re: Impossible d'Ajouter un fournisseur en V1.4

Posté : mar. janv. 19, 2016 3:01 pm
par ChrisParis
Bonjour Guillaume

Merci pour le retour

1 - Je n'ai pas trouvé le champ correspondant dans les préférences. Où se cache-t-il?

2 - J'ai commandé le manuel il y a déjà qques jours mais je ne l'ai pas reçu.

Merci

Christian

Re: Impossible d'Ajouter un fournisseur en V1.4

Posté : mar. janv. 19, 2016 5:30 pm
par guillaume
Bonjour,

Préférences / Globales / Mode de règlement par défaut !

Pour le manuel, il est parti ce jour.

Cordialement,

Re: Impossible d'Ajouter un fournisseur en V1.4

Posté : mar. janv. 19, 2016 7:59 pm
par ChrisParis
Bonjour

J'ai et avais bien configuré un mode de paiement client et fournisseur.
Dans les deux cas j'ai mis CB mais j'ai tjrs mon erreur.

Re: Impossible d'Ajouter un fournisseur en V1.4

Posté : ven. janv. 22, 2016 7:22 am
par ChrisParis
Bonjour

Je voulais ajouter une précision.
J'étais en version 1.3 et ai suivi la procédure de migration vers 1.4.
En 1.3 je n'avais pas de souci et je n'ai pas modifié la configuration en 1.4.
Quand je lance OC maintenant, j'ai d'abord cette erreur

UncaughtException on thread Thread[Cache preload,1,main]

no element for ID_CLIENT_DEPARTEMENT in org.openconcerto.erp.core.sales.quote.element.DevisSQLElement "OpenConcerto"."OpenConcerto50"."DEVIS"
org.openconcerto.utils.ExceptionHandler: UncaughtException on thread Thread[Cache preload,1,main]
at org.openconcerto.utils.ExceptionHandler.handle(ExceptionHandler.java:112)
at org.openconcerto.utils.ExceptionHandler.handle(ExceptionHandler.java:116)
at org.openconcerto.erp.config.Gestion$2.uncaughtException(Gestion.java:194)
at java.lang.ThreadGroup.uncaughtException(Unknown Source)
at java.lang.ThreadGroup.uncaughtException(Unknown Source)
at java.lang.Thread.dispatchUncaughtException(Unknown Source)
Caused by: java.lang.IllegalStateException: no element for ID_CLIENT_DEPARTEMENT in org.openconcerto.erp.core.sales.quote.element.DevisSQLElement "OpenConcerto"."OpenConcerto50"."DEVIS"
at org.openconcerto.sql.element.SQLElement.getForeignElement(SQLElement.java:399)
at org.openconcerto.sql.element.SQLElement.initFF(SQLElement.java:251)
at org.openconcerto.sql.element.SQLElement.getNormalForeignFields(SQLElement.java:828)
at org.openconcerto.sql.element.SQLElement.loadAllSafe(SQLElement.java:1402)
at org.openconcerto.sql.model.UndefinedRowValuesCache.preload(UndefinedRowValuesCache.java:84)
at org.openconcerto.erp.action.NouvelleConnexionAction$2.run(NouvelleConnexionAction.java:364)
Caused by: java.lang.IllegalStateException: no element for "OpenConcerto"."OpenConcerto50"."CLIENT_DEPARTEMENT"
at org.openconcerto.sql.element.SQLElement.getElement(SQLElement.java:385)
at org.openconcerto.sql.element.SQLElement.getForeignElement(SQLElement.java:397)
... 5 more

Merci, j'ai reçu mon manuel. :)



cdlt

Re: Impossible d'Ajouter un fournisseur en V1.4

Posté : ven. janv. 22, 2016 11:30 am
par guillaume
Bonjour,

Si vous voyez :
no element for ID_CLIENT_DEPARTEMENT in org.openconcerto.erp.core.sales.quote.element.DevisSQLElement
c'est que vous n'avez pas lancé un OpenConcerto en version 1.4 !

Cordialement,

Re: Impossible d'Ajouter un fournisseur en V1.4

Posté : ven. janv. 22, 2016 11:32 am
par guillaume
guillaume a écrit :Bonjour,

Si vous voyez :
no element for ID_CLIENT_DEPARTEMENT in org.openconcerto.erp.core.sales.quote.element.DevisSQLElement
c'est que vous n'avez pas lancé un OpenConcerto en version 1.4 !
(votre base de données est en 1.4)

Cordialement,

Re: Impossible d'Ajouter un fournisseur en V1.4

Posté : ven. janv. 22, 2016 7:29 pm
par ChrisParis
Bonsoir

Merci pour la réponse, tout fonctionne bien maintenant. :D

Re: Impossible d'Ajouter un fournisseur en V1.4

Posté : ven. mars 04, 2016 1:39 pm
par EricM
Hello Guillaume,

Merci pour cette précision.
Par contre pour ma part j'ai la même stackTrace Java mais je suis sur Openconcerto multiposte V1.3.2 (de mémoire) avec une base de données PostgreSQL en V1.3.
DevisSQLElement.png
stackTrace de l'erreur
DevisSQLElement.png (54.9 Kio) Vu 3909 fois
Aurais tu une piste dans mon cas (sans me renvoyer vers une mise à jour en 1.4)...

D'avance merci.

ps voir mon post http://www.openconcerto.org/forum/viewt ... port#p6023