Author Topic: [Résolu] Menu Vue-Graphe  (Read 1589 times)

0 Members and 1 Guest are viewing this topic.

Offline vthomgenealog

  • VIP
  • Hero Member
  • *
  • Posts: 317
    • View Profile
[Résolu] Menu Vue-Graphe
« on: December 10, 2020, 04:51:16 »
Bonjour,

J'ai vu dans le menu le nouvel icone "Graphe".
Comme tout à chacun, suivant les évolutions, j'ai cliqué dessus.

Depuis, j'ai mon écran en mode "freeze", 2 exceptions apparues en bas à droite de l'écran avec le petit sigle rouge...
J'ai bien redémarré, et l'appli, et mon PC, toujours pareil.

java.lang.RuntimeException: DefaultCamera.pushView() / popView() wrongly nested
   at org.graphstream.ui.swingViewer.util.DefaultCamera.pushView(DefaultCamera.java:494)
   at org.graphstream.ui.swingViewer.basicRenderer.SwingBasicGraphRenderer.renderGraph(SwingBasicGraphRenderer.java:214)
   at org.graphstream.ui.swingViewer.basicRenderer.SwingBasicGraphRenderer.render(SwingBasicGraphRenderer.java:166)
   at org.graphstream.ui.swingViewer.DefaultView.render(DefaultView.java:239)
   at org.graphstream.ui.swingViewer.DefaultView.paintComponent(DefaultView.java:174)
   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.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 org.netbeans.swing.tabcontrol.TabbedContainer.paint(TabbedContainer.java:969)
   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.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)
[catch] at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
   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)

Et un "retour à la normale" semble s'opérer une fois la fenêtre Graphe fermée (que le mode freeze de l'écran permet de l'atteindre pour la fermer).
Ce qui laisserais supposer un problème d'affichage de la fenêtre Graphe??

Help me please.
« Last Edit: December 10, 2020, 17:35:27 by vthomgenealog »
Version d'Ancestris : 12.0.12447
Java :  1.8.0_401
Ventura 13.6.5
Intel Core i5 3.8GHz

Offline Zurga

  • VIP
  • Supernatural Member
  • *
  • Posts: 3 856
    • View Profile
Re : Menu Vue-Graphe
« Reply #1 on: December 10, 2020, 07:36:34 »
Le graphe est gourmand en mémoire, le freeze que vous constatez semble indiquez que vous n'allouez pas assez de mémoire pour le faire fonctionner normalement.
Regardez dans les préférences la quantité de mémoire que vous avez alloué à Ancestris.
Fermer la fenêtre du graphe supprime l'allocation faite pour afficher le graphe et vous rend la mémoire nécessaire pour afficher le reste de l'application.

Zurga