Skip to content

Components not being rendered in Production Mode #21118

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

Open
Bhavith-Kulal opened this issue Mar 13, 2025 · 2 comments
Open

Components not being rendered in Production Mode #21118

Bhavith-Kulal opened this issue Mar 13, 2025 · 2 comments

Comments

@Bhavith-Kulal
Copy link

In this Forum Post

I mentioned that adding <optimizeBundle>false</optimizeBundle> helped solve that problem.

This is the output log with <optimizeBundle>true</optimizeBundle> and production-profile, providing this for investigative purposes.

Vaadin Version: 24.6.6

Java version: 23.0.1

Apache Maven 3.9.8

maven_output.txt

I have removed some parts of this log( Non - Specific to Vaadin) . Hope this helps.

@mshabarov
Copy link
Contributor

We have seen a similar issue several times, so probably there is a pattern in applications that we are not aware of and that causes issues like that. We have to try reproduce it by getting UI components from Spring Context as beans. Looks an impactful topic that we should improve.

@mcollovati
Copy link
Collaborator

I tried to reproduce in several ways but with no success.
Unfortunately, also the logs do not help that much since most of the application-specific entries have been removed or redacted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🔎 Investigation
Development

No branches or pull requests

3 participants