Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot select dates in EVS History tab calendar #565

Closed
fragosog opened this issue Feb 7, 2023 · 6 comments
Closed

Cannot select dates in EVS History tab calendar #565

fragosog opened this issue Feb 7, 2023 · 6 comments

Comments

@fragosog
Copy link

fragosog commented Feb 7, 2023

Either in the start date or end date selections, can change months & years with the arrows etc but not change the day. It throws the exception:

2023-02-07 11:03:42.438 [AWT-EventQueue-1] ERROR ProtegeApplication Uncaught Exception in thread 'AWT-EventQueue-1'
java.lang.NullPointerException: null
at org.jdatepicker.impl.JDatePanelImpl$InternalTableCellRenderer.getTableCellRendererComponent(JDatePanelImpl.java:598) ~[evs-history-1.0.5.jar:na]
at javax.swing.JTable$AccessibleJTable.getAccessibleChild(JTable.java:7037) ~[na:1.8.0_352]
at javax.swing.JTable$AccessibleJTable.getAccessibleAt(JTable.java:7424) ~[na:1.8.0_352]
at javax.swing.JTable$AccessibleJTable.valueChanged(JTable.java:6939) ~[na:1.8.0_352]
at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:184) ~[na:1.8.0_352]
at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:154) ~[na:1.8.0_352]
at javax.swing.DefaultListSelectionModel.setValueIsAdjusting(DefaultListSelectionModel.java:685) ~[na:1.8.0_352]
at javax.swing.plaf.basic.BasicTableUI$Handler.setValueIsAdjusting(BasicTableUI.java:953) ~[na:1.8.0_352]
at javax.swing.plaf.basic.BasicTableUI$Handler.mouseReleased(BasicTableUI.java:1166) ~[na:1.8.0_352]
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:290) ~[na:1.8.0_352]
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289) ~[na:1.8.0_352]

After throwing the exception, saving an edit in the complex property table worked fine. Can't say at this time which if any operations are affected.

@bdionne
Copy link
Collaborator

bdionne commented Feb 9, 2023

The error occurs when the user clicks on a number shown by the calendar, to change the date.

Looks like an issue in jDatePicker

@bdionne bdionne added this to the TBD milestone Feb 9, 2023
@bdionne bdionne added the bug label Feb 9, 2023
@singhik
Copy link
Collaborator

singhik commented Feb 9, 2023

Tried above in Windows on 4.2.0-dev2 client, not readily reproducible but after leaving the UI idle for few mins and clicking on Execute ,did throw a revisionNull header error , logs are attached Logs.txt

image

@bdionne
Copy link
Collaborator

bdionne commented Feb 9, 2023

Thanks @singhik , this is actually a different error. It's the socket timeout we've been seeing elsewhere. The autoupdater failed to get the head revision number.

@bdionne
Copy link
Collaborator

bdionne commented Feb 9, 2023

Ok, this is a known issue and looks to be fixed on master. I'll see if I can build and use their latest

@bdionne
Copy link
Collaborator

bdionne commented Feb 28, 2023

A new tag evs-history-1.0.6 is available that fixes this

@bdionne bdionne modified the milestones: TBD, 4.3.0 Mar 30, 2023
@singhik
Copy link
Collaborator

singhik commented Jul 13, 2023

This issue was not reproducible on Windows but on Linux, Gilberto has asserted it to work on Linux Platform on 4.3.0-qa1 Protege build,hence closing the ticket

@singhik singhik closed this as completed Jul 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants