Author Topic: V12 - "Verification norme GEDCOM et anomalie" = écran blanc  (Read 3404 times)

0 Members and 1 Guest are viewing this topic.

Offline claude_pelisson6

  • VIP
  • Jr. Member
  • *
  • Posts: 5
    • View Profile
Résumé du bug : Ecran blanc lorsque je veux utiliser l'option "Verification norme GEDCOM et anomalie"

Quel système d'exploitation : Windows

Quelle version du système d'exploitation : W10 21H2 build 19044.1645

Quelle version d'Ancestris : 12.0.11644

Quelle version de java : Oracle JRE 1.8.0_331-b09.

Quelles fenêtres sont ouvertes ? : l'arbre, l'éditeur Cygnus, la Table

Le bug concerne l'application elle même ou un plugin : un plugin

Si le bug concerne un plugin, quel plugin : Verification norme GEDCOM et anomalie

Si vous utilisez la version beta, vous mettez-vous à jour dès qu'une mise à jour vous est proposée? : Oui

Le bug est il apparu suite à une mise à jour (vous ne l'aviez pas avant et là, il apparait) : tout fontionnait au 15/04/2021

Donnez nous la version du module concerné (vous la trouverez dans le menu "A Propos") : Verification norme GEDCOM et anomalie 12.0.11613

Manipulation (enchainement des commandes) entrainant le bug : utilisation "basique" de l'option "Verification norme GEDCOM et anomalie" dans le menu <Outils>

La trace du bug dans le log : exemple, ça peut commencer par java.lang.NullPointerException

Online Zurga

  • VIP
  • Supernatural Member
  • *
  • Posts: 3 856
    • View Profile
Re: V12 - "Verification norme GEDCOM et anomalie" = écran blanc
« Reply #1 on: April 25, 2022, 16:41:28 »
Si vous avez un écran blanc, cela signifie que le processus n'est pas allé à son terme et que vous n'avez pas eu le rapport affiché.
Avez-vous un petit sens interdit en bas à droite ?
Si oui, que dit-il quand vous cliquez dessus.

Vous pouvez aussi m'envoyer votre fichier log (zurga @ ancestris . org)
Vous trouverez le log en suivant la documentation  :
https://docs.ancestris.org/books/mode-demploi/page/fichiers-applicatifs-et-fichiers-des-param%C3%A8tres-utilisateurs#bkmrk-the-user-directory

Zurga

Offline claude_pelisson6

  • VIP
  • Jr. Member
  • *
  • Posts: 5
    • View Profile
Re: V12 - "Verification norme GEDCOM et anomalie" = écran blanc
« Reply #2 on: April 25, 2022, 17:02:26 »
Voici le message d'erreur :
java.lang.RuntimeException: Exception reading templates from resources/fo2html.xsl: JAXP0801002: the compiler encountered an XPath expression containing '189' operators that exceeds the '100' limit set by 'FEATURE_SECURE_PROCESSING'.
   at genj.fo.Format.getTemplatesFromResource(Format.java:284)
   at genj.fo.Format.getTemplates(Format.java:296)
   at genj.fo.HTMLFormat.formatImpl(HTMLFormat.java:45)
[catch] at genj.fo.Format.format(Format.java:229)
   at genj.fo.Format.format(Format.java:216)
   at ancestris.modules.document.view.FopDocumentView.displayDocument(FopDocumentView.java:101)
   at ancestris.modules.gedcom.gedcomvalidate.GedcomValidateAction$1.lambda$doInBackground$1(GedcomValidateAction.java:196)
   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)
   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)

Online Zurga

  • VIP
  • Supernatural Member
  • *
  • Posts: 3 856
    • View Profile
Re: V12 - "Verification norme GEDCOM et anomalie" = écran blanc
« Reply #3 on: April 25, 2022, 17:06:19 »
Merci pour le message.
Ce qui est inquiétant c'est que le système a détectée un enchainement de tags dépassant les 100 occurrences.
On va essayer de corriger le cas pour qu'il sorte dans les erreurs sans tout arrêter, mais je vous suggère de vérifier si vous n'avez pas une note qui pointe sur une source qui pointe sur la même note.
Cela semble boucler dans votre cas.

Zurga

Offline claude_pelisson6

  • VIP
  • Jr. Member
  • *
  • Posts: 5
    • View Profile
Re : V12 - "Verification norme GEDCOM et anomalie" = écran blanc
« Reply #4 on: April 25, 2022, 17:12:25 »
Je n'ai pas ce problème avec la V11... le rapport s'affiche correctement.

Online Zurga

  • VIP
  • Supernatural Member
  • *
  • Posts: 3 856
    • View Profile
Re : V12 - "Verification norme GEDCOM et anomalie" = écran blanc
« Reply #5 on: April 25, 2022, 17:32:09 »
On a changé pas mal de chose entre les versions.

Éventuellement, si vous pouvez m'envoyer votre fichier GEDCOM, je pourrais voir plus précisément ce qui bloque.

Zurga

Online Zurga

  • VIP
  • Supernatural Member
  • *
  • Posts: 3 856
    • View Profile
Re: V12 - "Verification norme GEDCOM et anomalie" = écran blanc
« Reply #6 on: April 25, 2022, 18:47:45 »
Votre GEDCOM génère sans difficulté les anomalies.

Du coup, cela vient surement de votre installation.
Je vous invite à télécharger l'application depuis le site et à la réinstaller.

Zurga

Offline jpm14

  • VIP
  • Full Member
  • *
  • Posts: 27
    • View Profile
Re: V12 - "Verification norme GEDCOM et anomalie" = écran blanc
« Reply #7 on: April 28, 2022, 09:48:33 »
Bonjour,
En lisant cette conversation, j'ai fait "Verification norme GEDCOM et anomalie" et j'ai le même résultat, écran blanc et même message :
java.lang.RuntimeException: Exception reading templates from resources/fo2html.xsl: JAXP0801002: the compiler encountered an XPath expression containing '189' operators that exceeds the '100' limit set by 'FEATURE_SECURE_PROCESSING'.
   at genj.fo.Format.getTemplatesFromResource(Format.java:284)
   at genj.fo.Format.getTemplates(Format.java:296)
   at genj.fo.HTMLFormat.formatImpl(HTMLFormat.java:45)
[catch] at genj.fo.Format.format(Format.java:229)
   at genj.fo.Format.format(Format.java:216)
   at ancestris.modules.document.view.FopDocumentView.displayDocument(FopDocumentView.java:101)
   at ancestris.modules.gedcom.gedcomvalidate.GedcomValidateAction$1.lambda$doInBackground$1(GedcomValidateAction.java:196)
   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)
   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)

J'ai fait la manip préconisée par Zurga (télécharger l'application depuis le site et réinstaller), et pas de changement, toujours écran blanc et message d'erreur.
Autrement pas de pb de fonctionnement d'ancestris (Version d'Ancestris :  12.0.11644, Java :  1.8.0_331-b09 - C:\Program Files\Java\jre1.8.0_331, Système :  Windows 10 - 10.0 - JPM-T, Répertoire utilisateur :  C:\Users\JPM-T\.ancestris\trunk).
Cordialement
Jean-Paul

Offline yannig

  • VIP
  • Hero Member
  • *
  • Posts: 251
  • Yannick VOYEAUD
    • View Profile
    • Généalogie et histoire
Re: V12 - "Verification norme GEDCOM et anomalie" = écran blanc
« Reply #8 on: April 28, 2022, 10:35:30 »
Bonjour,

J'ai utilisé cet outil hier sans problème sous Linux Debian
V12 fraîchement réinstallée Version d'Ancestris :  12.0.11644
Java :  14.0.2+12-Debian-1.1 - /usr/lib/jvm/java-14-openjdk-amd64
Système :  Linux - 5.10.0-12-amd64 - yannig
Répertoire utilisateur :  /home/yannig/.ancestris/trunk.

De ce fait je subodore un problème avec Windows.

Amitiés
Yannick VOYEAUD
https://voyeaud.org
Debian 12
Ancestris 12

Offline jpm14

  • VIP
  • Full Member
  • *
  • Posts: 27
    • View Profile
Re: V12 - "Verification norme GEDCOM et anomalie" = écran blanc
« Reply #9 on: April 28, 2022, 12:08:34 »
Suite des tests :
- rapport rapide "liste éclair" : écran blanc et message :
java.lang.RuntimeException: Exception reading templates from resources/fo2html.xsl: JAXP0801002: the compiler encountered an XPath expression containing '189' operators that exceeds the '100' limit set by 'FEATURE_SECURE_PROCESSING'.
   at genj.fo.Format.getTemplatesFromResource(Format.java:284)
   at genj.fo.Format.getTemplates(Format.java:296)
   at genj.fo.HTMLFormat.formatImpl(HTMLFormat.java:45)
[catch] at genj.fo.Format.format(Format.java:229)
   at genj.fo.Format.format(Format.java:216)
   at ancestris.modules.document.view.FopDocumentView.displayDocument(FopDocumentView.java:101)
   at ancestris.modules.flashlist.FlashListAction.actionPerformedImpl(FlashListAction.java:49)
   at ancestris.core.actions.AbstractAncestrisContextAction.actionPerformed(AbstractAncestrisContextAction.java:203)
   at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
   at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
   at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
   at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
   at javax.swing.AbstractButton.doClick(Unknown Source)
   at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
   at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
   at java.awt.Component.processMouseEvent(Unknown Source)
   at javax.swing.JComponent.processMouseEvent(Unknown Source)
   at java.awt.Component.processEvent(Unknown Source)
   at java.awt.Container.processEvent(Unknown Source)
   at java.awt.Component.dispatchEventImpl(Unknown Source)
   at java.awt.Container.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(Unknown Source)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
   at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
   at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
   at java.awt.Container.dispatchEventImpl(Unknown Source)
   at java.awt.Window.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(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.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue$4.run(Unknown Source)
   at java.awt.EventQueue$4.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)
   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)

- rapport rapide "groupes familiaux" : écran blanc et message :
java.lang.RuntimeException: Exception reading templates from resources/fo2html.xsl: JAXP0801002: the compiler encountered an XPath expression containing '189' operators that exceeds the '100' limit set by 'FEATURE_SECURE_PROCESSING'.
   at genj.fo.Format.getTemplatesFromResource(Format.java:284)
   at genj.fo.Format.getTemplates(Format.java:296)
   at genj.fo.HTMLFormat.formatImpl(HTMLFormat.java:45)
[catch] at genj.fo.Format.format(Format.java:229)
   at genj.fo.Format.format(Format.java:216)
   at ancestris.modules.document.view.FopDocumentView.displayDocument(FopDocumentView.java:101)
   at ancestris.modules.familygroups.OpenFamilyGroupsAction.run(OpenFamilyGroupsAction.java:85)
   at ancestris.modules.familygroups.OpenFamilyGroupsAction.actionPerformedImpl(OpenFamilyGroupsAction.java:57)
   at ancestris.core.actions.AbstractAncestrisContextAction.actionPerformed(AbstractAncestrisContextAction.java:203)
   at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
   at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
   at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
   at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
   at javax.swing.AbstractButton.doClick(Unknown Source)
   at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
   at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
   at java.awt.Component.processMouseEvent(Unknown Source)
   at javax.swing.JComponent.processMouseEvent(Unknown Source)
   at java.awt.Component.processEvent(Unknown Source)
   at java.awt.Container.processEvent(Unknown Source)
   at java.awt.Component.dispatchEventImpl(Unknown Source)
   at java.awt.Container.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(Unknown Source)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
   at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
   at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
   at java.awt.Container.dispatchEventImpl(Unknown Source)
   at java.awt.Window.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(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.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue$4.run(Unknown Source)
   at java.awt.EventQueue$4.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)
   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)

- rapport rapide "parents proches" : fonctionne bien.

Cordialement
Jean-Paul

Online Zurga

  • VIP
  • Supernatural Member
  • *
  • Posts: 3 856
    • View Profile
Re: V12 - "Verification norme GEDCOM et anomalie" = écran blanc
« Reply #10 on: April 28, 2022, 15:39:54 »
C'est lié à la dernière version de Java 8 (332).
Il faut revenir en arrière sur la version Java d'avant.
Le temps qu'on ait une version de dev nous permettant de comprendre et corriger.

Zurga

Offline jpm14

  • VIP
  • Full Member
  • *
  • Posts: 27
    • View Profile
Re: V12 - "Verification norme GEDCOM et anomalie" = écran blanc
« Reply #11 on: April 28, 2022, 17:11:35 »
Merci pour l'info.
Un peu la galère pour trouver une version n-1, j'ai trouvé ici : https://www.tutos.eu/2095.
Avec la version 8 update 201 x64 tout est rentré dans l'ordre.
Bon courage pour déboguer.
Cordialement
Jean-Paul

Online Zurga

  • VIP
  • Supernatural Member
  • *
  • Posts: 3 856
    • View Profile
Re: V12 - "Verification norme GEDCOM et anomalie" = écran blanc
« Reply #12 on: April 28, 2022, 19:03:20 »
Vous pouvez télécharger une version Java d'a peu près n'importe quelle version ici : https://adoptium.net/
En particulier : https://adoptium.net/temurin/archive

Les version 11 et 17 y sont gratuites.

Zurga

Online Zurga

  • VIP
  • Supernatural Member
  • *
  • Posts: 3 856
    • View Profile
Re: V12 - "Verification norme GEDCOM et anomalie" = écran blanc
« Reply #13 on: May 05, 2022, 20:28:12 »
Les Versions de Java sont sorties en mode développement, voyez ici l'avancée des travaux :
https://forum.ancestris.org/index.php?topic=3981.msg11317#msg11317

Zurga