BufferPool Error, Debug and Relevant Solution

My Java code kept hitting a buffer pool issue. com.ibm.db2.jcc.am.SqlException: There are no pages currently available in bufferpool “4099”.. SQLCODE=-1218, SQLSTATE=57011, DRIVER=4.19.49 at com.ibm.db2.jcc.am.kd.a(Unknown Source) at com.ibm.db2.jcc.am.kd.a(Unknown Source) at com.ibm.db2.jcc.am.kd.a(Unknown Source) at com.ibm.db2.jcc.am.ResultSet.completeSqlca(Unknown Source) at com.ibm.db2.jcc.am.ResultSet.earlyCloseComplete(Unknown Source) at com.ibm.db2.jcc.t4.bb.a(Unknown Source) at com.ibm.db2.jcc.t4.bb.n(Unknown Source) at com.ibm.db2.jcc.t4.bb.j(Unknown Source) at com.ibm.db2.jcc.t4.bb.d(Unknown Source) at com.ibm.db2.jcc.t4.p.c(Unknown Source) at com.ibm.db2.jcc.t4.vb.j(Unknown Source) […]