Buggy code:
JSONObject jsonCityAreaCard = ( ( JSONObject ) ( iCityAreaCard . next ( ) ) ) ; objCityAreaCard . SetAreaID ( Integer . parseInt ( jsonCityAreaCard . get ( "AreaID" ) . toString ( ) ) ) ; objCityAreaCard . setPlayerID ( Integer . parseInt ( jsonCityAreaCard . get ( "PlayerID" ) . toString ( ) ) ) ; objCityAreaCard . SetCost ( Integer . parseInt ( jsonCityAreaCard . get ( "Cost" ) . toString ( ) ) ) ; objCityAreaCard . SetCardID ( jsonCityAreaCard . get ( "CardID" ) . toString ( ) ) ; objCityAreaCard . SetActionID ( jsonCityAreaCard . get ( "ActionID" ) . toString ( ) ) ; objCityAreaCard . SetName ( jsonCityAreaCard . get ( "AreaName" ) . toString ( ) ) ; objCityAreaCard . SetActionDescription ( jsonCityAreaCard . get ( "ActionDescription" ) . toString ( ) ) ; objCityAreaCard . SetIsPlayed ( ( ( Boolean ) ( jsonCityAreaCard . get ( "IsPlayed" ) ) ) ) ; lstCityAreaCards . add ( objCityAreaCard ) ; } JSONArray GreenCard = ( ( JSONArray ) ( json . get ( "GreenCards" ) ) ) ; Iterator iGreenCard = GreenCard . iterator ( ) ; while ( iGreenCard . hasNext ( ) ) { GreenCard objGreenCard = new GreenCard ( ) ; JSONObject jsonGreenCard = ( ( JSONObject ) ( iGreenCard . next ( ) ) ) ; objGreenCard . SetCardID ( jsonGreenCard . get ( "CardID" ) . toString ( ) ) ; objGreenCard . setPlayerID ( Integer . parseInt ( jsonGreenCard . get ( "PlayerID" ) . toString ( ) ) ) ; objGreenCard . SetAction ( jsonGreenCard . get ( "ActionID" ) . toString ( ) . split ( "," ) ) ; objGreenCard . SetActionDescription ( jsonGreenCard . get ( "ActionDescription" ) . toString ( ) ) ; objGreenCard . SetIsPlayed ( ( ( Boolean ) ( jsonGreenCard . get ( "IsPlayed" ) ) ) ) ; objGreenCard . setName ( jsonGreenCard . get ( "Name" ) . toString ( ) ) ; lstGreenCards . add ( objGreenCard ) ; } JSONArray RandomEventCard = ( ( JSONArray ) ( json . get ( "RandomEventCards" ) ) ) ; if ( ( RandomEventCard . size ( ) ) > 0 ) { Iterator iRandomEventCard = RandomEventCard . iterator ( ) ; while ( iRandomEventCard . hasNext ( ) ) { RandomEventCard objRandomEventCard = new RandomEventCard ( ) ; JSONObject jsonRandomEventCard = ( ( JSONObject ) ( iRandomEventCard . next ( ) ) ) ; objRandomEventCard . SetCardID ( jsonRandomEventCard . get ( "CardID" ) . toString ( ) ) ; objRandomEventCard . setPlayerID ( Integer . parseInt ( jsonRandomEventCard . get ( "PlayerID" ) . toString ( ) ) ) ; objRandomEventCard . SetEventID ( jsonRandomEventCard . get ( "EventID" ) . toString ( ) ) ; objRandomEventCard . SetEventDescription ( jsonRandomEventCard . get ( "EventDescription" ) . toString ( ) ) ; objRandomEventCard . SetIsPlayed ( ( ( Boolean ) ( jsonRandomEventCard . get ( "IsPlayed" ) ) ) ) ; objRandomEventCard . setName ( jsonRandomEventCard . get ( "Name" ) . toString ( ) ) ; lstRandomEventCards . add ( objRandomEventCard ) ; } } JSONArray Players = ( ( JSONArray ) ( json . get ( "Players" ) ) ) ; Iterator iPlayer = Players . iterator ( ) ; int iNoOfPlayers = 0 ; while ( iPlayer . hasNext ( ) ) { Player Player = new Player ( ) ; JSONObject jsonPlayer = ( ( JSONObject ) ( iPlayer . next ( ) ) ) ; Player . setPlayer_id ( Integer . parseInt ( jsonPlayer . get ( "player_id" ) . toString ( ) ) ) ; Player . setPlayer_name ( ( ( String ) ( jsonPlayer . get ( "player_name" ) ) ) ) ; Player . setPlayer_color ( ( ( String ) ( jsonPlayer . get ( "player_color" ) ) ) ) ; Player . setBrownCardListCommaSeparated ( ( ( String ) ( jsonPlayer . get ( "brownCardListCommaSeparated" ) ) ) ) ; Player . setGreenCardListCommaSeparated ( ( ( String ) ( jsonPlayer . get ( "greenCardListCommaSeparated" ) ) ) ) ; Player . setPersonalityCardListCommaSeparated ( ( ( String ) ( jsonPlayer . get ( "personalityCardListCommaSeparated" ) ) ) ) ; Player . setCityAreaCardsListCommaSeparated ( ( ( String ) ( jsonPlayer . get ( "cityAreaCardsListCommaSeparated" ) ) ) ) ; Player . setPlayer_active ( ( ( Boolean ) ( jsonPlayer . get ( "player_active" ) ) ) ) ; Player . setPlayer_amount ( Float . parseFloat ( jsonPlayer . get ( "player_amount" ) . toString ( ) ) ) ; lstPlayers . add ( Player ) ; iNoOfPlayers ++ ; } objGoldCoin . setCoin_Type ( Constants . GoldCoin ( ) ) ; objGoldCoin . setCoin_Val ( Constants . GoldCoinValue ( ) ) ; objGoldCoin . setCoin_Available ( Integer . parseInt ( json . get ( "GoldCoins_Avail_Bank" ) . toString ( ) ) ) ; objSilverCoin . setCoin_Type ( Constants . SilverCoin ( ) ) ; objSilverCoin . setCoin_Val ( Constants . SilverCoinValue ( ) ) ; objSilverCoin . setCoin_Available ( Integer . parseInt ( json . get ( "SilverCoins_Avail_Bank" ) . toString ( ) ) ) ; <START_BUG> GameBank . setBankAmount ( ( ( ( Integer . parseInt ( json . get ( "GoldCoins_Avail_Bank" ) . toString ( ) ) ) * 5 ) + ( ( Integer . parseInt ( json . get ( "SilverCoins_Avail_Bank" ) . toString ( ) ) ) * 1 ) ) ) ; <END_BUG> int currentPlayerTurn = Integer . parseInt ( json . get ( "currentPlayerId" ) . toString ( ) ) ; GameLoad . LoadedGame ( iNoOfPlayers , currentPlayerTurn ) ; } public static void LoadedGame ( int iNoOfPlayers , int currentPlayerTurn ) throws IOException , JSONException , ParseException { } public static void LoadNewGame_Cards ( ) throws FileNotFoundException , IOException , JSONException , ParseException { } }

Fix:
GameBank . setBankAmount ( Integer . parseInt ( json . get ( "Total_Avail_Bank" ) . toString ( ) ) ) ;