# Method getBean() of class HippoBean returns null after upgrade to version 13

**URL:** <https://community.bloomreach.com/t/method-getbean-of-class-hippobean-returns-null-after-upgrade-to-version-13/3065>\
**Category:** Experience Manager (PaaS/OnPrem)\
**Created:** [March 8, 2022, 9:19am UTC](https://community.bloomreach.com/t/method-getbean-of-class-hippobean-returns-null-after-upgrade-to-version-13/3065 "2022-03-08T09:19:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Razvan](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/razvan/32/2111_2.png) [@Razvan](https://community.bloomreach.com/u/Razvan)\
**Post date:** [March 8, 2022, 9:19am UTC](https://community.bloomreach.com/t/method-getbean-of-class-hippobean-returns-null-after-upgrade-to-version-13/3065/1 "2022-03-08T09:19:10Z")

</div>

Hello all,

We are currently working on upgrading Bloomreach from version 12.6.25 to version 13.0.0

After the upgrade the version 13 the method getBean() from the class HippoBean is returning null. Below is a code sample:

final HippoBean root = ctx.getSiteContentBaseBean();  
final Mount siteMount = ctx.getMount(SITE\_MOUNT\_ALIAS);  
final Mybean = root.getBean(siteMount.getParameter(SCOPE\_PARAM));

I was reading on the documentation that many of the HST core Sping Beans have been dropped in the version 13. Would there be a workaround to achive this on version 13?

---

<div class="post-metadata">

**Author:** ![Razvan](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/razvan/32/2111_2.png) [@Razvan](https://community.bloomreach.com/u/Razvan)\
**Post date:** [March 9, 2022, 1:48pm UTC](https://community.bloomreach.com/t/method-getbean-of-class-hippobean-returns-null-after-upgrade-to-version-13/3065/3 "2022-03-09T13:48:03Z")

</div>

The reason of the nullpointer was that I had the wrong folder structure created under documents.
