jbossas/jboss-vfs — pull request #12 by dlmiles (2013-04-10 01:36:46+00:00)
Title: AS7-1288 fix NPE when no executor has been provided to TempFileProvider

Ideally a policy decision should be made, is passing a null
ScheduledExecutorService allowed?

If passing null is allowed we never queue for later or provide our own
default executor.

If passing null is not allowed we should provide some way of debugging
the issue, maybe checking executor is non-null on DeleteTask constructor
or log the last 15 stack frame elements with each DeleteTask to split
out some context of the bad code path causing the problem. The issue
maybe the executor originally provided went away from under us.