Unable to initialize WebAsyncTask with executorName [SPR-12457] #17062
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
status: backported
An issue that has been backported to maintenance branches
type: bug
A general bug
Milestone
Chris Chua opened SPR-12457 and commented
Looks like a typo in:
spring-framework/spring-web/src/main/java/org/springframework/web/context/request/async/WebAsyncTask.java
Lines 71 to 72 in 2a41de0
The assertion checks
executor
rather thanexecutorName
and always throws because executor is always null when using this particular constructor.I've created a pull request on #698 . But perhaps this should be checking Assert.notEmpty ? I can make that change in the PR as well.
Affects: 3.2.9, 3.2.12
Referenced from: commits 8854c33, aadb93f, f6e1856
Backported to: 4.0.9, 3.2.13
The text was updated successfully, but these errors were encountered: