Bonjour
Impossible d'ajouter des images Jpegs dans les sources depuis la mise a jour d'aujourdhui.
Version d'Ancestris : 12.0.12323
Java : 17.0.9+11-LTS-201 - C:\Program Files\Java\jdk-17
Système : Windows 11 - 10.0 - ASUS
Répertoire utilisateur : C:\Users\ASUS\.ancestris\trunk
Quand j'ajoute un scan Jpeg dans une source, l'image s'affiche bien dans la vignette Cygnus, mais il suffit que je visite la fiche d'une autre personne pour que l'image disparaisse quand je reviens...
Ca ne marche pas non plus dans Aries.
Pas glop car je m'en suis rendu compte après 2 heures de travail.
Que se passe-t-il?
Il y avait un panneau sens interdit en bas à droite. Il affiche ce log :
java.lang.IndexOutOfBoundsException: Index 5 out of bounds for length 5
at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64)
at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70)
at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:266)
at java.base/java.util.Objects.checkIndex(Objects.java:359)
at java.base/java.util.ArrayList.get(ArrayList.java:427)
at genj.gedcom.Property.delProperty(Property.java:475)
at ancestris.modules.editors.genealogyeditor.panels.MultimediaObjectCitationsTablePanel$8.perform(MultimediaObjectCitationsTablePanel.java:228)
at genj.gedcom.Gedcom.doUnitOfWork(Gedcom.java:1218)
Caused: java.lang.RuntimeException
at genj.gedcom.Gedcom.doUnitOfWork(Gedcom.java:1253)
at ancestris.modules.editors.genealogyeditor.panels.MultimediaObjectCitationsTablePanel.deleteMMObjectButtonActionPerformed(MultimediaObjectCitationsTablePanel.java:224)
at ancestris.modules.editors.genealogyeditor.panels.MultimediaObjectCitationsTablePanel.access$400(MultimediaObjectCitationsTablePanel.java:23)
at ancestris.modules.editors.genealogyeditor.panels.MultimediaObjectCitationsTablePanel$4.actionPerformed(MultimediaObjectCitationsTablePanel.java:111)
at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1972)
at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2313)
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:6626)
at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3389)
at java.desktop/java.awt.Component.processEvent(Component.java:6391)
at java.desktop/java.awt.Container.processEvent(Container.java:2266)
at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5001)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2324)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4833)
at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4948)
at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4575)
at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4516)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2310)
at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2780)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4833)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:773)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:722)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:716)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:97)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:746)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:744)
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:743)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
[catch] 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)
Obligé donc de repasser à la version 11…
A+
Fred