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

47.8 - NPE changing campaign date #1902

Closed
NickAragua opened this issue Aug 5, 2020 · 0 comments · Fixed by #1903
Closed

47.8 - NPE changing campaign date #1902

NickAragua opened this issue Aug 5, 2020 · 0 comments · Fixed by #1903
Assignees
Labels

Comments

@NickAragua
Copy link
Member

Encountered the following error when attempting to change campaign date in mekhq, campaign options -> general.

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException: temporal
at java.util.Objects.requireNonNull(Unknown Source)
at java.time.format.DateTimeFormatter.formatTo(Unknown Source)
at java.time.format.DateTimeFormatter.format(Unknown Source)
at mekhq.gui.dialog.DateChooser$1.valueToString(DateChooser.java:175)
at javax.swing.JFormattedTextField$AbstractFormatter.install(Unknown Source)
at javax.swing.JFormattedTextField.setFormatter(Unknown Source)
at javax.swing.JFormattedTextField.setValue(Unknown Source)
at javax.swing.JFormattedTextField.setFormatterFactory(Unknown Source)
at mekhq.gui.dialog.DateChooser.(DateChooser.java:165)
at mekhq.gui.dialog.CampaignOptionsDialog.btnDateActionPerformed(CampaignOptionsDialog.java:5118)

Save file and customs:
customs.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants