Github user andrewor14 commented on the pull request:
https://github.com/apache/spark/pull/312#issuecomment-39529689
I don't think this is an ordering issue. `getAllPools` is only called if
you render the page, and by the time `render` is called the task scheduler
should already be loaded and initialized.
How did you produce this NPE? (Also, in the future could you add an
accompanying JIRA [here](https://issues.apache.org/jira/browse/SPARK)?)
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---