Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Async does not work anymore when switching from 3.2 to 3.2.2 [SPR-10492] #15125

Closed
spring-issuemaster opened this issue Apr 25, 2013 · 3 comments

Comments

Projects
None yet
2 participants
@spring-issuemaster
Copy link
Collaborator

commented Apr 25, 2013

Janning Vygen opened SPR-10492 and commented

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)
...

Affects: 3.2.2

Issue Links:

  • #15343 method demarcated with @Async isn't executed when precompiled

4 votes, 7 watchers

@spring-issuemaster

This comment has been minimized.

Copy link
Collaborator Author

commented May 24, 2013

Stefan Haberl commented

Still unresolved in release 3.2.3 ...

@spring-issuemaster

This comment has been minimized.

Copy link
Collaborator Author

commented Jul 10, 2013

Arjan van B. commented

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.

@spring-issuemaster

This comment has been minimized.

Copy link
Collaborator Author

commented Jul 24, 2013

Juergen Hoeller commented

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).

Juergen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.