Page 1 sur 1

Bugs version 1.5

Posté : mer. juil. 05, 2017 11:59 am
par doc
Bonjour, je propose de répertorier sur ce fil tous les bugs décelés dans la version 1.5, sous la forme ci-dessous:

- DESCRIPTION:
Erreur lors du changement de thème, au redémarrage d'OC, le thème est bien appliqué et aucun message d'erreur supplémnetaire.

- MARCHE A SUIVRE POUR LE REPRODUIRE:
Modifier le thème dans les paramètres, appliquer et quitter

- MESSAGE D'ERREUR:

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: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 sun.font.FontDesignMetrics$MetricsKey.init(Unknown Source)
	at sun.font.FontDesignMetrics.getMetrics(Unknown Source)
	at sun.swing.SwingUtilities2.getFontMetrics(Unknown Source)
	at javax.swing.JComponent.getFontMetrics(Unknown Source)
	at sun.swing.MenuItemLayoutHelper.reset(Unknown Source)
	at javax.swing.plaf.synth.SynthMenuItemLayoutHelper.<init>(Unknown Source)
	at javax.swing.plaf.synth.SynthGraphicsUtils.paint(Unknown Source)
	at javax.swing.plaf.synth.SynthMenuUI.paint(Unknown Source)
	at javax.swing.plaf.synth.SynthMenuUI.update(Unknown Source)
	at javax.swing.JComponent.paintComponent(Unknown Source)
	at javax.swing.JComponent.paint(Unknown Source)
	at javax.swing.JComponent.paintChildren(Unknown Source)
	at javax.swing.JComponent.paint(Unknown Source)
	at javax.swing.JComponent.paintChildren(Unknown Source)
	at javax.swing.JComponent.paint(Unknown Source)
	at javax.swing.JLayeredPane.paint(Unknown Source)
	at javax.swing.JComponent.paintChildren(Unknown Source)
	at javax.swing.JComponent.paint(Unknown Source)
	at javax.swing.JComponent.paintToOffscreen(Unknown Source)
	at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source)
	at javax.swing.RepaintManager$PaintManager.paint(Unknown Source)
	at javax.swing.RepaintManager.paint(Unknown Source)
	at javax.swing.JComponent._paintImmediately(Unknown Source)
	at javax.swing.JComponent.paintImmediately(Unknown Source)
	at javax.swing.RepaintManager$4.run(Unknown Source)
	at javax.swing.RepaintManager$4.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
	at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
	at javax.swing.RepaintManager.prePaintDirtyRegions(Unknown Source)
	at javax.swing.RepaintManager.access$1200(Unknown Source)
	at javax.swing.RepaintManager$ProcessingRunnable.run(Unknown Source)
	at java.awt.event.InvocationEvent.dispatch(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.awt.EventQueue.dispatchEvent(Unknown Source)
	... 6 more


Re: Bugs version 1.5

Posté : mer. juil. 05, 2017 12:32 pm
par guillaume
A priori un bug de Swing... ca va pas être simple d'en trouver la cause...

Re: Bugs version 1.5

Posté : mer. juil. 05, 2017 2:01 pm
par doc
Bonjour Guillaume, c'est pas drôle sinon :).
A priori ce n'est pas trop handicapant puisque c'est juste lors du changement et après plus rien, je pense que vos ressources doivent plutôt s'orienter vers d'autres bugs, c'était juste pour le noter.

Re: Bugs version 1.5

Posté : mar. juil. 11, 2017 3:48 pm
par Fabrice88
- DESCRIPTION:
Le modification des modèles des documents est impossible.

- MARCHE A SUIVRE POUR LE REPRODUIRE:
Tenter de modifier un modèle

- MESSAGE D'ERREUR:

Code : Tout sélectionner

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

Copie impossible
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(ThreadGroup.java:1057)
	at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1052)
	at java.awt.EventDispatchThread.processException(EventDispatchThread.java:223)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:215)
	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.IllegalStateException: Copie impossible
	at org.openconcerto.erp.generationDoc.DefaultLocalTemplateProvider.unSync(DefaultLocalTemplateProvider.java:116)
	at org.openconcerto.erp.preferences.TemplateTableModel.unsync(TemplateTableModel.java:78)
	at org.openconcerto.erp.preferences.TemplatePreferencePanel.modifyTemplate(TemplatePreferencePanel.java:327)
	at org.openconcerto.erp.preferences.TemplatePreferencePanel$5.actionPerformed(TemplatePreferencePanel.java:233)
	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:6533)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
	at java.awt.Component.processEvent(Component.java:6298)
	at java.awt.Container.processEvent(Container.java:2236)
	at java.awt.Component.dispatchEventImpl(Component.java:4889)
	at java.awt.Container.dispatchEventImpl(Container.java:2294)
	at java.awt.Component.dispatchEvent(Component.java:4711)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
	at java.awt.Container.dispatchEventImpl(Container.java:2280)
	at java.awt.Window.dispatchEventImpl(Window.java:2746)
	at java.awt.Component.dispatchEvent(Component.java:4711)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
	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:80)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
	at java.awt.EventQueue$4.run(EventQueue.java:731)
	at java.awt.EventQueue$4.run(EventQueue.java:729)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
	... 5 more
Caused by: java.io.FileNotFoundException: Configuration/Template/Default/local_Devis.ods (Read-only file system)
	at java.io.FileOutputStream.open0(Native Method)
	at java.io.FileOutputStream.open(FileOutputStream.java:270)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:162)
	at org.openconcerto.utils.FileUtils.copyFile(FileUtils.java:382)
	at org.openconcerto.utils.FileUtils.copyFile(FileUtils.java:366)
	at org.openconcerto.erp.generationDoc.DefaultLocalTemplateProvider.unSync(DefaultLocalTemplateProvider.java:113)
	... 39 more