Ancestris Support > ENGLISH

Bug in Ares editor

(1/2) > >>

Macafyc:
Hello.

I don't know if this is the right place to report a bug. If not I'm sorry for the inconvenience.
I have used the template form you provide:

Give us a summary of the bug: Different behaviour in Ares depending on the way you open the editor. Doing from view menu everything works correctly, but using the editor from Ares toolbar, an unexpected error is triggered when adding or editing in Parents & Siblings, Spouse(s) & Child(ren) or Gallery tabs. Same problem in Events-Gallery tab.

Which Operating System? : Both Windows and Linux

Which version of the O.S.? : Windows 10, Linux Ubuntu 14.04

Which version of Ancestris? : 0.10beta

What is your Java version? :  java 1.8.0_191-b12

What are the windows opened on your Ancestris application? : the Tree view

This bug is related to the application itself or a plugin? : a plugin

If it's about a plugin, which plugin? : Ares editor

If you use the beta version, do you update Ancestris each time a new version is available? : yes

This bug appeared right after an update (you didn't get it before, and right now, you have it) : yes

Which version of the module is concerned (check the "Help - About" dialog box) : Ares 0.10.0.9805. The last plugin version that worked right was 0.10.0.9797

What is the process that makes the bug to appear (the more details  you can give, the better it is) :
1. Fresh install of Ancestris 0.10.0.9801
2. Open, for instance, Kennedy genealogy.
3. From view menu, toolbars, activate Ares editor.
4. Select an individual in tree view.
5. From toolbar click "Edit current individual" icon. Ares editor window opens.
6. For instance go to Gallery tab and select an image.
7. Click "Edit the selected multimedia object" icon. An exception is triggered.

Backtrace in the log file :
java.lang.NullPointerException
   at ancestris.modules.editors.genealogyeditor.panels.MultimediaObjectCitationsTablePanel.editMMObjecButtonActionPerformed(MultimediaObjectCitationsTablePanel.java:251)
   at ancestris.modules.editors.genealogyeditor.panels.MultimediaObjectCitationsTablePanel.access$300(MultimediaObjectCitationsTablePanel.java:23)
   at ancestris.modules.editors.genealogyeditor.panels.MultimediaObjectCitationsTablePanel$3.actionPerformed(MultimediaObjectCitationsTablePanel.java:99)
   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.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
   at java.awt.AWTEventMulticaster.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)
[catch] 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.pumpEventsForFilter(Unknown Source)
   at java.awt.WaitDispatchSupport$2.run(Unknown Source)
   at java.awt.WaitDispatchSupport$4.run(Unknown Source)
   at java.awt.WaitDispatchSupport$4.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.awt.WaitDispatchSupport.enter(Unknown Source)
   at java.awt.Dialog.show(Unknown Source)
   at org.netbeans.core.windows.services.NbPresenter.superShow(NbPresenter.java:1086)
   at org.netbeans.core.windows.services.NbPresenter.doShow(NbPresenter.java:1136)
   at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:1108)
   at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:131)
   at org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEventAccess(NbMutexEventProvider.java:138)
   at org.netbeans.modules.openide.util.NbMutexEventProvider$Event.readAccess(NbMutexEventProvider.java:98)
   at org.netbeans.modules.openide.util.LazyMutexImplementation.readAccess(LazyMutexImplementation.java:94)
   at org.openide.util.Mutex.readAccess(Mutex.java:218)
   at org.netbeans.core.windows.services.NbPresenter.show(NbPresenter.java:1093)
   at java.awt.Component.show(Unknown Source)
   at java.awt.Component.setVisible(Unknown Source)
   at java.awt.Window.setVisible(Unknown Source)
   at java.awt.Dialog.setVisible(Unknown Source)
   at ancestris.util.swing.DialogManager$ADialog.show(DialogManager.java:346)
   at ancestris.modules.editors.genealogyeditor.editors.EntityEditor.showPanel(EntityEditor.java:33)
   at ancestris.modules.editors.genealogyeditor.actions.GenealogyEditorEditAction.actionPerformed(GenealogyEditorEditAction.java:48)
   at org.openide.awt.InjectorExactlyOne.actionPerformed(InjectorExactlyOne.java:78)
   at org.openide.awt.ContextAction$Performer.actionPerformed(ContextAction.java:226)
   at org.openide.awt.ContextManager.actionPerformed(ContextManager.java:260)
   at org.openide.awt.ContextAction.actionPerformed(ContextAction.java:109)
   at org.openide.util.actions.ActionInvoker$1.run(ActionInvoker.java:93)
   at org.openide.util.actions.ActionInvoker.doPerformAction(ActionInvoker.java:116)
   at org.openide.util.actions.ActionInvoker.invokeAction(ActionInvoker.java:99)
   at org.openide.awt.GeneralAction$BaseDelAction.actionPerformed(GeneralAction.java:234)
   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.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
   at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
   at java.awt.AWTEventMulticaster.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)

Zurga:
Hi,

Thanks for your report.
We will give a look to it as soon a&s possible.

Zurga

Zurga:
Sorry, I tried to reproduce your case and I was unable to get the exception you mentioned.
Normally, this exception occurred only if the Aries docked window is closed and with the 9805 plugin, this should be impossible to have a floating windows without a docked one.
I wait to any precision you can give to me.

Zurga

Macafyc:
I don't know what more to say.

I open ancestris without .ancestris folder in home location.
This is whay I get:



Then I open for instance Kennedy genealogy:



After that I activate Ares toolbar:



Then I select Joseph Patrick, and from Ares toolbar "Edit current individual":



Then I change, for instance, to Spouse(s) & Children tab and select Son(R3) and "Edit selected family":



Nothing happens but an unexpected exception in the right bottom corner of the main window. If I open it, this is the content:



And that's all.

Zurga:
I am really sorry to be unable to reproduce the bug.
I have done a fresh download from the site and launch exactly the same sequence you mentionned.
As I said, this bug should be tackled from the 9805 Aries plugin.

Could you put a screenshot of the installed plugins displaying Aries plugin version ?

Zurga

Navigation

[0] Message Index

[#] Next page

Go to full version