Le 23/09/2023 à 23:54, dev ostorybook a
écrit :
Le
23/09/2023 à 09:43, Bernard Méhaut a écrit :
J'ai édité une scène avec … l'éditeur.
J'ai quitté l'éditeur pour ouvrir
ensuite la scène avec Dactylo. Le programme s'est fermé sans
prévenir. (
2 essais)
Très étrange, ça semble se produire à un endroit où ça ne devrait
pas se produire puisque l'instruction en question est incluse dans
un "try... catch". Au pire, on aurait un message différent, mais
pas de plantage.
J'ai ajouté une instruction pour sécuriser à l'endroit signalé, je
ne suis pas convaincu que ça résolve le problème.
Version mise à jour, JAR disponible.
Dactylo s'affiche mais toujours un message dans la console.
08:43:31.901 oStorybook 5.61a starting with: no option
08:43:32.113 Initialize Synonyms for 'fr'
WARNING: row index is bigger than sorter's row count. Most likely
this is a wrong sorter usage.
EVENT_INIT
Exception:Array index out of range: 1
java.lang.ArrayIndexOutOfBoundsException: Array index out of
range: 1
at java.base/java.util.Vector.get(Vector.java:750)
at
storybook.ui.table.AbstractTable.getEntityFromRow(AbstractTable.java:970)
at
storybook.ui.table.AbstractTable.tableChanged(AbstractTable.java:1206)
at
java.desktop/javax.swing.table.AbstractTableModel.fireTableChanged(AbstractTableModel.java:302)
at
java.desktop/javax.swing.table.AbstractTableModel.fireTableRowsDeleted(AbstractTableModel.java:267)
at
java.desktop/javax.swing.table.DefaultTableModel.removeRow(DefaultTableModel.java:470)
at
storybook.ui.table.EventTable.initTableModel(EventTable.java:83)
at
storybook.ui.table.AbstractTable.modelPropertyChange(AbstractTable.java:415)
at
storybook.ctrl.AbstractCtrl.propertyChange(AbstractCtrl.java:132)
at
java.desktop/java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:343)
at
java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:335)
at
java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:268)
at
storybook.model.AbstractModel.firePropertyChange(AbstractModel.java:96)
at
storybook.model.AbstractModel.firePropertyChange(AbstractModel.java:74)
at
storybook.model.ProjFires$ExecThread.run(ProjFires.java:377)
at java.base/java.lang.Thread.run(Thread.java:833)
Exception in thread "AWT-EventQueue-0"
java.lang.IndexOutOfBoundsException: Invalid index
at
java.desktop/javax.swing.DefaultRowSorter.convertUnsortedUnfiltered(DefaultRowSorter.java:523)
at
java.desktop/javax.swing.DefaultRowSorter.convertRowIndexToModel(DefaultRowSorter.java:506)
at
java.desktop/javax.swing.JTable.convertRowIndexToModel(JTable.java:2686)
at
java.desktop/javax.swing.JTable.getValueAt(JTable.java:2763)
at
java.desktop/javax.swing.JTable.prepareRenderer(JTable.java:5795)
at
storybook.tools.swing.js.JSTable.prepareRenderer(JSTable.java:144)
at
java.desktop/javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2210)
at
java.desktop/javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:2112)
at
java.desktop/javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1908)
at
com.formdev.flatlaf.ui.FlatTableUI.paint(FlatTableUI.java:396)
at
java.desktop/javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
at
java.desktop/javax.swing.JComponent.paintComponent(JComponent.java:842)
at
java.desktop/javax.swing.JComponent.paint(JComponent.java:1119)
at
java.desktop/javax.swing.JComponent.paintChildren(JComponent.java:952)
at
java.desktop/javax.swing.JComponent.paint(JComponent.java:1128)
at
java.desktop/javax.swing.JViewport.paint(JViewport.java:736)
at
java.desktop/javax.swing.JComponent.paintChildren(JComponent.java:952)
at
java.desktop/javax.swing.JComponent.paint(JComponent.java:1128)
at
java.desktop/javax.swing.JComponent.paintToOffscreen(JComponent.java:5311)
at
java.desktop/javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:246)
at
java.desktop/javax.swing.RepaintManager.paint(RepaintManager.java:1337)
at
java.desktop/javax.swing.JComponent._paintImmediately(JComponent.java:5259)
at
java.desktop/javax.swing.JComponent.paintImmediately(JComponent.java:5069)
at
java.desktop/javax.swing.RepaintManager$4.run(RepaintManager.java:879)
at
java.desktop/javax.swing.RepaintManager$4.run(RepaintManager.java:862)
at
java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at
java.desktop/javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:862)
at
java.desktop/javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:835)
at
java.desktop/javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:784)
at
java.desktop/javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1898)
at
java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
at
java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:773)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:720)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:714)
at
java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at
java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
at
java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
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)
Bernard
|