Skip to content

Invalid JSON from server #21102

@F-Kamp

Description

@F-Kamp

Description of the bug

Two different customers have reported seeing an "Invalid JSON from server [...}" error in the browser when running our application.

Image
Image

Unfortunately I have very little information about the circumstances when the bugs were observed.

One customer left the view of our application opened in the browser and returned 10-15 minutes later and saw the error. They can't tell me where they navigated to before they left the PC.

The other customer had a view open that is updated after receiving events with new data from the backend. That view uses the async manager under the hood and a dedicated thread that groups multiple concurrent update requests and enforces a single refresh (it's enough to load the data once even if we receive 10 change notifications for that view).

We are using WildFly 32 to deploy our application and we use the @Push and @PreserveOnRefresh annotations with their default values.

I know the information is very limited so my first question would be if there is any kind of debug logging that I can activate at the customer's site to help investigate the issue?

Expected behavior

The UI of our application should be displayed.

Minimal reproducible example

Unfortunately I can't reproduce the errors I only have the attached screenshots.

Versions

  • Vaadin / Flow version: 24.5.3
  • Java version: 21
  • OS version: Windows 10 / Windows Server 2016
  • Browser version (if applicable): Chrome (unknown version), Edge 133.0.3065.92
  • Application Server (if applicable): WildFly 32
  • IDE (if applicable):

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    🔖 Normal Priority (P2)

    Status

    🅿️Parking lot

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions