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

Fix LocalUriHandler not present exception #52

Merged
merged 2 commits into from
Oct 25, 2024

Conversation

MykytaPimonovTD
Copy link
Contributor

@MykytaPimonovTD MykytaPimonovTD commented Oct 25, 2024

When building a distribution of the client application, the user encountered an IllegalStateException. This exception occurred when attempting to retrieve the LocalUriHandler from CompositionLocals before the window was created, as this value was not defined outside of the window.

This changeset relocates the retrieval of the LocalUriHandler from CompositionLocals to within the created window, where the value is already defined. This adjustment resolves the exception that occurs during application startup.

@MykytaPimonovTD MykytaPimonovTD self-assigned this Oct 25, 2024
@MykytaPimonovTD MykytaPimonovTD marked this pull request as ready for review October 25, 2024 11:43
@MykytaPimonovTD MykytaPimonovTD merged commit 246b04a into master Oct 25, 2024
1 check passed
@MykytaPimonovTD MykytaPimonovTD deleted the fix-composition-local branch October 25, 2024 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants