-
Notifications
You must be signed in to change notification settings - Fork 38.6k
Description
Alex opened SPR-15861 and commented
I'm using messaging (websocket) classes with methods annotated with @MessageMapping
, with Spring Boot 2.0M3 and I'm experiencing stability issues: my class marked with @ControllerAdvice
sometimes is not handling the exceptions and they are instead propagated to the client.
I've also seen the problem where when one Exception is generated by controller A gets correctly handled by the @ControllerAdvice
class, while when generated by controller B is not.
This seems to be related to the way the binary is built: some builds works fine, while some others exhibit the problem, so I would suppose that a different ordering of the jars inside the artifact causes the problem.
I'm not able to reproduce it at will right now, sometimes it works, sometimes not, I would like to leave this report open to track the problem and see if someone else runs in it too.
Affects: 5.0 RC3
Issue Links:
- ExceptionHandlerMethodResolver loses all handler methods [SPR-15907] #20461 ExceptionHandlerMethodResolver loses all handler methods ("duplicates")