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

[30] Settings window - NoSuchElementException #280

Open
JaRutkowski opened this issue Dec 31, 2020 · 1 comment
Open

[30] Settings window - NoSuchElementException #280

JaRutkowski opened this issue Dec 31, 2020 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@JaRutkowski
Copy link
Owner

JaRutkowski commented Dec 31, 2020

Once the 'Settings' window is opened by one user, then an error occurs for other users when they are trying to open the 'Settings' window, with the following error:

Exception in thread "AWT-EventQueue-0" java.util.NoSuchElementException: No value present
	at java.base/java.util.Optional.get(Optional.java:141)
	at com.javafee.elibrary.core.common.Constants$Panel_Settings.getByName(Constants.java:36)
	at com.javafee.elibrary.core.settingsform.Actions.reloadContentPanel(Actions.java:55)
	at com.javafee.elibrary.core.settingsform.Actions.setFirstNodeSelectionInTreeMenu(Actions.java:146)
	at com.javafee.elibrary.core.settingsform.Actions.initializeForm(Actions.java:47)
	at com.javafee.elibrary.core.settingsform.Actions.control(Actions.java:20)
	at com.javafee.elibrary.core.tabbedform.Actions.openSettingsForm(Actions.java:264)
	at com.javafee.elibrary.core.tabbedform.Actions.onClickBtnSettings(Actions.java:241)
	at com.javafee.elibrary.core.tabbedform.Actions.lambda$control$2(Actions.java:32)
	at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967)
	at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308)
	at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405)

Then, the user is not able to perform any actions on the window.

image

Additionally, for the super admin user below error occurred (after the 'Settings' window was closed), but was not reproduced again yet.

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
	at com.javafee.elibrary.core.settingsform.Actions$1.windowClosed(Actions.java:29)
	at java.desktop/java.awt.AWTEventMulticaster.windowClosed(AWTEventMulticaster.java:368)
	at java.desktop/java.awt.AWTEventMulticaster.windowClosed(AWTEventMulticaster.java:367)
	at java.desktop/java.awt.AWTEventMulticaster.windowClosed(AWTEventMulticaster.java:367)
	at java.desktop/java.awt.Window.processWindowEvent(Window.java:2071)
	at java.desktop/javax.swing.JFrame.processWindowEvent(JFrame.java:298)
@JaRutkowski JaRutkowski added the bug Something isn't working label Dec 31, 2020
@JaRutkowski JaRutkowski added this to Needs triage in Bug triage via automation Dec 31, 2020
@JaRutkowski JaRutkowski moved this from Needs triage to High priority in Bug triage Dec 31, 2020
@JaRutkowski JaRutkowski added this to Bugs in Backlog Dec 31, 2020
@JaRutkowski JaRutkowski removed this from Bugs in Backlog Dec 3, 2022
@JaRutkowski JaRutkowski added this to To do in Release v5.0 via automation Dec 3, 2022
@AKepska AKepska moved this from To do to In progress in Release v5.0 Dec 3, 2022
@AKepska AKepska moved this from High priority to In progress in Bug triage Dec 3, 2022
@AKepska
Copy link
Collaborator

AKepska commented Dec 4, 2022

Cannot reproduce the bug.

@AKepska AKepska moved this from In progress to Needs review in Release v5.0 Dec 7, 2022
@AKepska AKepska moved this from In progress to Needs triage in Bug triage Dec 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Bug triage
  
Needs triage
Release v5.0
Needs review
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants