title: Android RecyclerView LayoutManager Exception
body: <p>Hi I'm having an issue with the new <code>Android Lollipop RecyclerView</code> </p>
  
  <p>It <em>keeps crashing</em> with the following exception: </p>
  
  <pre><code>Attempt to invoke virtual method 'void android.support.v7.widget.RecyclerView$LayoutManager.onMeasure(android.support.v7.widget.RecyclerView$Recycler, android.support.v7.widget.RecyclerView$State, int, int)' on a null object reference
  </code></pre>
  
  <p>Full stack trace can found here</p>
  
  <p>The code used to initiate the <code>RecyclerView</code> is the same mostly the same as the tutorial, however for some reason this still complains. Any help would be greatly appreciated. </p>
  
  <p>The code can be accessed at: <a href="https://gist.github.com/binpower93/48f25f2fd3fc9983dec3" rel="nofollow">gist here</a> and layout: <a href="https://gist.github.com/binpower93/30447c6d09a49ae50144" rel="nofollow">this gist</a></p>
  
  <p>None of the <code>views</code>, or <code>objects</code> are <code>null</code> </p>