Destroying a loader via LoaderManager throws an exception sometimes?
<p>I need to destroy a loader, sometimes I'll get the following exception:</p>

<pre><code>java.lang.NullPointerException
at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:960)
at android.support.v4.app.FragmentManagerImpl.performPendingDeferredStart(FragmentManager.java:768)
at android.support.v4.app.FragmentManagerImpl.startPendingDeferredFragments(FragmentManager.java:1104)
at android.support.v4.app.LoaderManagerImpl.destroyLoader(LoaderManager.java:672)
at com.me.test.MyTest.test(MyTest.java:213)
</code></pre>

<p>I'm doing the following:</p>

<pre><code>LoaderManager lm = ...;
Loader loader = ...;
lm.destroyLoader(loader.getId());
</code></pre>

<p>Does this mean that the loader could somehow already be gone or something? Anyone else see this?</p>

<p>Thanks</p>
