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

ManagedScheduledExecutorService.schedule with Trigger always returning null cannot be canceled #7

Closed
glassfishrobot opened this issue Feb 29, 2016 · 4 comments

Comments

@glassfishrobot
Copy link

When calling a ManagedScheduledExecutorService with a trigger that always returns null, calling cancel on such a future leads to NullPointerException:

Caused by: java.lang.NullPointerException
at org.glassfish.enterprise.concurrent.internal.ManagedScheduledThreadPoolExecutor$TriggerControllerFuture.cancel(ManagedScheduledThreadPoolExecutor.java:662) [javax.enterprise.concurrent-1.0.jar:]
...

Environment

Wildfly 9.0.1

@glassfishrobot
Copy link
Author

@glassfishrobot Commented
Reported by sebek64

@glassfishrobot
Copy link
Author

@glassfishrobot Commented
This issue was imported from java.net JIRA CU_JAVAEE-7

@glassfishrobot
Copy link
Author

@smillidge
Copy link
Contributor

This is reproducible

smillidge added a commit that referenced this issue Oct 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants