             }
             
             removeComponentFromContainer(transitionGroup, actionBar.skin);
-            actionBar.skin.scrollRect = null;
+            
+            if (actionBar) 
+                actionBar.skin.scrollRect = null;
             
             verticalTransition = false;
             cachedActionBarHeight = 0;

        // Add effects to the parallel effect
        effect.addChild(fadeOut);
        effect.addChild(fadeAndSlide);

        // Ensure bitmaps are rendered prior to invocation of our effect.
        transitionGroup.validateNow();
                
        return effect;
    }
    

        // Suppress slide if our action bar transition behavior is fade-only.
        if (actionBarTransitionMode == ACTION_BAR_MODE_FADE)
            slideDistance = 0;
        
        // If the skin has title content queue new title content for fade in.
        if (actionBar.titleGroup || actionBar.titleDisplay)
        {
