Figured out why null pointer exception was happening in store. The User constructor had a void return type and was thus not getting called when a new user was created. The user's item list is made in the constructor and thus was null leading to the  null pointer exception. This has been fixed and tested.

The use can purchase items in the store now.