fbsamples / audience-network

Open source projects to demonstrate SDK and sample code usages and integration, and to collaborate and support peers in this community.
https://developers.facebook.com/docs/audience-network
Other
318 stars 370 forks source link

Crash in carousel ads #156

Closed mahimaseth1 closed 3 years ago

mahimaseth1 commented 3 years ago

There is a crash in carousel ads (Native), anyone comes back to previous screen from the ad screen, there is a crash telegram-cloud-photo-size-5-6204051083815398552-y

java.lang.IllegalArgumentException: (Wrong state class, expecting View State but received class com.facebook.ads.internal.util.parcelable.WrappedParcelable instead. This usually happens when two views of different type have the same id in the same hierarchy. This view's id is id/0xC. Make at android.view.View.onRestoreInstanceState(View.java:22316) at android.view.View.dispatchRestoreInstanceState(View.java:22288) at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:4799) at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:4805) at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:4805) at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:4805) at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:4805) at android.view.View.restoreHierarchyState(View.java:22266) at androidx.fragment.app.Fragment.restoreViewState(Fragment.java:548) at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManagerImpl.java:907) at androidx.fragment.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManagerImpl.java:1238) at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManagerImpl.java:1303) at androidx.fragment.app.BackStackRecord.executePopOps(BackStackRecord.java:500) at androidx.fragment.app.FragmentManagerImpl.executeOps(FragmentManagerImpl.java:2076) at androidx.fragment.app.FragmentManagerImpl.executeOpsTogether(FragmentManagerImpl.java:1869) at androidx.fragment.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManagerImpl.java:1824) at androidx.fragment.app.FragmentManagerImpl.execPendingActions(FragmentManagerImpl.java:1727) at androidx.fragment.app.FragmentManagerImpl$2.run(FragmentManagerImpl.java:150) at android.os.Handler.handleCallback(Handler.java:938) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:246) at android.app.ActivityThread.main(ActivityThread.java:8528) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1130)

github-actions[bot] commented 3 years ago

Dear developers. You will not be able to create new bug reports on GitHub after 28 April, and existing tickets will be automatically closed.

Instead, please use the bug report (https://developers.facebook.com/support/bugs/) tool to report a bug on Audience Network. Our engineers will get back to you as soon as possible.

If you have any other questions or suggestions relating to Facebook Audience Network, please use the online publisher support portal (https://www.facebook.com/business/publishersupport?hc_location=ufi) to submit a request.