robolectric/robolectric — pull request #555 by mboetger (2013-05-22 23:59:38+00:00)
Title: 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.