Buggy code:
private static final EventHandler mEvHandler = new EventHandler ( OpenExplorer . mFileManager ) ; public static final boolean SHOW_FILE_DETAILS = false ; private static final boolean USE_PRETTY_MENUS = false ; private FragmentManager fragmentManager ; private OpenCursor mPhotoParent ; private OpenCursor mVideoParent ; private OpenCursor mMusicParent ; private OpenCursor mApkParent ; private Boolean mSinglePane = false ; public int getViewMode ( ) { } public void setViewMode ( int mode ) { } public void onCreate ( Bundle savedInstanceState ) { if ( OpenExplorer . BEFORE_HONEYCOMB ) requestWindowFeature ( FEATURE_NO_TITLE ) ; else { OpenExplorer . USE_ACTION_BAR = true ; requestWindowFeature ( FEATURE_ACTION_BAR ) ; } getMimeTypes ( ) ; setupLoggingDb ( ) ; super . onCreate ( savedInstanceState ) ; if ( ( ! ( OpenExplorer . BEFORE_HONEYCOMB ) ) && ( ( getActionBar ( ) ) == null ) ) OpenExplorer . USE_ACTION_BAR = false ; else if ( ! ( OpenExplorer . BEFORE_HONEYCOMB ) ) { OpenExplorer . USE_ACTION_BAR = true ; } try { Signature [ ] sigs = getPackageManager ( ) . getPackageInfo ( getPackageName ( ) , GET_SIGNATURES ) . signatures ; for ( Signature sig : sigs ) if ( ( sig . toCharsString ( ) . indexOf ( "4465627567" ) ) > ( - 1 ) ) OpenExplorer . IS_DEBUG_BUILD = true ; } catch ( NameNotFoundException e1 ) { } setContentView ( main_fragments ) ; ThumbnailCreator . setContext ( this ) ; try { if ( ( isGTV ( ) ) && ( ! ( getPreferences ( ) . getBoolean ( "global" , "welcome" , false ) ) ) ) { showToast ( "Welcome,<seq2seq4repair_space>GoogleTV<seq2seq4repair_space>user!" ) ; getPreferences ( ) . setSetting ( "global" , "welcome" , true ) ; } } catch ( Exception e ) { Logger . LogWarning ( "Couldn't<seq2seq4repair_space>check<seq2seq4repair_space>for<seq2seq4repair_space>GTV" , e ) ; } try { if ( ( getPreferences ( ) . getSetting ( "global" , "pref_root" , false ) ) || ( Preferences . getPreferences ( getApplicationContext ( ) , "global" ) . getBoolean ( "pref_root" , false ) ) ) Default . requestRoot ( ) ; } catch ( Exception e ) { Logger . LogWarning ( "Couldn't<seq2seq4repair_space>get<seq2seq4repair_space>root." , e ) ; } if ( ! ( OpenExplorer . BEFORE_HONEYCOMB ) ) { setTheme ( Theme_Holo ) ; if ( ( OpenExplorer . USE_ACTION_BAR ) && ( ( findViewById ( title_bar ) ) != null ) ) findViewById ( title_bar ) . setVisibility ( GONE ) ; } else { setTheme ( Theme_Black ) ; } if ( ( OpenExplorer . BEFORE_HONEYCOMB ) || ( ! ( OpenExplorer . USE_ACTION_BAR ) ) ) { ViewStub mTitleStub = ( ( ViewStub ) ( findViewById ( title_stub ) ) ) ; if ( mTitleStub != null ) mTitleStub . inflate ( ) ; setOnClicks ( title_icon , title_search , title_menu , title_paste , title_paste_icon , title_paste_text ) ; } if ( ( findViewById ( list_frag ) ) == null ) mSinglePane = true ; else if ( ( findViewById ( list_frag ) . getVisibility ( ) ) == ( View . GONE ) ) mSinglePane = true ; if ( ( fragmentManager ) == null ) { fragmentManager = getSupportFragmentManager ( ) ; fragmentManager . addOnBackStackChangedListener ( this ) ; } if ( ( mFavoritesFragment ) == null ) mFavoritesFragment = new BookmarkFragment ( ) ; if ( ( mSinglePane ) || ( ! ( OpenExplorer . USE_ACTION_BAR ) ) ) { mBookmarksList = new ExpandableListView ( getBaseContext ( ) ) ; <START_BUG> mBookmarksPopup = new BetterPopupWindow ( this , findViewById ( title_icon ) , style . Animations_GrowFromTopLeft ) ; <END_BUG> mBookmarksPopup . setContentView ( mBookmarksList ) ; mBookmarks = new OpenBookmarks ( this , mBookmarksList ) ; for ( int i = 0 ; i < ( mBookmarksList . getCount ( ) ) ; i ++ ) mBookmarksList . expandGroup ( i ) ; } refreshCursors ( ) ; OpenPath path = mLastPath ; if ( ( savedInstanceState == null ) || ( path == null ) ) { String start = getPreferences ( ) . getString ( "global" , "pref_start" , "Videos" ) ; if ( ( ( savedInstanceState != null ) && ( savedInstanceState . containsKey ( "last" ) ) ) && ( ! ( savedInstanceState . getString ( "last" ) . equals ( "" ) ) ) ) { String last = savedInstanceState . getString ( "last" ) ; if ( last . startsWith ( "//" ) ) path = new OpenFile ( last ) ; else if ( ( last . indexOf ( "://" ) ) > ( - 1 ) ) path = new org . brandroid . openmanager . data . OpenFTP ( last , null , new FTPManager ( ) ) ; else if ( last . equals ( "Videos" ) ) path = mVideoParent ; else if ( last . equals ( "Photos" ) ) path = mPhotoParent ; else if ( last . equals ( "Music" ) ) path = mMusicParent ; else path = new OpenFile ( last ) ; } else if ( "//" . equals ( start ) ) path = new OpenFile ( "//" ) ; else if ( ( ( "Videos" . equals ( start ) ) && ( ( mVideoParent ) != null ) ) && ( ( mVideoParent . length ( ) ) > 0 ) ) path = mVideoParent ; else if ( ( ( "Photos" . equals ( start ) ) && ( ( mPhotoParent ) != null ) ) && ( ( mPhotoParent . length ( ) ) > 0 ) ) path = mPhotoParent ; else path = new OpenFile ( Environment . getExternalStorageDirectory ( ) ) ; } updateTitle ( path . getPath ( ) ) ; mLastPath = path ; boolean bAddToStack = true ; mViewMode = getSetting ( path , "view" , mViewMode ) ; FragmentTransaction ft = fragmentManager . beginTransaction ( ) ;

Fix:
mBookmarksPopup = new BetterPopupWindow ( this , findViewById ( title_icon ) ) ;