title: Bean object must not be null in Spring MVC
body: <pre><code>OptionsTag    E org.springframework.web.servlet.tags.RequestContextAwareTag doStartTag Bean object must not be null
                               java.lang.IllegalArgumentException: Bean object must not be null
  at org.springframework.util.Assert.notNull(Assert.java:112)
  at org.springframework.beans.BeanWrapperImpl.setWrappedInstance(BeanWrapperImpl.java:213)
  at org.springframework.beans.BeanWrapperImpl.setWrappedInstance(BeanWrapperImpl.java:202)
  at org.springframework.beans.BeanWrapperImpl.&lt;init&gt;(BeanWrapperImpl.java:152)
  at org.springframework.beans.PropertyAccessorFactory.forBeanPropertyAccess(PropertyAccessorFactory.java:37)
  at org.springframework.web.servlet.tags.form.OptionWriter.doRenderFromCollection(OptionWriter.java:199)
  at org.springframework.web.servlet.tags.form.OptionWriter.renderFromCollection(OptionWriter.java:180)
  at org.springframework.web.servlet.tags.form.OptionWriter.writeOptions(OptionWriter.java:133)
  at org.springframework.web.servlet.tags.form.OptionsTag.writeTagContent(OptionsTag.java:168)
  at org.springframework.web.servlet.tags.form.AbstractFormTag.doStartTagInternal(AbstractFormTag.java:102)
  at org.springframework.web.servlet.tags.RequestContextAwareTag.doStartTag(RequestContextAwareTag.java:79)
  at com.ibm._jsp._searchNAV._jspx_meth_form_options_0(_searchNAV.java:262)
  at com.ibm._jsp._searchNAV._jspx_meth_form_select_0(_searchNAV.java:304)
  at com.ibm._jsp._searchNAV._jspx_meth_form_form_0(_searchNAV.java:442)
  </code></pre>
  
  <p>I am getting above error message, which I have not seen before . please help me in this regard.</p>