SeyoS / openconcerto

Automatically exported from code.google.com/p/openconcerto
0 stars 0 forks source link

Etat-Liste des écritures : message d'erreur lors de la sélection d'une ligne #66

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Etat -> Liste des écritures : la liste des écriture s'affiche
2. Sélectionner une ligne : message d'erreur
UncaughtException on thread Thread[AWT-EventQueue-0,6,main]

Cannot format given Object as a Number
org.openconcerto.utils.ExceptionHandler: UncaughtException on thread 
Thread[AWT-EventQueue-0,6,main]
    at org.openconcerto.utils.ExceptionHandler.handle(ExceptionHandler.java:88)
    at org.openconcerto.utils.ExceptionHandler.handle(ExceptionHandler.java:92)
    at org.openconcerto.erp.config.Gestion$2.uncaughtException(Gestion.java:183)
    at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:981)
    at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:976)
    at apple.awt.CToolkit$EventQueueExceptionHandler.handle(CToolkit.java:81)
    at sun.reflect.GeneratedMethodAccessor30.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at java.awt.EventDispatchThread.handleException(EventDispatchThread.java:412)
    at java.awt.EventDispatchThread.processException(EventDispatchThread.java:318)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:312)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: java.lang.IllegalArgumentException: Cannot format given Object as a 
Number
    at java.text.DecimalFormat.format(DecimalFormat.java:486)
    at java.text.Format.format(Format.java:140)
    at org.openconcerto.utils.GestionDevise.currencyToString(GestionDevise.java:150)
    at org.openconcerto.erp.core.common.element.ComptaSQLConfElement$1.getTableCellRendererComponent(ComptaSQLConfElement.java:50)
    at org.openconcerto.erp.core.finance.accounting.ui.EcritureCheckedRenderer.getTableCellRendererComponent(EcritureCheckedRenderer.java:57)
    at org.openconcerto.ui.table.AlternateTableCellRenderer.getTableCellRendererComponent(AlternateTableCellRenderer.java:178)
    at javax.swing.JTable$AccessibleJTable.getAccessibleChild(JTable.java:7017)
    at javax.swing.JTable$AccessibleJTable.getAccessibleAt(JTable.java:7404)
    at javax.swing.JTable$AccessibleJTable.valueChanged(JTable.java:6917)
    at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:167)
    at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:147)
    at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:194)
    at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:388)
    at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:398)
    at javax.swing.DefaultListSelectionModel.setSelectionInterval(DefaultListSelectionModel.java:442)
    at javax.swing.JTable.changeSelectionModel(JTable.java:2346)
    at javax.swing.JTable.changeSelection(JTable.java:2413)
    at javax.swing.plaf.basic.BasicTableUI$Handler.adjustSelection(BasicTableUI.java:1085)
    at javax.swing.plaf.basic.BasicTableUI$Handler.mousePressed(BasicTableUI.java:1008)
    at javax.swing.plaf.basic.BasicTableUI$MouseInputHandler.mousePressed(BasicTableUI.java:768)
    at com.apple.laf.AquaTableUI$MouseInputHandler.mousePressed(AquaTableUI.java:82)
    at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:263)
    at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:262)
    at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:262)
    at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:262)
    at java.awt.Component.processMouseEvent(Component.java:6411)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3275)
    at java.awt.Component.processEvent(Component.java:6179)
    at java.awt.Container.processEvent(Container.java:2083)
    at java.awt.Component.dispatchEventImpl(Component.java:4776)
    at java.awt.Container.dispatchEventImpl(Container.java:2141)
    at java.awt.Component.dispatchEvent(Component.java:4604)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4619)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4277)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4210)
    at java.awt.Container.dispatchEventImpl(Container.java:2127)
    at java.awt.Window.dispatchEventImpl(Window.java:2489)
    at java.awt.Component.dispatchEvent(Component.java:4604)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:717)
    at java.awt.EventQueue.access$400(EventQueue.java:82)
    at java.awt.EventQueue$2.run(EventQueue.java:676)
    at java.awt.EventQueue$2.run(EventQueue.java:674)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:97)
    at java.awt.EventQueue$3.run(EventQueue.java:690)
    at java.awt.EventQueue$3.run(EventQueue.java:688)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:687)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
    ... 5 more

What is the expected output? What do you see instead?
Sélection de la ligne sans message d'erreur

What version of the product are you using? On what operating system?
OpenConcerto 1.3b3 multiposte - Client : Mac OS 10.6.8 - Serveur Ubuntu 10.04 - 
Postgresql 8.4

Please provide any additional information below.

Original issue reported on code.google.com by ac2ssoft...@gmail.com on 29 Aug 2013 at 4:46

GoogleCodeExporter commented 9 years ago
Problème non reproduit ce jour !!!

Original comment by ac2ssoft...@gmail.com on 30 Aug 2013 at 4:34

GoogleCodeExporter commented 9 years ago
Corrigé en 1.3b4

Original comment by guillaum...@gmail.com on 7 Sep 2013 at 4:17