Page 1 sur 1

[Résolu] Erreur ajout de nouveau client

Posté : dim. oct. 01, 2017 3:41 pm
par AleXtrap
Bonjour à tous,

Après plusieurs semaines loin d'OC car je n'arrive pas a gérer tout ce que je veux comme je le veux, je m'y remet gentiment et voila-t-y pas que j'ai une erreur quand je veux créer un client
Erreur d'initialisation
org.openconcerto.utils.ExceptionHandler: Erreur d'initialisation
at org.openconcerto.utils.ExceptionHandler.handle(ExceptionHandler.java:121)
at org.openconcerto.utils.ExceptionHandler.handle(ExceptionHandler.java:125)
at org.openconcerto.sql.view.EditPanel.<init>(EditPanel.java:211)
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:607)
at org.openconcerto.sql.view.IListPanel.handleAction(IListPanel.java:519)
at org.openconcerto.sql.view.ListeAddPanel.handleAction(ListeAddPanel.java:65)
at org.openconcerto.sql.view.IListPanel.actionPerformed(IListPanel.java:468)
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.erp.core.customerrelationship.customer.element.CustomerSQLComponent.createDefaults(CustomerSQLComponent.java:116)
at org.openconcerto.sql.element.SQLComponent.createValidDefaults(SQLComponent.java:226)
at org.openconcerto.sql.element.BaseSQLComponent.selectDefaults(BaseSQLComponent.java:769)
at org.openconcerto.sql.element.BaseSQLComponent.select(BaseSQLComponent.java:756)
at org.openconcerto.sql.element.BaseSQLComponent.select(BaseSQLComponent.java:737)
at org.openconcerto.erp.core.customerrelationship.customer.element.CustomerSQLComponent.select(CustomerSQLComponent.java:244)
at org.openconcerto.sql.element.BaseSQLComponent.resetValue(BaseSQLComponent.java:683)
at org.openconcerto.sql.element.SQLComponent.uiInit(SQLComponent.java:213)
at org.openconcerto.sql.view.EditPanel.<init>(EditPanel.java:204)
... 43 more
Je pense qu'il y a merdum dans la base de donnée, mais je m'arrête là dans la compréhension.

Une fois cette erreur fermée, la fenetre de création client s'affiche mais avec elle une seconde 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:121)
at org.openconcerto.utils.ExceptionHandler.handle(ExceptionHandler.java:125)
at org.openconcerto.erp.config.Gestion$2.uncaughtException(Gestion.java:198)
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.erp.core.customerrelationship.customer.element.CustomerSQLComponent.createDefaults(CustomerSQLComponent.java:116)
at org.openconcerto.sql.element.SQLComponent.createValidDefaults(SQLComponent.java:226)
at org.openconcerto.sql.element.BaseSQLComponent.selectDefaults(BaseSQLComponent.java:769)
at org.openconcerto.sql.element.BaseSQLComponent.select(BaseSQLComponent.java:756)
at org.openconcerto.sql.element.BaseSQLComponent.select(BaseSQLComponent.java:737)
at org.openconcerto.erp.core.customerrelationship.customer.element.CustomerSQLComponent.select(CustomerSQLComponent.java:244)
at org.openconcerto.sql.element.BaseSQLComponent.resetValue(BaseSQLComponent.java:683)
at org.openconcerto.sql.view.EditPanel.resetValue(EditPanel.java:567)
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:519)
at org.openconcerto.sql.view.ListeAddPanel.handleAction(ListeAddPanel.java:65)
at org.openconcerto.sql.view.IListPanel.actionPerformed(IListPanel.java:468)
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
Alors comment dire,... help please :)

D'avance merci.

PS, question subsidiaire : biiiiiip (censuré, j'avais oublié la fonction recherche :oops: )

Re: Erreur ajout de nouveau client

Posté : lun. oct. 02, 2017 8:42 am
par guillaume
Bonjour,

OpenConcerto ne retrouve pas le mode de règlement par défaut pour les clients.

Ça n'arrive pas sans "bricoler"...

Cordialement,

Re: Erreur ajout de nouveau client

Posté : jeu. oct. 12, 2017 6:57 pm
par AleXtrap
Edit : Résolu !! et sans bricolage ;)

Bonsoir,

Merci Guillaume :D

Point de vue "bricolage", je me débrouille mieux avec un poste à souder qu'avec un clavier, mais comme on dit c'est en forgeant qu'on devient forgeron :oops:

dès que j'ai 5 minutes, j'essaie de résoudre le souci xD

Re: Erreur ajout de nouveau client

Posté : jeu. juin 13, 2024 8:04 am
par julkien
AleXtrap a écrit :
jeu. oct. 12, 2017 6:57 pm
Edit : Résolu !! et sans bricolage ;)

Bonsoir,

Merci Guillaume :D

Point de vue "bricolage", je me débrouille mieux avec un poste à souder qu'avec un clavier, mais comme on dit c'est en forgeant qu'on devient forgeron :oops:

dès que j'ai 5 minutes, j'essaie de résoudre le souci xD
Hello
pourrais tu m'expliquer comment tu a résolu ça?
J'e n'ai pas bricolé pourtant ;)

Re: [Résolu] Erreur ajout de nouveau client

Posté : jeu. juin 13, 2024 6:55 pm
par AleXtrap
Bonjour Julkien,

À vrai dire, je ne me rappelle même plus de cette erreur donc encore moins de sa résolution.

Désolé de ne pouvoir t’aider plus.
Bien à toi.