Null AttributeSet causing NullPointerException

I'm still not 100% certain why the attributeSet is null at this point.  The code is coming from a ViewStub in ActionBarSherlock that has attributes, but not a shadow class (doesn't seem to be a ShadowViewStub class).  When the ViewStub is casted to a ShadowView, the attributes don't come over.  This check at least lets my tests continue to run and pass.