[SPR-10492] Async does not work anymore when switching from 3.2 to 3.2.2 Created: 25/Apr/13  Updated: 15/Jan/19  Resolved: 24/Jul/13

Status: Closed
Project: Spring Framework
Component/s: Core
Affects Version/s: 3.2.2
Fix Version/s: 3.2.4, 4.0 M2

Type: Bug Priority: Minor
Reporter: Janning Vygen Assignee: Juergen Hoeller
Resolution: Complete Votes: 4
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
is related to SPR-10715 method demarcated with @Async isn't e... Closed
Days since last comment: 43 weeks ago
Last commented by a User: true
Last updater: Spring Issuemaster

java.lang.IllegalStateException: No executor qualifier specified and no default executor set on AnnotationAsyncExecutionAspect either
	at org.springframework.aop.interceptor.AsyncExecutionAspectSupport.determineAsyncExecutor(AsyncExecutionAspectSupport.java:104)
	at org.springframework.scheduling.aspectj.AbstractAsyncExecutionAspect.ajc$around$org_springframework_scheduling_aspectj_AbstractAsyncExecutionAspect$1$6c004c3e(AbstractAsyncExecutionAspect.aj:60)

Comment by Stefan Haberl [ 24/May/13 ]

Still unresolved in release 3.2.3 ...

Comment by Arjan van B. [ 10/Jul/13 ]

In case it helps: this still worked in 3.2.1 (for me; using compile time weaving and including spring-aspects for that), but indeed not in 3.2.3.

Comment by Juergen Hoeller [ 24/Jul/13 ]

I've moved that executor null check to our proxy-based AsyncExecutionInterceptor now where we do want a strict check, allowing the AspectJ AbstractAsyncExecutionAspect to fall back to sync execution (as in 3.2.1).


Comment by Spring Issuemaster [ 14/Jan/19 ]

The Spring Framework has migrated to GitHub Issues. This issue corresponds to spring-projects/spring-framework#15125.

Generated at Tue Nov 12 00:39:05 UTC 2019 using Jira 7.13.8#713008-sha1:1606a5c1e7006e1ab135aac81f7a9566b2dbc3a6.