Author Topic: [Résolu]Déclaration de bug dans les les arbres ascendant et descendant  (Read 5628 times)

0 Members and 1 Guest are viewing this topic.

Offline emena

  • VIP
  • Full Member
  • *
  • Posts: 26
    • View Profile
RAPPORT DE BUG - ANCESTRIS



Résumé du bug : Quelques soit la généalogie (y compris bourbon...), quelque soit les options choisies, l'arbre ascendant et descendant plante Ancestis.
Quel système d'exploitation : Linux 22.04, Système :  Linux - 5.15.0-94-generic
Quelle version d'Ancestris : Ancestris :  11.0.10897
Quelle version de java : Java :  1.8.0_392-8u392-ga-1~22.04-b08 - /usr/lib/jvm/java-8-openjdk-amd64/jre
Quelles fenêtres sont ouvertes ? :  3 fenêtres : l'arbre, l'éditeur Gedcom et l'editeur Cygnus, les rapports
Si le bug concerne un plugin, quel plugin :Arbre graphique multi génération
Le bug est il apparu suite à une mise à jour (vous ne l'aviez pas avant et là, il apparaît ) : il n'était pas là il y a trois ans, mais je n'ai pas utilisé ancestris depuis.
Donnez nous la version du module concerné (vous la trouverez dans le menu "A Propos") : Je ne trouve pas les rapports dans la liste des version, mais je suis à jour.
Manipulation (enchaînement des commandes) entraînant le bug : demande de rapport, rien de particulier

La trace du bug dans le log :
Code: [Select]
SEVERE [global]
java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Double
   at java.lang.Double.compareTo(Double.java:49)
   at javax.swing.SpinnerNumberModel.incrValue(SpinnerNumberModel.java:349)
   at javax.swing.SpinnerNumberModel.getPreviousValue(SpinnerNumberModel.java:388)
   at javax.swing.plaf.basic.BasicSpinnerUI.updateEnabledState(BasicSpinnerUI.java:501)
   at javax.swing.plaf.basic.BasicSpinnerUI.updateEnabledState(BasicSpinnerUI.java:481)
   at javax.swing.plaf.basic.BasicSpinnerUI.access$200(BasicSpinnerUI.java:50)
   at javax.swing.plaf.basic.BasicSpinnerUI$Handler.stateChanged(BasicSpinnerUI.java:1068)
   at javax.swing.JSpinner.fireStateChanged(JSpinner.java:458)
   at javax.swing.JSpinner$ModelListener.stateChanged(JSpinner.java:386)
   at javax.swing.AbstractSpinnerModel.fireStateChanged(AbstractSpinnerModel.java:119)
   at javax.swing.SpinnerNumberModel.setValue(SpinnerNumberModel.java:447)
   at javax.swing.JSpinner.setValue(JSpinner.java:354)
   at ancestris.app.OptionDisplayPanel.load(OptionDisplayPanel.java:273)
   at ancestris.app.OptionDisplayOptionsPanelController.update(OptionDisplayOptionsPanelController.java:29)
   at org.netbeans.modules.options.CategoryModel$Category.update(CategoryModel.java:369)
   at org.netbeans.modules.options.OptionsPanel.setCurrentCategory(OptionsPanel.java:235)
   at org.netbeans.modules.options.OptionsPanel.access$300(OptionsPanel.java:100)
   at org.netbeans.modules.options.OptionsPanel$1$1.run(OptionsPanel.java:194)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
   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:74)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
   at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
[catch] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
   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)
« Last Edit: February 11, 2024, 18:19:09 by emena »

Offline FredericL

  • VIP
  • Hero Member
  • *
  • Posts: 870
    • View Profile
    • Généalogie personnelle et logiciel gratuit Ancestris
Re: Déclaration de bug dans les les arbres acendant et descendant
« Reply #1 on: February 11, 2024, 15:15:19 »
Est-ce que vous pouvez réinstaller Ancestris version 12 s'il vous plaît, et ré-essayer ?

Merci beaucoup,
Cordialement,
Frédéric

Offline emena

  • VIP
  • Full Member
  • *
  • Posts: 26
    • View Profile
Re: Déclaration de bug dans les les arbres acendant et descendant
« Reply #2 on: February 11, 2024, 15:34:32 »
Merci,

ça marche

Offline emena

  • VIP
  • Full Member
  • *
  • Posts: 26
    • View Profile
Re: Déclaration de bug dans les les arbres acendant et descendant
« Reply #3 on: February 11, 2024, 17:05:40 »
Zut,  :(  :-\

ça à marché la première fois, puis plus.
J'ai désinstallé, réinstallé... rien n'y a fait
Je ne sais plus quoi faire.
Merci d'avances de vos autres idées
EM

Code: [Select]
-------------------------------------------------------------------------------
>Log Session: Sunday, February 11, 2024 5:56:56 PM CET
>System Info:
  Product Version         = Ancestris-12 12.5-fd523ddc12d6156412d7b81f0c8663d8913d1021
  Operating System        = Linux version 5.15.0-94-generic running on amd64
  Java; VM; Vendor        = 1.8.0_392; OpenJDK 64-Bit Server VM 25.392-b08; Private Build
  Runtime                 = OpenJDK Runtime Environment 1.8.0_392-8u392-ga-1~22.04-b08
  Java Home               = /usr/lib/jvm/java-8-openjdk-amd64/jre
  System Locale; Encoding = fr_BE (ancestris); UTF-8
  Home Directory          = /home/ano
  Current Directory       = /home/ano
  User Directory          = /home/ano/.ancestris/trunk
  Cache Directory         = /home/ano/.ancestris/trunk/var/cache
  Installation            = /opt/ancestris/ancestris
                            /opt/ancestris/harness
                            /opt/ancestris/platform
...
==================>     A N C E S T R I S      is      starting      <======================================
INFO [ancestris]: Startup
SEVERE [global]
java.lang.IllegalArgumentException
at genj.option.OptionsWidget$Model.getIndexOfChild(OptionsWidget.java:444)
at javax.swing.JTree$AccessibleJTree$AccessibleJTreeNode.getAccessibleParent(JTree.java:4813)
at org.GNOME.Accessibility.AtkWrapper$5.propertyChange(AtkWrapper.java:606)
at java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:335)
at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:327)
at javax.accessibility.AccessibleContext.firePropertyChange(AccessibleContext.java:766)
at javax.swing.JTree$AccessibleJTree.treeExpanded(JTree.java:4247)
at javax.swing.JTree.fireTreeExpanded(JTree.java:2782)
at javax.swing.JTree.setExpandedState(JTree.java:3636)
at javax.swing.JTree.expandPath(JTree.java:2219)
at javax.swing.JTree.expandRow(JTree.java:2234)
at genj.option.OptionsWidget.setOptions(OptionsWidget.java:171)
at genj.report.ReportSelector$1.valueChanged(ReportSelector.java:80)
at genj.report.ReportList$Callback.valueChanged(ReportList.java:354)
at javax.swing.JTree.fireValueChanged(JTree.java:2934)
at javax.swing.JTree$TreeSelectionRedirector.valueChanged(JTree.java:3398)
at javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(DefaultTreeSelectionModel.java:635)
at javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(DefaultTreeSelectionModel.java:1093)
at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(DefaultTreeSelectionModel.java:294)
at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPath(DefaultTreeSelectionModel.java:188)
at javax.swing.JTree.setSelectionPath(JTree.java:1641)
at javax.swing.plaf.basic.BasicTreeUI.selectPathForEvent(BasicTreeUI.java:2393)
at javax.swing.plaf.basic.BasicTreeUI$Handler.handleSelection(BasicTreeUI.java:3609)
at javax.swing.plaf.basic.BasicTreeUI$Handler.mousePressed(BasicTreeUI.java:3548)
at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:279)
at java.awt.Component.processMouseEvent(Component.java:6536)
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:4532)
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 org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
[catch] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
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)
SEVERE [null]: Last record repeated 2 more times.
SEVERE [global]
java.lang.IllegalArgumentException
at genj.option.OptionsWidget$Model.getIndexOfChild(OptionsWidget.java:444)
at javax.swing.JTree$AccessibleJTree$AccessibleJTreeNode.getAccessibleParent(JTree.java:4813)
at org.GNOME.Accessibility.AtkWrapper$5.propertyChange(AtkWrapper.java:606)
at java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:335)
at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:327)
at javax.accessibility.AccessibleContext.firePropertyChange(AccessibleContext.java:766)
at javax.swing.JTree$AccessibleJTree.treeExpanded(JTree.java:4247)
at javax.swing.JTree.fireTreeExpanded(JTree.java:2782)
at javax.swing.JTree.setExpandedState(JTree.java:3636)
at javax.swing.JTree.expandPath(JTree.java:2219)
at javax.swing.plaf.basic.BasicTreeUI.toggleExpandState(BasicTreeUI.java:2286)
at javax.swing.plaf.basic.BasicTreeUI.selectPathForEvent(BasicTreeUI.java:2395)
at javax.swing.plaf.basic.BasicTreeUI$Handler.handleSelection(BasicTreeUI.java:3609)
at javax.swing.plaf.basic.BasicTreeUI$Handler.mousePressed(BasicTreeUI.java:3548)
at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:279)
at java.awt.Component.processMouseEvent(Component.java:6536)
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:4532)
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 org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
[catch] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
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)
SEVERE [null]: Last record repeated again.
SEVERE [null]: Last record repeated again.
SEVERE [null]: Last record repeated 2 more times.


Offline Zurga

  • VIP
  • Supernatural Member
  • *
  • Posts: 4 329
    • View Profile
Re: Déclaration de bug dans les les arbres acendant et descendant
« Reply #4 on: February 11, 2024, 17:14:46 »
Est-ce que vous avez ajouté des rapports personnels ?

Pourriez-vous supprimer le répertoire "/home/ano/.ancestris/trunk" et relancer l'application ?

Zurga

Offline emena

  • VIP
  • Full Member
  • *
  • Posts: 26
    • View Profile
Re: Déclaration de bug dans les les arbres acendant et descendant
« Reply #5 on: February 11, 2024, 18:18:42 »
Hello,

J'ai du le faire trois fois et, enfin, ça marche.
J'avais pourtant fermé l'application...
Bref, aucune importance, je suis surtout contente que ça marche enfin.
Merci
EM