Page 1 sur 1

Impossible de creer un fournisseur

Posté : ven. nov. 16, 2012 2:38 pm
par zarlab
Bonjour tout est dans le titre.
J'ai cc message d'erreur :

Code : Tout sélectionner

Erreur d'initialisation

unknown field ID_COMPTE_PCE_CHARGE in FOURNISSEUR. The table FOURNISSEUR contains the followins fields: [ID_FOURNISSEUR, TYPE, NOM, CODE, ID_ADRESSE, ID_ADRESSE_E, ARCHIVE, ORDRE, UE, ID_COMPTE_PCE, ID_MODE_REGLEMENT, TEL, FAX, MODIFICATION_DATE, ID_USER_COMMON_MODIFY, ID_USER_COMMON_CREATE, CREATION_DATE, ID_LANGUE, ID_DEVISE, RESPONSABLE, TEL_P, MAIL, INFOS]
org.openconcerto.utils.ExceptionHandler: Erreur d'initialisation
	at org.openconcerto.utils.ExceptionHandler.handle(ExceptionHandler.java:86)
	at org.openconcerto.utils.ExceptionHandler.handle(ExceptionHandler.java:90)
	at org.openconcerto.sql.view.EditPanel.<init>(EditPanel.java:198)
	at org.openconcerto.sql.view.EditPanel.<init>(EditPanel.java:130)
	at org.openconcerto.sql.view.EditFrame.<init>(EditFrame.java:83)
	at org.openconcerto.sql.view.EditFrame.<init>(EditFrame.java:65)
	at org.openconcerto.sql.sqlobject.ElementComboBox.getAddFrame(ElementComboBox.java:326)
	at org.openconcerto.sql.sqlobject.ElementComboBox.actionPerformed(ElementComboBox.java:305)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2012)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2335)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
	at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
	at java.awt.Component.processMouseEvent(Component.java:6389)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3268)
	at java.awt.Component.processEvent(Component.java:6154)
	at java.awt.Container.processEvent(Container.java:2045)
	at java.awt.Component.dispatchEventImpl(Component.java:4750)
	at java.awt.Container.dispatchEventImpl(Container.java:2103)
	at java.awt.Component.dispatchEvent(Component.java:4576)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4633)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4297)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4227)
	at java.awt.Container.dispatchEventImpl(Container.java:2089)
	at java.awt.Window.dispatchEventImpl(Window.java:2518)
	at java.awt.Component.dispatchEvent(Component.java:4576)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:672)
	at java.awt.EventQueue.access$400(EventQueue.java:96)
	at java.awt.EventQueue$2.run(EventQueue.java:631)
	at java.awt.EventQueue$2.run(EventQueue.java:629)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:116)
	at java.awt.EventQueue$3.run(EventQueue.java:645)
	at java.awt.EventQueue$3.run(EventQueue.java:643)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:642)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)
Caused by: java.lang.IllegalArgumentException: unknown field ID_COMPTE_PCE_CHARGE in FOURNISSEUR. The table FOURNISSEUR contains the followins fields: [ID_FOURNISSEUR, TYPE, NOM, CODE, ID_ADRESSE, ID_ADRESSE_E, ARCHIVE, ORDRE, UE, ID_COMPTE_PCE, ID_MODE_REGLEMENT, TEL, FAX, MODIFICATION_DATE, ID_USER_COMMON_MODIFY, ID_USER_COMMON_CREATE, CREATION_DATE, ID_LANGUE, ID_DEVISE, RESPONSABLE, TEL_P, MAIL, INFOS]
	at org.openconcerto.sql.model.SQLTable.getField(SQLTable.java:699)
	at org.openconcerto.sql.element.BaseSQLComponent.getField(BaseSQLComponent.java:150)
	at org.openconcerto.sql.element.BaseSQLComponent.addView(BaseSQLComponent.java:244)
	at org.openconcerto.sql.element.BaseSQLComponent.addView(BaseSQLComponent.java:236)
	at org.openconcerto.erp.core.supplychain.supplier.component.FournisseurSQLComponent.addViews(FournisseurSQLComponent.java:332)
	at org.openconcerto.sql.element.SQLComponent.uiInit(SQLComponent.java:148)
	at org.openconcerto.sql.view.EditPanel.<init>(EditPanel.java:192)
	... 42 more
Je suis sous xubuntu 12.04, utilisant la version 1.2.

Re: Impossible de creer un fournisseur

Posté : ven. nov. 16, 2012 4:24 pm
par guillaume
Bonjour,

Votre base de données n'est pas en 1.2... il vous manque le champs ID_COMPTE_PCE_CHARGE dans la table FOURNISSEUR.
Utilisez l'outil de configuration, onglet Mise à jour...

Cordialement,