Buggy code:
private JSONObject explanationIdsObject = new JSONObject ( ) ; private List < Integer > attemptTrySequenceArray = new ArrayList < Integer > ( ) ; private Map < String , Integer > reactionTreeMap = new TreeMap < String , Integer > ( ) ; private Integer resourceScore = 0 ; private Integer collectionScore = 0 ; private Integer attemptCount = 0 ; private List < Integer > attemptStatusArray = new ArrayList < Integer > ( ) ; private String oeQuestionAnswerText = "" ; private int hintId = 0 ; private boolean isExplanationUsed = false ; private boolean isUserAttemptedAnswer = false ; private int userAttemptedQuestionType = 0 ; private String questionType = RESULT . toUpperCase ( ) ; PlaceRequest nextResoruceRequest ; PlaceRequest previousResoruceRequest ; private boolean isOpenEndedAnswerSubmited = false ; private int sessionIdCreationCount = 0 ; public static final Object COLLECTION_PLAYER_TOC_PRESENTER_SLOT = new Object ( ) ; public static final Object COLLECTION_PLAYER_NAVIGATION_SLOT = new Object ( ) ; public static final Object METADATA_PRESENTER_SLOT = new Object ( ) ; private Long totalTimeSpendInMs = 0L ; int count = 0 ; public JSONObject getAnswerIdsObject ( ) { } public void setAnswerIdsObject ( JSONObject answerIdsObject ) { } public JSONObject getHintIdsObject ( ) { } public void setHintIdsObject ( JSONObject hintIdsObject ) { } public JSONObject getExplanationIdsObject ( ) { } public void setExplanationIdsObject ( JSONObject explanationIdsObject ) { } public List < Integer > getAttemptTrySequenceArray ( ) { } public void setAttemptTrySequenceArray ( List < Integer > attemptTrySequenceArray ) { } public List < Integer > getAttemptStatusArray ( ) { } public void setAttemptStatusArray ( List < Integer > attemptStatusArray ) { } public Integer getResourceScore ( ) { } public void setResourceScore ( Integer resourceScore ) { } public Integer getAttemptCount ( ) { } public void setAttemptCount ( Integer attemptCount ) { } public Integer getCollectionScore ( ) { } public void setCollectionScore ( Integer collectionScore ) { } public boolean isOpenEndedAnswerSubmited ( ) { } public void setOpenEndedAnswerSubmited ( boolean isOpenEndedAnswerSubmited ) { } public List < List < JSONObject > > getAnswerObjectArray ( ) { } public void setAnswerObjectArray ( List < List < JSONObject > > answerObjectArray ) { } @ Inject public CollectionPlayerPresenter ( CollectionPlayerMetadataPresenter metadataPresenter , ResourcePlayerMetadataPresenter resoruceMetadataPresenter , CollectionPlayerTocPresenter collectionPlayerTocPresenter , CollectionSharePresenter collectionSharePresenter , ResourceInfoPresenter resourceInfoPresenter , ResourceNarrationPresenter resourceNarrationPresenter , EventBus eventBus , IsCollectionPlayerView view , CollectionPlayerPresenter . IsCollectionPlayerProxy proxy , AddResourceCollectionPresenter addResourcePresenter , AddCollectionPresenter addCollectionPresenter , CollectionFormInPlayPresenter collectionFormInPlayPresenter , CollectionFlagPresenter collectionFlagPresenter , ResourceFlagPresenter resourceFlagPresenter , SignUpPresenter signUpViewPresenter , CollectionEndPresenter collectionEndPresenter , AddResourceContainerPresenter addResourceContainerPresenter ) { } @ ProxyCodeSplit @ NameToken ( PlaceTokens . COLLECTION_PLAY ) public interface IsCollectionPlayerProxy extends ProxyPlace < CollectionPlayerPresenter > { } @ Override protected void revealInParent ( ) { } @ Override public void onBind ( ) { } @ Override protected void onReveal ( ) { } @ Override protected void onReset ( ) { } @ Override public void prepareFromRequest ( PlaceRequest request ) { } private void getClassPageDetails ( String classItemId ) { } public void getClassPageId ( String classItemId ) { } public void getCollectionDetails ( ) { } protected void setPageTitle ( CollectionDo collectionDo ) { } public void showCollectionView ( CollectionDo collectionDo , String collectionId , String resourceId , String tabView , String viewFrom ) { } public PlayerAppServiceAsync getPlayerAppService ( ) { } public void setPlayerAppService ( PlayerAppServiceAsync playerAppService ) { } public SimpleAsyncCallback < CollectionDo > getCollectionDetailsAsync ( ) { } public void setCollectionDetailsAsync ( SimpleAsyncCallback < CollectionDo > collectionDetailsAsync ) { } protected void setCollectionDetails ( CollectionDo collectionDo ) { } public void showCollectionMetadataView ( String tabView ) { } public void showResourceView ( String collectionItemId , String tabView , String viewFrom ) { CollectionItemDo collectionItemDo = getCollectionItemDo ( collectionItemId ) ; if ( collectionItemDo != null ) { this . collectionMetadataId = null ; this . collectionSummaryId = null ; <START_BUG> getView ( ) . hidePlayerButtons ( true , collectionDo . getGooruOid ( ) ) ; <END_BUG> showSignupPopup ( ) ; getView ( ) . setNarrationInFullScreenMode ( ( collectionItemDo != null ? collectionItemDo : null ) , collectionDo ) ; if ( ( this . collectionItemDo ) != null ) { if ( this . collectionItemDo . getCollectionItemId ( ) . equalsIgnoreCase ( collectionItemDo . getCollectionItemId ( ) ) ) { makeButtonActive ( tabView ) ; return ; } } if ( ( AppClientFactory . getPlaceManager ( ) . getRequestParameter ( "cid" ) ) != null ) { resoruceMetadataPresenter . removeRatingContainer ( true ) ; } else { resoruceMetadataPresenter . removeRatingContainer ( false ) ; } boolean isSharable = true ; if ( PRIVATE . equalsIgnoreCase ( collectionDo . getSharing ( ) ) ) { isSharable = false ; } if ( ( tabView != null ) && ( NARRATION . equals ( tabView ) ) ) { enablePlayerButton ( true , true , isSharable , true , true , true , true ) ; makeButtonActive ( tabView ) ; } else if ( ( tabView != null ) && ( tabView . equals ( "fullscreen" ) ) ) { enablePlayerButton ( true , true , isSharable , true , true , true , true ) ; makeButtonActive ( tabView ) ; } else { enablePlayerButton ( true , true , isSharable , false , true , true , true ) ; makeButtonActive ( tabView ) ; } collectionPlayerTocPresenter . hideResourceCountLabel ( true ) ; clearIframeContent ( ) ; this . collectionItemDo = collectionItemDo ; clearSlot ( CollectionPlayerPresenter . COLLECTION_PLAYER_TOC_PRESENTER_SLOT ) ; setNavigationResourcesView ( collectionDo . getGooruOid ( ) , collectionItemDo . getCollectionItemId ( ) , false ) ; createPlayerDataLogs ( ) ; setTotalTimeSpentOnSummaryPage ( ) ; nextResoruceRequest = getNextButtonRequestUrl ( collectionItemId ) ; previousResoruceRequest = getPreviousButtonRequestUrl ( collectionItemId ) ;

Fix:
getView ( ) . hidePlayerButtons ( false , collectionDo . getGooruOid ( ) ) ;