Author Topic: Bug après mise à jour  (Read 347 times)

0 Members and 1 Guest are viewing this topic.

Offline Fressouche

  • VIP
  • Full Member
  • *
  • Posts: 10
    • View Profile
    • Arbre
Bug après mise à jour
« on: December 14, 2019, 17:46:05 »
Bonjour

Après la dermière mise à jour proposée l'affichage des vues Editeurs est impossible, dommage je commencais à prendre goût au logiciel ... :(
Ci-dessous mes éléments

configuration
Version d'Ancestris :  10.0.10071
Java :  1.8.0_231-b11 - C:\Program Files\Java\jre1.8.0_231
Système :  Windows 10 - 10.0 - Fred
Répertoire utilisateur :  C:\Users\Fred\AppData\Roaming\.ancestris\trunk


Message d'erreur
java.lang.NullPointerException
   at org.openide.filesystems.FileUtil.toFile(FileUtil.java:818)
   at org.openide.filesystems.FileUtil.getFileDisplayName(FileUtil.java:1544)
   at ancestris.app.ActionOpen.<init>(ActionOpen.java:29)
   at ancestris.welcome.ui.SamplePanel$OpenGedcomFileAction.<init>(SamplePanel.java:131)
   at ancestris.welcome.ui.SamplePanel.addFile(SamplePanel.java:119)
   at ancestris.welcome.ui.SamplePanel.rebuildContent(SamplePanel.java:101)
   at ancestris.welcome.ui.SamplePanel.addNotify(SamplePanel.java:86)
   at java.awt.Container.addNotify(Unknown Source)
   at javax.swing.JComponent.addNotify(Unknown Source)
   at java.awt.Container.addNotify(Unknown Source)
   at javax.swing.JComponent.addNotify(Unknown Source)
   at java.awt.Container.addNotify(Unknown Source)
   at javax.swing.JComponent.addNotify(Unknown Source)
   at java.awt.Container.addNotify(Unknown Source)
   at javax.swing.JComponent.addNotify(Unknown Source)
   at java.awt.Container.addNotify(Unknown Source)
   at javax.swing.JComponent.addNotify(Unknown Source)
   at ancestris.welcome.ui.AbstractTab.addNotify(AbstractTab.java:72)
   at java.awt.Container.addNotify(Unknown Source)
   at javax.swing.JComponent.addNotify(Unknown Source)
   at java.awt.Container.addNotify(Unknown Source)
   at javax.swing.JComponent.addNotify(Unknown Source)
   at java.awt.Container.addNotify(Unknown Source)
   at javax.swing.JComponent.addNotify(Unknown Source)
   at java.awt.Container.addNotify(Unknown Source)
   at javax.swing.JComponent.addNotify(Unknown Source)
   at java.awt.Container.addNotify(Unknown Source)
   at javax.swing.JComponent.addNotify(Unknown Source)
   at java.awt.Container.addNotify(Unknown Source)
   at javax.swing.JComponent.addNotify(Unknown Source)
   at org.openide.windows.TopComponent.addNotify(TopComponent.java:281)
   at java.awt.Container.addNotify(Unknown Source)
   at javax.swing.JComponent.addNotify(Unknown Source)
   at java.awt.Container.addNotify(Unknown Source)
   at javax.swing.JComponent.addNotify(Unknown Source)
   at org.netbeans.swing.tabcontrol.TabbedContainer.addNotify(TabbedContainer.java:967)
   at org.netbeans.core.windows.view.ui.tabcontrol.TabbedAdapter.addNotify(TabbedAdapter.java:330)
   at java.awt.Container.addNotify(Unknown Source)
   at javax.swing.JComponent.addNotify(Unknown Source)
   at java.awt.Container.addNotify(Unknown Source)
   at javax.swing.JComponent.addNotify(Unknown Source)
   at java.awt.Container.addImpl(Unknown Source)
   at java.awt.Container.add(Unknown Source)
   at org.netbeans.core.windows.view.EditorView$EditorAreaComponent.setAreaComponent(EditorView.java:304)
   at org.netbeans.core.windows.view.EditorView.assureComponentInEditorArea(EditorView.java:173)
   at org.netbeans.core.windows.view.EditorView.updateAWTHierarchy(EditorView.java:161)
   at org.netbeans.core.windows.view.ViewHierarchy.setSplitRootIntoDesktop(ViewHierarchy.java:670)
   at org.netbeans.core.windows.view.ViewHierarchy.updateDesktop(ViewHierarchy.java:707)
   at org.netbeans.core.windows.view.DefaultView.changeGUI(DefaultView.java:338)
   at org.netbeans.core.windows.ViewRequestor.dispatchRequest(ViewRequestor.java:275)
   at org.netbeans.core.windows.ViewRequestor.processRequest(ViewRequestor.java:251)
   at org.netbeans.core.windows.ViewRequestor.postRequest(ViewRequestor.java:189)
   at org.netbeans.core.windows.ViewRequestor.scheduleRequest(ViewRequestor.java:127)
   at org.netbeans.core.windows.Central.addModeOpenedTopComponent(Central.java:791)
   at org.netbeans.core.windows.ModeImpl.addOpenedTopComponent(ModeImpl.java:354)
   at org.netbeans.core.windows.WindowManagerImpl.topComponentOpenAtTabPosition(WindowManagerImpl.java:1261)
   at org.netbeans.core.windows.WindowManagerImpl.topComponentOpen(WindowManagerImpl.java:1226)
   at org.openide.windows.TopComponent.open(TopComponent.java:497)
   at org.openide.windows.TopComponent.open(TopComponent.java:477)
   at ancestris.view.AncestrisTopComponent.open(AncestrisTopComponent.java:223)
[catch] at ancestris.gedcom.GedcomDirectory.openDefaultViews(GedcomDirectory.java:805)
   at ancestris.gedcom.GedcomDirectory.openAncestrisGedcom(GedcomDirectory.java:454)
   at ancestris.gedcom.GedcomDirectory.openGedcom(GedcomDirectory.java:360)
   at ancestris.gedcom.GedcomDirectory.openGedcom(GedcomDirectory.java:258)
   at ancestris.app.ActionOpen.actionPerformed(ActionOpen.java:39)
   at org.openide.awt.AlwaysEnabledAction$1.run(AlwaysEnabledAction.java:199)
   at org.openide.util.actions.ActionInvoker$1.run(ActionInvoker.java:95)
   at org.openide.util.actions.ActionInvoker.doPerformAction(ActionInvoker.java:116)
   at org.openide.util.actions.ActionInvoker.invokeAction(ActionInvoker.java:99)
   at org.openide.awt.AlwaysEnabledAction.actionPerformed(AlwaysEnabledAction.java:202)
   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:159)
   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'arrive dans le monde libre !

Offline Zurga

  • VIP
  • Hero Member
  • *
  • Posts: 915
    • View Profile
Re: Bug après mise à jour
« Reply #1 on: December 14, 2019, 20:30:05 »
Techniquement, la dernière mise à jour n'a pas touché les classes comprises dans la pile d'erreur que vous avez.
Je vous invite à supprimer les fichiers de paramétrages qui sont dans ce répertoire :  C:\Users\Fred\AppData\Roaming\.ancestris\trunk
Et de relancer l'application.

Pour info, j'ai fait la mise à jour sans le moindre effet de bord.
Et je pense qu’il en est de même pour la majorité des utilisateurs (sinon on aurait eu des montagnes de messages sur le forum et la liste de diffusion).

Zurga
« Last Edit: December 14, 2019, 20:31:51 by Zurga »

Offline Fressouche

  • VIP
  • Full Member
  • *
  • Posts: 10
    • View Profile
    • Arbre
Re : Bug après mise à jour
« Reply #2 on: December 15, 2019, 05:54:53 »
Bonjour

Merci !! Le problème est résolu, je note cette astuce dans une case mémoire....

Bon dimanche à tous

Fred
J'arrive dans le monde libre !