AAVSO / VStar

VStar is a visualisation and analysis tool for variable star data brought to you by AAVSO
https://www.aavso.org/vstar
GNU Affero General Public License v3.0
9 stars 3 forks source link

ObservationDetails dialog is sometimes not shown #455

Open mpyat2 opened 4 weeks ago

mpyat2 commented 4 weeks ago

After creating user-defined series from filtered ones, the ObservationDetails dialog is sometimes not shown in the PhasePlot mode.

If the command is invoked from the menu, the following error is shown: image

If the command is invoked with the taskbar button, no error is displayed, and no dialog is shown. An exception is logged: Oct 25, 2024 4:26:13 PM org.aavso.tools.vstar.ui.dialog.MessageBox showErrorDialog SEVERE: Error java.lang.NullPointerException at org.aavso.tools.vstar.ui.dialog.series.MeanSourcePane.checkInitialMeanSourceSeries(MeanSourcePane.java:237) at org.aavso.tools.vstar.ui.dialog.series.MeanSourcePane.createDerivedSeriesRadioButtons(MeanSourcePane.java:143) at org.aavso.tools.vstar.ui.dialog.series.MeanSourcePane.addSeriesRadioButtons(MeanSourcePane.java:93) at org.aavso.tools.vstar.ui.dialog.series.MeanSourcePane.(MeanSourcePane.java:81) at org.aavso.tools.vstar.ui.dialog.PlotControlDialog.createSeriesChangePane(PlotControlDialog.java:255) at org.aavso.tools.vstar.ui.dialog.PlotControlDialog.createChartControlPanel(PlotControlDialog.java:163) at org.aavso.tools.vstar.ui.dialog.PlotControlDialog.createContent(PlotControlDialog.java:138) at org.aavso.tools.vstar.ui.dialog.PlotControlDialog.(PlotControlDialog.java:118) at org.aavso.tools.vstar.ui.mediator.Mediator.showPlotControlDialog(Mediator.java:1758) at org.aavso.tools.vstar.ui.MenuBar$16.actionPerformed(MenuBar.java:904) 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) 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)

the exact combination of operations causing the error is still not determined.

dbenn commented 2 weeks ago

I have tried to reproduce this but not been able to so far @mpyat2.

Is it deterministic? If so, can you provide how-to-reproduce steps based on the example above or similar?

The fact that you say "sometimes not shown" means it may not be deterministic.

mpyat2 commented 1 week ago

Hi @dbenn Unfortunately, I cannot find a deterministic way now. I created this issue because it does exist, yet I need additional investigations. I will try and add additional information when find it.