Skip to content
This repository has been archived by the owner on Jul 25, 2019. It is now read-only.

Not attached to Activity #246

Open
jdulaney opened this issue May 16, 2017 · 0 comments
Open

Not attached to Activity #246

jdulaney opened this issue May 16, 2017 · 0 comments

Comments

@jdulaney
Copy link

Version: 1.2.5

Stacktrace:

Fatal Exception: java.lang.IllegalStateException: Fragment af{4652e61} not attached to Activity
       at android.support.v4.app.Fragment.getResources(Fragment.java:636)
       at com.uservoice.uservoicesdk.dialog.SuggestionDialogFragment.android.support.v4.app.Fragment.getString(SuggestionDialogFragment.java:5658)
       at com.uservoice.uservoicesdk.dialog.CommentDialogFragment$1$1$1.com.uservoice.uservoicesdk.dialog.SuggestionDialogFragment.commentPosted(CommentDialogFragment.java:1158)
       at com.uservoice.uservoicesdk.model.Comment$2.onComplete(Comment.java:41)
       at com.uservoice.uservoicesdk.rest.RestTask.onPostExecute(RestTask.java:8104)
       at android.os.AsyncTask.finish(AsyncTask.java:667)
       at android.os.AsyncTask.-wrap1(Unknown Source)
       at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:684)
       at android.os.Handler.dispatchMessage(Handler.java:102)
       at android.os.Looper.loop(Looper.java:154)
       at android.app.ActivityThread.main(ActivityThread.java:6408)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:232)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:751)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant