fixed NPE while share content with null text.