Skip to content

Bug: UI broken from version 3.5.3 #4649

Closed

Description

@cdprete

Spring Boot Admin Server information

  • Version: 3.5.3

  • Spring Boot version: 3.5.5

  • Configured Security: None

  • Webflux or Servlet application: WebFlux

Client information

  • Spring Boot versions: 3.5.5

  • Used discovery mechanism: Eureka

  • Webflux or Servlet application: Both

Description

Hello.

I've updated my SBA instance to 3.5.3 and now no details are shown anymore. In particular:

  • The menu on the left is empty
  • Instances show only their health and their metadata. No info nor anything else.

The attached picture in yellow is the "old" environment with version 3.5.2:

Image

while the green one is the "new" environment with version 3.5.3:

Image

What I noticed is that restarting an instance X fixes the issue for that instance, which means that the new SBA somehow doesn't handle the state properly.
Moreover, the tags in the homepage are now always gone, even for the instances which have been restarted, which is not ideal at all because then we don't know anymore about which instance we're referring to without going inside of it.

Again, in yellow the old version:

Image

and in green the new version:

Image

PS: the instance which has the version shown is the one that was restarted, which demonstrates the issue above about the state management and about the tags being now never shown in the homepage.

Activity

  1. cdprete commented on Sep 16, 2025

    @cdprete
    ContributorAuthor

    /cc @SteKoe @erikpetzold since we were discussing about issues in #4646

  2. cdprete commented on Sep 17, 2025

    @cdprete
    ContributorAuthor

    @erikpetzold @SteKoe I can confirm this occurring even with 3.5.4.

  3. cdprete commented on Sep 17, 2025

    @cdprete
    ContributorAuthor

    Also the version of the application is not aligned anymore like before.
    Now, when the group is closed, it's rendered on the right:

    Image

    while when it's opened it's aligned to the left:

    Image

    Of course, to get these info rendered, I had to restart the instances. :-/

  4. cdprete commented on Sep 17, 2025

    @cdprete
    ContributorAuthor

    Ok, also in the old version they were not really aligned:

    Image

    but the alignment there was a bit better (center-right jump vs left-right) since the jump in space was less.

  5. SteKoe commented on Sep 17, 2025

    @SteKoe
    Contributor

    Can you please share a screenshot of browser's network activity including the response of e.g. /info actuator? In my local test setup it looks like this:

    Image
  6. cdprete commented on Sep 17, 2025

    @cdprete
    ContributorAuthor

    There is no call to info, metrics and so on but only to health as soon as from the homepage I got into one instance which was not restarted:

    Image
  7. SteKoe commented on Sep 17, 2025

    @SteKoe
    Contributor

    So the registration fails to expose the endpoints? See, when i check the response of /applications the instance inside of the application contains endpoints. This seems to be empty. So it is not a UI but a backend issue. Can you confirm that the data is empty in your case, too?

    Image
  8. cdprete commented on Sep 17, 2025

    @cdprete
    ContributorAuthor

    Hi @SteKoe.

    Indeed, under endpoints, only the health one is listed for the application instances which have not been restarted yet since the update to SBA 3.5.3/4.

    Image
  9. SteKoe commented on Sep 17, 2025

    @SteKoe
    Contributor

    Okay, thanks. Whenever possible, restart the instance and report, if the endpoints are registered correctly. I will discuss this internally.

  10. cdprete commented on Sep 17, 2025

    @cdprete
    ContributorAuthor

    Okay, thanks. Whenever possible, restart the instance and report, if the endpoints are registered correctly. I will discuss this internally.

    I did restart some, like HIKU KFF CALCULATOR shown previously, but only because it was the DEV environment.

    We've applications which we can't just freely restart them and we can't really escalate this to business just because the new "patch" version of SBA is now completely breaking our visibility around the monitoring.

  11. SteKoe commented on Sep 17, 2025

    @SteKoe
    Contributor

    I am totally aware that this is not possible on all environments. We have a plenty of instances running ourselves and we run into the same struggle. That's why I wrote "whenever possible". :) – Anyways, we will check the endpoint detection mechanism and see, what might be the issue here.

    Since you mentioned versioning of SBA, we initially started and still stick to the convention to match Spring Boot major and minor version in X.Y.z. Whereas z is our patch level. So whenever Spring Boot 3.6. will be released, SBA 3.6.0 will be shipped, too. We are also aware that this totally breaks the semantic versioning, but still think, that this is fine.

  12. cdprete commented on Sep 17, 2025

    @cdprete
    ContributorAuthor

    So whenever Spring Boot 3.6. will be released, SBA 3.6.0 will be shipped, too. We are also aware that this totally breaks the semantic versioning, but still think, that this is fine.

    That's totally fine for me as soon as SemVer is properly followed.
    Here I was updating from 3.5.2 → 3.5.3 → 3.5.4, so I wasn't expecting breaking changes to be honest. :D

    I am totally aware that this is not possible on all environments. We have a plenty of instances running ourselves and we run into the same struggle. That's why I wrote "whenever possible". :)

    That's why I usually update the DEV environment first. ;)

    Anyways, we will check the endpoint detection mechanism and see, what might be the issue here.

    Waiting for the fix. :)

  13. SteKoe commented on Sep 17, 2025

    @SteKoe
    Contributor

    One further question: Which events are logged in the journal for the affected Instance? Can you name them, please? TIA!

  14. cdprete commented on Sep 17, 2025

    @cdprete
    ContributorAuthor

    One further question: Which events are logged in the journal for the affected Instance? Can you name them, please? TIA!

    Image
  15. SteKoe commented on Sep 17, 2025

    @SteKoe
    Contributor

    tags in the homepage are now always gone

    fixed in 2cf26d2

    version of the application is not aligned anymore like before.

    fixed in #4655

  16. SteKoe commented on Sep 17, 2025

    @SteKoe
    Contributor
    Image
  17. cdprete commented on Sep 18, 2025

    @cdprete
    ContributorAuthor

    @SteKoe the overall issue is caused by the Hazelcast cache, including #4340 (comment).

    It seems to me that what was stored in the cache is not compatible anymore from version 3.5.3, causing therefore all the issues we found out.
    If I cleanly deploy SBA (so, no rolling update - aka Hazelcast doesn't clone the cache to the new instance that's starting), everything works fine again. Unfortunately, that's not an option in the real life since it would then cause a downtime in production.

    So, yeah, I agree that's probably an issue on the back-end as you were suggesting.

  18. cdprete commented on Sep 22, 2025

    @cdprete
    ContributorAuthor

    I've some more info which may be useful:

    com.hazelcast.nio.serialization.HazelcastSerializationException: java.io.InvalidClassException: de.codecentric.boot.admin.server.domain.values.Registration; local class incompatible: stream classdesc serialVersionUID = -4021660222452471078, local class serialVersionUID = -266391990383794588
    	at com.hazelcast.internal.serialization.impl.SerializationUtil.handleException(SerializationUtil.java:114) ~[hazelcast-5.5.0.jar:5.5.0]
    	at com.hazelcast.internal.serialization.impl.AbstractSerializationService.readObject(AbstractSerializationService.java:362) ~[hazelcast-5.5.0.jar:5.5.0]
    	at com.hazelcast.internal.serialization.InternalSerializationService.readObject(InternalSerializationService.java:81) ~[hazelcast-5.5.0.jar:5.5.0]
    	at com.hazelcast.internal.serialization.impl.ByteArrayObjectDataInput.readObject(ByteArrayObjectDataInput.java:604) ~[hazelcast-5.5.0.jar:5.5.0]
    	at com.hazelcast.internal.serialization.impl.defaultserializers.AbstractCollectionStreamSerializer.deserializeEntriesInto(AbstractCollectionStreamSerializer.java:50) ~[hazelcast-5.5.0.jar:5.5.0]
    	at com.hazelcast.internal.serialization.impl.defaultserializers.AbstractCollectionStreamSerializer.deserializeEntries(AbstractCollectionStreamSerializer.java:43) ~[hazelcast-5.5.0.jar:5.5.0]
    	at com.hazelcast.internal.serialization.impl.defaultserializers.ArrayListStreamSerializer.read(ArrayListStreamSerializer.java:51) ~[hazelcast-5.5.0.jar:5.5.0]
    	at com.hazelcast.internal.serialization.impl.defaultserializers.ArrayListStreamSerializer.read(ArrayListStreamSerializer.java:29) ~[hazelcast-5.5.0.jar:5.5.0]
    	at com.hazelcast.internal.serialization.impl.StreamSerializerAdapter.read(StreamSerializerAdapter.java:44) ~[hazelcast-5.5.0.jar:5.5.0]
    	at com.hazelcast.internal.serialization.impl.AbstractSerializationService.toObject(AbstractSerializationService.java:271) ~[hazelcast-5.5.0.jar:5.5.0]
    	at com.hazelcast.map.impl.record.ObjectRecordFactory.newRecord(ObjectRecordFactory.java:46) ~[hazelcast-5.5.0.jar:5.5.0]
    	at com.hazelcast.map.impl.recordstore.AbstractRecordStore.createRecord(AbstractRecordStore.java:162) ~[hazelcast-5.5.0.jar:5.5.0]
    	at com.hazelcast.map.impl.recordstore.AbstractEvictableRecordStore.createRecord(AbstractEvictableRecordStore.java:51) ~[hazelcast-5.5.0.jar:5.5.0]
    	at com.hazelcast.map.impl.recordstore.DefaultRecordStore.putOrUpdateReplicatedRecord(DefaultRecordStore.java:248) ~[hazelcast-5.5.0.jar:5.5.0]
    	at com.hazelcast.map.impl.operation.MapChunk.putOrUpdateReplicatedData(MapChunk.java:228) ~[hazelcast-5.5.0.jar:5.5.0]
    	at com.hazelcast.map.impl.operation.MapChunk.putInto(MapChunk.java:174) ~[hazelcast-5.5.0.jar:5.5.0]
    	at com.hazelcast.map.impl.operation.MapChunk.run(MapChunk.java:137) ~[hazelcast-5.5.0.jar:5.5.0]
    	at com.hazelcast.spi.impl.operationservice.Operation.call(Operation.java:192) ~[hazelcast-5.5.0.jar:5.5.0]
    	at com.hazelcast.spi.impl.operationexecutor.OperationRunner.runDirect(OperationRunner.java:176) ~[hazelcast-5.5.0.jar:5.5.0]
    	at com.hazelcast.internal.partition.operation.MigrationOperation.runMigrationOperation(MigrationOperation.java:139) ~[hazelcast-5.5.0.jar:5.5.0]
    	at com.hazelcast.internal.partition.operation.MigrationOperation.doRun(MigrationOperation.java:115) ~[hazelcast-5.5.0.jar:5.5.0]
    	at com.hazelcast.internal.partition.operation.MigrationOperation.run(MigrationOperation.java:95) ~[hazelcast-5.5.0.jar:5.5.0]
    	at com.hazelcast.spi.impl.operationservice.Operation.call(Operation.java:192) ~[hazelcast-5.5.0.jar:5.5.0]
    	at com.hazelcast.spi.impl.operationservice.impl.OperationRunnerImpl.call(OperationRunnerImpl.java:291) ~[hazelcast-5.5.0.jar:5.5.0]
    	at com.hazelcast.spi.impl.operationservice.impl.OperationRunnerImpl.run(OperationRunnerImpl.java:262) ~[hazelcast-5.5.0.jar:5.5.0]
    	at com.hazelcast.spi.impl.operationservice.impl.OperationRunnerImpl.run(OperationRunnerImpl.java:493) ~[hazelcast-5.5.0.jar:5.5.0]
    	at com.hazelcast.spi.impl.operationexecutor.impl.OperationThread.process(OperationThread.java:186) ~[hazelcast-5.5.0.jar:5.5.0]
    	at com.hazelcast.spi.impl.operationexecutor.impl.OperationThread.process(OperationThread.java:141) ~[hazelcast-5.5.0.jar:5.5.0]
    	at com.hazelcast.spi.impl.operationexecutor.impl.OperationThread.loop(OperationThread.java:134) ~[hazelcast-5.5.0.jar:5.5.0]
    	at com.hazelcast.spi.impl.operationexecutor.impl.OperationThread.executeRun(OperationThread.java:115) ~[hazelcast-5.5.0.jar:5.5.0]
    	at com.hazelcast.internal.util.executor.HazelcastManagedThread.run(HazelcastManagedThread.java:111) ~[hazelcast-5.5.0.jar:5.5.0]
    Caused by: java.io.InvalidClassException: de.codecentric.boot.admin.server.domain.values.Registration; local class incompatible: stream classdesc serialVersionUID = -4021660222452471078, local class serialVersionUID = -266391990383794588
    	at java.base/java.io.ObjectStreamClass.initNonProxy(Unknown Source) ~[na:na]
    	at java.base/java.io.ObjectInputStream.readNonProxyDesc(Unknown Source) ~[na:na]
    	at java.base/java.io.ObjectInputStream.readClassDesc(Unknown Source) ~[na:na]
    	at java.base/java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) ~[na:na]
    	at java.base/java.io.ObjectInputStream.readObject0(Unknown Source) ~[na:na]
    	at java.base/java.io.ObjectInputStream$FieldValues.<init>(Unknown Source) ~[na:na]
    	at java.base/java.io.ObjectInputStream.readSerialData(Unknown Source) ~[na:na]
    	at java.base/java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) ~[na:na]
    	at java.base/java.io.ObjectInputStream.readObject0(Unknown Source) ~[na:na]
    	at java.base/java.io.ObjectInputStream.readObject(Unknown Source) ~[na:na]
    	at java.base/java.io.ObjectInputStream.readObject(Unknown Source) ~[na:na]
    	at com.hazelcast.internal.serialization.impl.defaultserializers.JavaDefaultSerializers$JavaSerializer.read(JavaDefaultSerializers.java:95) ~[hazelcast-5.5.0.jar:5.5.0]
    	at com.hazelcast.internal.serialization.impl.defaultserializers.JavaDefaultSerializers$JavaSerializer.read(JavaDefaultSerializers.java:88) ~[hazelcast-5.5.0.jar:5.5.0]
    	at com.hazelcast.internal.serialization.impl.StreamSerializerAdapter.read(StreamSerializerAdapter.java:44) ~[hazelcast-5.5.0.jar:5.5.0]
    	at com.hazelcast.internal.serialization.impl.AbstractSerializationService.readObject(AbstractSerializationService.java:356) ~[hazelcast-5.5.0.jar:5.5.0]
    	... 29 common frames omitted

    @SteKoe I think this may explain why the registration was empty and, therefore, no URLs were available.

  19. added a commit that references this issue on Sep 23, 2025
  20. SteKoe commented on Sep 23, 2025

    @SteKoe
    Contributor

    Wouldn't that just happen, when running different versions of SBA on the same Hazelcast cluster or joining a cluster that contains "old" serialized classes?

    Yes, we have changed the mechanism how service URL is determined in Registration.java but this only affects one field that was already existing.

  21. cdprete commented on Sep 23, 2025

    @cdprete
    ContributorAuthor

    Wouldn't that just happen, when running different versions of SBA on the same Hazelcast cluster or joining a cluster that contains "old" serialized classes?

    Which it happens if you do rolling updates in a cloud environment (e.g.: K8s/OCP) to have a zero-downtime system.
    If you've 2 instances deployed for business continuity, to perform the update OCP will:

    • deploy one new instance
    • once the new instance is up (liveness & readiness are ok), stop one old instance
    • repeat the steps until all the instances have been replaced

    In such a scenario, there is then a time window where the cluster is composed by old and new instances. which need then to coexist.

  22. carrotFromCali commented on Jan 16, 2026

    @carrotFromCali

    Okay, thanks. Whenever possible, restart the instance and report, if the endpoints are registered correctly. I will discuss this internally.

    Hi @SteKoe @cdprete I had exact same issue here that all endpoints are not correctly registered except health. Can you explain what does it mean by "restart the instance and report"? It doesn't help after I tried to restart the SBA server and my Spring Boot application ( using SBA client).

  23. cdprete commented on Jan 16, 2026

    @cdprete
    ContributorAuthor

    Okay, thanks. Whenever possible, restart the instance and report, if the endpoints are registered correctly. I will discuss this internally.

    Hi @SteKoe @cdprete I had exact same issue here that all endpoints are not correctly registered except health. Can you explain what does it mean by "restart the instance and report"? It doesn't help after I tried to restart the SBA server and my Spring Boot application ( using SBA client).

    @SteKoe was simply asking to restart the application and let him know if there were any changes in the behavior.

  24. cdprete commented on Feb 9, 2026

    @cdprete
    ContributorAuthor

    Hi @SteKoe.
    I think this can be closed, right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions