Nostra facebook social sharing android
<p>In my application i used nostria <a href="https://github.com/nostra13/Android-Simple-Social-Sharing" rel="nofollow">social sharer</a>  to do a share on facebook. when i click on share my logcat shows the following error. can someone tell me why i get this error or interpret it to me because i don't understand.</p>

<pre><code>02-26 14:08:40.913: E/AndroidRuntime(5975): FATAL EXCEPTION: main
02-26 14:08:40.913: E/AndroidRuntime(5975): 

android.view.WindowManager$BadTokenException: Unable to add window -- token android.app.LocalActivityManager$LocalActivityRecord@4134b6d8 is not valid; is your activity running?

02-26 14:08:40.913: E/AndroidRuntime(5975):     at android.view.ViewRootImpl.setView(ViewRootImpl.java:585)

02-26 14:08:40.913: E/AndroidRuntime(5975):     at 

android.view.WindowManagerImpl.addView(WindowManagerImpl.java:326)

02-26 14:08:40.913: E/AndroidRuntime(5975):     at 

android.view.WindowManagerImpl.addView(WindowManagerImpl.java:224)


02-26 14:08:40.913: E/AndroidRuntime(5975):     at 
android.view.WindowManagerImpl$CompatModeWrapper.addView(WindowManagerImpl.java:149)
02-26 14:08:40.913: E/AndroidRuntime(5975):     at 

android.view.Window$LocalWindowManager.addView(Window.java:547)
02-26 14:08:40.913: E/AndroidRuntime(5975):     at 

android.app.Dialog.show(Dialog.java:277)


02-26 14:08:40.913: E/AndroidRuntime(5975):     at 

com.nostra13.socialsharing.facebook.extpack.com.facebook.android.Facebook.dialog(Facebook.java:540)
02-26 14:08:40.913: E/AndroidRuntime(5975):     at 

com.nostra13.socialsharing.facebook.extpack.com.facebook.android.Facebook.startDialogAuth(Facebook.java:263)

02-26 14:08:40.913: E/AndroidRuntime(5975):     at 

com.nostra13.socialsharing.facebook.extpack.com.facebook.android.Facebook.authorize(Facebook.java:168)

02-26 14:08:40.913: E/AndroidRuntime(5975):     at 

com.nostra13.socialsharing.facebook.FacebookFacade.au

thorize(FacebookFacade.java:48)
02-26 14:08:40.913: E/AndroidRuntime(5975):     at 

fr.dtweb.gpf.ActualitesDetails$2.onClick(ActualitesDetails.java:136)
02-26 14:08:40.913: E/AndroidRuntime(5975):

at android.view.View.performClick(View.java:4084)
</code></pre>
