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
Je pense qu'il y a merdum dans la base de donnée, mais je m'arrête là dans la compréhension.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
Une fois cette erreur fermée, la fenetre de création client s'affiche mais avec elle une seconde erreur :
Alors comment dire,... help pleaseUncaughtException 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
D'avance merci.
PS, question subsidiaire : biiiiiip (censuré, j'avais oublié la fonction recherche )