problème création client et article

Un conseil pour l'installation? Un problème technique pour installer OpenConcerto?
Répondre
piscines-silvani
Messages : 1
Enregistré le : mar. déc. 24, 2019 9:28 am

jeu. déc. 26, 2019 2:16 pm

bonjour
je suis un nouvel utilisateur mais impossible de creer un client ni un article
je suis sous linux fedora version de openconcerto 1.6.3
voici les codes erreurs
j'ai loupé quelques chose dans la configuration initiale ??
merci pour votre aide
cordialement

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:144)
at org.openconcerto.utils.ExceptionHandler.handle(ExceptionHandler.java:151)
at org.openconcerto.erp.config.Gestion$2.uncaughtException(Gestion.java:226)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1057)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1052)
at java.awt.EventDispatchThread.processException(EventDispatchThread.java:227)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:219)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.NullPointerException
at org.openconcerto.erp.core.sales.product.ui.CustomerProductQtyPriceListTable.init(CustomerProductQtyPriceListTable.java:68)
at org.openconcerto.erp.core.sales.product.ui.CustomerProductQtyPriceListTable.<init>(CustomerProductQtyPriceListTable.java:55)
at org.openconcerto.erp.core.customerrelationship.customer.element.CustomerSQLComponent.<init>(CustomerSQLComponent.java:93)
at org.openconcerto.erp.core.customerrelationship.customer.element.CustomerSQLElement.createComponent(CustomerSQLElement.java:65)
at org.openconcerto.sql.element.SQLElement.createComponent(SQLElement.java:2964)
at org.openconcerto.sql.element.SQLElement.createComponent(SQLElement.java:2945)
at org.openconcerto.sql.element.SQLElement.createDefaultComponent(SQLElement.java:2932)
at org.openconcerto.sql.view.EditFrame.<init>(EditFrame.java:80)
at org.openconcerto.sql.view.IListPanel.getCreateFrame(IListPanel.java:652)
at org.openconcerto.sql.view.IListPanel.handleAction(IListPanel.java:564)
at org.openconcerto.sql.view.ListeAddPanel.handleAction(ListeAddPanel.java:65)
at org.openconcerto.sql.view.IListPanel.actionPerformed(IListPanel.java:513)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
... 5 more
clarquey - IRIS IT
Messages : 7
Enregistré le : mer. févr. 12, 2020 9:14 am

mer. mars 18, 2020 9:28 am

Bonjour,

J'ai exactement le même problème.
- Fedora 31
- Openconcerto version 1.6.3

Le message d'erreur est similaire.
Il m'est impossible de créer un client.
En revanche, je peux créer des articles sans problème.

Avez vous trouvé une solution?

par avance, merci.

Code : Tout sélectionner

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:144)
	at org.openconcerto.utils.ExceptionHandler.handle(ExceptionHandler.java:151)
	at org.openconcerto.erp.config.Gestion$2.uncaughtException(Gestion.java:226)
	at java.base/java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1054)
	at java.base/java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1049)
	at java.desktop/java.awt.EventDispatchThread.processException(EventDispatchThread.java:222)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:214)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: java.lang.NullPointerException
	at org.openconcerto.erp.core.sales.product.ui.CustomerProductQtyPriceListTable.init(CustomerProductQtyPriceListTable.java:68)
	at org.openconcerto.erp.core.sales.product.ui.CustomerProductQtyPriceListTable.<init>(CustomerProductQtyPriceListTable.java:55)
	at org.openconcerto.erp.core.customerrelationship.customer.element.CustomerSQLComponent.<init>(CustomerSQLComponent.java:93)
	at org.openconcerto.erp.core.customerrelationship.customer.element.CustomerSQLElement.createComponent(CustomerSQLElement.java:65)
	at org.openconcerto.sql.element.SQLElement.createComponent(SQLElement.java:2964)
	at org.openconcerto.sql.element.SQLElement.createComponent(SQLElement.java:2945)
	at org.openconcerto.sql.element.SQLElement.createDefaultComponent(SQLElement.java:2932)
	at org.openconcerto.sql.sqlobject.ElementComboBox.createSQLComponent(ElementComboBox.java:356)
	at org.openconcerto.sql.sqlobject.ElementComboBox.createEditFrame(ElementComboBox.java:349)
	at org.openconcerto.sql.sqlobject.ElementComboBox.getAddFrame(ElementComboBox.java:325)
	at org.openconcerto.sql.sqlobject.ElementComboBox.actionPerformed(ElementComboBox.java:304)
	at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967)
	at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308)
	at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405)
	at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262)
	at java.desktop/javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:279)
	at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297)
	at java.desktop/java.awt.Component.processMouseEvent(Component.java:6636)
	at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342)
	at java.desktop/java.awt.Component.processEvent(Component.java:6401)
	at java.desktop/java.awt.Container.processEvent(Container.java:2263)
	at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5012)
	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4844)
	at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918)
	at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547)
	at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488)
	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307)
	at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2762)
	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4844)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
	... 5 more
clarquey - IRIS IT
Messages : 7
Enregistré le : mer. févr. 12, 2020 9:14 am

mer. mars 18, 2020 10:10 am

pour info lorsque crée un devis, a l'ajout du client, je recois aussi l'erreur suivante qui semble liée :

Code : Tout sélectionner

UncaughtException on thread Thread[AWT-EventQueue-0,6,main]

TARIF_ARTICLE_CLIENT is not a child of DBRoot SQLSchema OpenConcerto48
org.openconcerto.utils.ExceptionHandler: UncaughtException on thread Thread[AWT-EventQueue-0,6,main]
	at org.openconcerto.utils.ExceptionHandler.handle(ExceptionHandler.java:144)
	at org.openconcerto.utils.ExceptionHandler.handle(ExceptionHandler.java:151)
	at org.openconcerto.erp.config.Gestion$2.uncaughtException(Gestion.java:226)
	at java.base/java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1054)
	at java.base/java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1049)
	at java.desktop/java.awt.EventDispatchThread.processException(EventDispatchThread.java:222)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:214)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: org.openconcerto.sql.model.DBStructureItemNotFound: TARIF_ARTICLE_CLIENT is not a child of DBRoot SQLSchema OpenConcerto48
	at org.openconcerto.sql.model.DBStructureItem.getCheckedChild(DBStructureItem.java:101)
	at org.openconcerto.sql.model.DBStructureItem.getDescendant(DBStructureItem.java:135)
	at org.openconcerto.sql.model.DBStructureItem.getContextualDescendant(DBStructureItem.java:269)
	at org.openconcerto.sql.model.DBStructureItem.getContextualDescendant(DBStructureItem.java:287)
	at org.openconcerto.sql.model.DBStructureItem.getDesc(DBStructureItem.java:292)
	at org.openconcerto.sql.model.DBStructureItem.getDesc(DBStructureItem.java:296)
	at org.openconcerto.sql.model.SQLTable.getTable(SQLTable.java:1298)
	at org.openconcerto.erp.core.common.ui.AbstractVenteArticleItemTable.setClient(AbstractVenteArticleItemTable.java:1800)
	at org.openconcerto.erp.core.sales.quote.component.DevisSQLComponent$8.propertyChange(DevisSQLComponent.java:440)
	at java.desktop/java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:341)
	at java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:334)
	at java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:266)
	at java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:287)
	at org.openconcerto.sql.sqlobject.IComboModel.setWantedID(IComboModel.java:622)
	at org.openconcerto.sql.sqlobject.IComboModel.comboValueChanged(IComboModel.java:666)
	at org.openconcerto.sql.sqlobject.IComboModel.fireContentsChanged(IComboModel.java:233)
	at org.openconcerto.utils.model.DefaultIMutableListModel.setSelectedItem(DefaultIMutableListModel.java:80)
	at org.openconcerto.utils.model.DefaultIMutableListModel.setSelectedObject(DefaultIMutableListModel.java:94)
	at org.openconcerto.sql.sqlobject.IComboModel.selectID(IComboModel.java:741)
	at org.openconcerto.sql.sqlobject.IComboModel.setValue(IComboModel.java:559)
	at org.openconcerto.sql.sqlobject.IComboModel.setValue(IComboModel.java:567)
	at org.openconcerto.sql.sqlobject.SQLRequestComboBox.comboValueChanged(SQLRequestComboBox.java:493)
	at org.openconcerto.sql.sqlobject.SQLRequestComboBox.access$7(SQLRequestComboBox.java:490)
	at org.openconcerto.sql.sqlobject.SQLRequestComboBox$9.propertyChange(SQLRequestComboBox.java:267)
	at java.desktop/java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:341)
	at java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:333)
	at java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:266)
	at org.openconcerto.ui.valuewrapper.ValueChangeSupport.fireValueChange(ValueChangeSupport.java:56)
	at org.openconcerto.ui.component.combo.ISearchableCombo.selectionChanged(ISearchableCombo.java:822)
	at org.openconcerto.ui.component.combo.ISearchableCombo$1.contentsChanged(ISearchableCombo.java:224)
	at java.desktop/javax.swing.AbstractListModel.fireContentsChanged(AbstractListModel.java:123)
	at org.openconcerto.utils.model.DefaultIMutableListModel.setSelectedItem(DefaultIMutableListModel.java:80)
	at org.openconcerto.utils.model.DefaultIMutableListModel.setSelectedObject(DefaultIMutableListModel.java:94)
	at org.openconcerto.ui.component.combo.ISearchableCombo.setSelection(ISearchableCombo.java:805)
	at org.openconcerto.ui.component.combo.ISearchableCombo.setComboItemValue(ISearchableCombo.java:793)
	at org.openconcerto.ui.component.combo.ISearchableCombo.setValue(ISearchableCombo.java:782)
	at org.openconcerto.ui.component.combo.ISearchableComboPopup.validateSelection(ISearchableComboPopup.java:218)
	at org.openconcerto.ui.component.combo.ISearchableComboPopup$1.mouseReleased(ISearchableComboPopup.java:84)
	at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:298)
	at java.desktop/java.awt.Component.processMouseEvent(Component.java:6636)
	at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342)
	at java.desktop/java.awt.Component.processEvent(Component.java:6401)
	at java.desktop/java.awt.Container.processEvent(Container.java:2263)
	at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5012)
	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4844)
	at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918)
	at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547)
	at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488)
	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307)
	at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2762)
	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4844)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
	... 5 more
clarquey - IRIS IT
Messages : 7
Enregistré le : mer. févr. 12, 2020 9:14 am

mer. mars 18, 2020 10:56 am

Je viens de résoudre le problème.

Il semble que l'utilitaire de configuration d'OpenConcerto ne permette pas de mettre à niveau la base de donnée d'OpenConcerto (probablement à cause de SeLinux)

N'ayant pas le temps de debugger, je viens donc de faire la mise à jour de la base depuis un poste Windows.
Une fois la base mise a jour, j'ai relancé openconcerto sur Fedora et tout est OK.

N'hesitez pas a me contacter si besoin d'aide.
Répondre