getting Java.Lang.NullPointerException

Richy_GeorgeRichy_George INMember ✭✭✭

Java.Lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.Object.hashCode()' on a null object reference

Getting this on AppInviteDialog.CanShow(); of xamarin.facebook

Anybody have an idea about this issue?

Answers

  • Richy_GeorgeRichy_George INMember ✭✭✭

    05-09 03:19:39.460 D/Mono ( 2999): Assembly Ref addref System.Core[0xabd9c9f0] -> System[0xabbd4898]: 10
    05-09 03:19:39.563 D/Mono ( 2999): Assembly Loader probing location: '/storage/sdcard0/Android/data/Contax.Droid/files/.override/System.Diagnostics.Debug.dll'.
    05-09 03:19:39.565 D/Mono ( 2999): AOT module '/storage/sdcard0/Android/data/Contax.Droid/files/.override/System.Diagnostics.Debug.dll.so' not found: dlopen failed: library "/mnt/asec/Contax.Droid-2/lib/arm/libaot-System.Diagnostics.Debug.dll.so" not found
    05-09 03:19:39.565 D/Mono ( 2999): AOT module '/Users/builder/data/lanes/3511/501e63ce/source/monodroid/builds/install/mono-armv7/lib/mono/aot-cache/arm/System.Diagnostics.Debug.dll.so' not found: dlopen failed: library "/mnt/asec/Contax.Droid-2/lib/arm/libaot-System.Diagnostics.Debug.dll.so" not found
    05-09 03:19:39.565 D/Mono ( 2999): Assembly Ref addref Xamarin.Forms.Core[0xabb0de58] -> System.Diagnostics.Debug[0xabb151f8]: 3
    05-09 03:19:39.753 D/Mono ( 2999): Assembly Ref addref Xamarin.Forms.Platform.Android[0xabb0ed80] -> Xamarin.Android.Support.Design[0xabb06fd8]: 2
    05-09 03:19:39.759 D/Mono ( 2999): Assembly Ref addref Xamarin.Forms.Platform.Android[0xabb0ed80] -> Xamarin.Android.Support.v7.CardView[0xabb09990]: 2
    05-09 03:19:39.775 D/Mono ( 2999): Assembly Ref addref Xamarin.Forms.Platform[0xabb0fc80] -> Xamarin.Forms.Core[0xabb0de58]: 6
    05-09 03:19:39.983 W/art ( 2999): JNI RegisterNativeMethods: attempt to register 0 native methods for md5b60ffeb829f638581ab2bb9b1a7f4f3f.Platform_DefaultRenderer
    05-09 03:19:40.232 D/Mono ( 2999): DllImport searching in: '__Internal' ('(null)').
    05-09 03:19:40.232 D/Mono ( 2999): Searching for 'java_interop_jnienv_call_nonvirtual_boolean_method_a'.
    05-09 03:19:40.232 D/Mono ( 2999): Probing 'java_interop_jnienv_call_nonvirtual_boolean_method_a'.
    05-09 03:19:40.232 D/Mono ( 2999): Found as 'java_interop_jnienv_call_nonvirtual_boolean_method_a'.
    05-09 03:19:40.255 D/OpenGLRenderer( 2999): Render dirty regions requested: true
    Resolved pending breakpoint at 'FacebookService.cs:24,1' to void Contax.Droid.FacebookService.InviteFriends (string appLinkURL, string previewImageURL) [0x0000c].
    Resolved pending breakpoint at 'FacebookService.cs:25,1' to void Contax.Droid.FacebookService.InviteFriends (string appLinkURL, string previewImageURL) [0x00015].
    05-09 03:19:40.787 D/Mono ( 2999): Assembly Ref addref Mono.Android[0xabb25a00] -> System.Runtime.Serialization[0xac3c6200]: 3
    05-09 03:19:43.636 D/Mono ( 2999): DllImport searching in: '__Internal' ('(null)').
    05-09 03:19:43.636 D/Mono ( 2999): Searching for 'java_interop_jnienv_call_static_boolean_method'.
    05-09 03:19:43.636 D/Mono ( 2999): Probing 'java_interop_jnienv_call_static_boolean_method'.
    05-09 03:19:43.636 D/Mono ( 2999): Found as 'java_interop_jnienv_call_static_boolean_method'.
    Unhandled Exception:
    Java.Lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.Object.hashCode()' on a null object reference
    05-09 03:19:45.967 D/Mono ( 2999): DllImport attempting to load: '/system/lib/liblog.so'.
    05-09 03:19:45.967 D/Mono ( 2999): DllImport loaded library '/system/lib/liblog.so'.
    05-09 03:19:45.967 D/Mono ( 2999): DllImport searching in: '/system/lib/liblog.so' ('/system/lib/liblog.so').
    05-09 03:19:45.967 D/Mono ( 2999): Searching for '__android_log_print'.
    05-09 03:19:45.967 D/Mono ( 2999): Probing '__android_log_print'.
    05-09 03:19:45.967 D/Mono ( 2999): Found as '__android_log_print'.
    05-09 03:19:45.976 I/MonoDroid( 2999): UNHANDLED EXCEPTION:
    05-09 03:19:45.989 I/MonoDroid( 2999): Java.Lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.Object.hashCode()' on a null object reference
    05-09 03:19:45.989 I/MonoDroid( 2999): at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in /Users/builder/data/lanes/3511/501e63ce/source/mono/mcs/class/referencesource/mscorlib/system/runtime/exceptionservices/exceptionservicescommon.cs:143
    05-09 03:19:45.989 I/MonoDroid( 2999): at Java.Interop.JniEnvironment+StaticMethods.CallStaticBooleanMethod (Java.Interop.JniObjectReference type, Java.Interop.JniMethodInfo method) [0x00081] in /Users/builder/data/lanes/3511/501e63ce/source/Java.Interop/src/Java.Interop/Java.Interop/JniEnvironment.g.cs:12670
    05-09 03:19:45.989 I/MonoDroid( 2999): at Android.Runtime.JNIEnv.CallStaticBooleanMethod (System.IntPtr jclass, System.IntPtr jmethod) [0x00000] in /Users/builder/data/lanes/3511/501e63ce/source/monodroid/src/Mono.Android/JNIEnv.g.cs:574
    05-09 03:19:45.989 I/MonoDroid( 2999): at Xamarin.Facebook.Share.Widget.AppInviteDialog.CanShow () [0x00032] in <180aa7e8f9c04cffb0be7054ac5eef6d>:0
    05-09 03:19:45.989 I/MonoDroid( 2999): at Contax.Droid.FacebookService.InviteFriends (System.String appLinkURL, System.String previewImageURL) [0x0000c] in C:\Users\richy\Documents\Visual Studio 2015\Projects\Contax\Contax\Contax.Droid\FacebookService.cs:24
    05-09 03:19:45.989 I/MonoDroid( 2999): at Contax.MainPage.OnAppearing () [0x00008] in C:\Users\richy\Documents\Visual Studio 2015\Projects\Contax\Contax\Contax\MainPage.xaml.cs:20
    05-09 03:19:45.989 I/MonoDroid( 2999): at Xamarin.Forms.Page.Xamarin.Forms.IPageController.SendAppearing () [0x00024] in C:\BuildAgent2\work\ca3766cfc22354a1\Xamarin.Forms.Core\Page.cs:308
    05-09 03:19:45.989 I/MonoDroid( 2999): at Xamarin.Forms.Platform.Android.PageRenderer.OnAttachedToWindow () [0x0001e] in C:\BuildAgent2\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\Renderers\PageRenderer.cs:29
    05-09 03:19:45.989 I/MonoDroid( 2999): at Android.Views.View.n_OnAttachedToWindow (System.IntPtr jnienv, System.IntPtr native__this) [0x00009] in /Users/builder/data/lanes/3511/501e63ce/source/monodroid/src/Mono.Android/platforms/android-24/src/generated/Android.Views.View.cs:14139
    05-09 03:19:45.990 I/MonoDroid( 2999): at (wrapper dynamic-method) System.Object:f15fba07-c3d9-4551-8769-8bdd19c3ab82 (intptr,intptr)
    05-09 03:19:45.990 I/MonoDroid( 2999): --- End of managed Java.Lang.NullPointerException stack trace ---
    05-09 03:19:45.990 I/MonoDroid( 2999): java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.Object.hashCode()' on a null object reference
    05-09 03:19:45.990 I/MonoDroid( 2999): at java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:746)
    05-09 03:19:45.990 I/MonoDroid( 2999): at com.facebook.internal.Utility.getDialogFeatureConfig(Utility.java:907)
    05-09 03:19:45.990 I/MonoDroid( 2999): at com.facebook.internal.DialogPresenter.getVersionSpecForFeature(DialogPresenter.java:255)
    05-09 03:19:45.990 I/MonoDroid( 2999): at com.facebook.internal.DialogPresenter.getProtocolVersionForNativeDialog(DialogPresenter.java:241)
    05-09 03:19:45.990 I/MonoDroid( 2999): at com.facebook.internal.DialogPresenter.canPresentNativeDialogWithFeature(DialogPresenter.java:75)
    05-09 03:19:45.990 I/MonoDroid( 2999): at com.facebook.share.widget.AppInviteDialog.canShowNativeDialog(AppInviteDialog.java:135)
    05-09 03:19:45.990 I/MonoDroid( 2999): at com.facebook.share.widget.AppInviteDialog.canShow(AppInviteDialog.java:84)
    05-09 03:19:45.990 I/MonoDroid( 2999): at md5b60ffeb829f638581ab2bb9b1a7f4f3f.PageRenderer.n_onAttachedToWindow(Native Method)
    05-09 03:19:45.990 I/MonoDroid( 2999): at md5b60ffeb829f638581ab2bb9b1a7f4f3f.PageRenderer.onAttachedToWindow(PageRenderer.java:55)
    05-09 03:19:45.990 I/MonoDroid( 2999): at android.view.View.dispatchAttachedToWindow(View.java:13414)
    05-09 03:19:45.990 I/MonoDroid( 2999): at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2709)
    05-09 03:19:45.990 I/MonoDroid( 2999): at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2716)
    05-09 03:19:45.990 I/MonoDroid( 2999): at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2716)
    05-09 03:19:45.990 I/MonoDroid( 2999): at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2716)
    05-09 03:19:45.990 I/MonoDroid( 2999): at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2716)
    05-09 03:19:45.990 I/MonoDroid( 2999): at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2716)
    05-09 03:19:45.990 I/MonoDroid( 2999): at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2716)
    05-09 03:19:45.990 I/MonoDroid( 2999): at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2716)
    05-09 03:19:45.990 I/MonoDroid( 2999): at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1292)
    05-09 03:19:45.990 I/MonoDroid( 2999): at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1054)
    05-09 03:19:45.990 I/MonoDroid( 2999): at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5786)
    05-09 03:19:45.990 I/MonoDroid( 2999): at android.view.Choreographer$CallbackRecord.run(Choreographer.java:767)
    05-09 03:19:45.990 I/MonoDroid( 2999): at android.view.Choreographer.doCallbacks(Choreographer.java:580)
    05-09 03:19:45.990 I/MonoDroid( 2999): at android.view.Choreographer.doFrame(Choreographer.java:550)
    05-09 03:19:45.990 I/MonoDroid( 2999): at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:753)
    05-09 03:19:45.990 I/MonoDroid( 2999): at android.os.Handler.handleCallback(Handler.java:739)
    05-09 03:19:45.990 I/MonoDroid( 2999): at android.os.Handler.dispatchMessage(Handler.java:95)
    05-09 03:19:45.990 I/MonoDroid( 2999): at android.os.Looper.loop(Looper.java:135)
    05-09 03:19:45.990 I/MonoDroid( 2999): at android.app.ActivityThread.main(ActivityThread.java:5233)
    05-09 03:19:45.990 I/MonoDroid( 2999): at java.lang.reflect.Method.invoke(Native Method)
    05-09 03:19:45.990 I/MonoDroid( 2999): at java.lang.reflect.Method.invoke(Method.java:372)
    05-09 03:19:45.990 I/MonoDroid( 2999): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:898)
    05-09 03:19:45.990 I/MonoDroid( 2999): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:693)
    05-09 03:19:45.998 D/Mono ( 2999): DllImport searching in: '__Internal' ('(null)').
    05-09 03:19:45.999 D/Mono ( 2999): Searching for 'java_interop_jnienv_throw'.
    05-09 03:19:45.999 D/Mono ( 2999): Probing 'java_interop_jnienv_throw'.
    05-09 03:19:45.999 D/Mono ( 2999): Found as 'java_interop_jnienv_throw'.
    An unhandled exception occured.
    referenceTable GDEF length=670 1
    referenceTable GSUB length=7202 1
    referenceTable GPOS length=24560 1
    05-09 03:19:46.741 E/mono ( 2999):
    05-09 03:19:46.741 E/mono ( 2999): Unhandled Exception:
    05-09 03:19:46.741 E/mono ( 2999): Java.Lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.Object.hashCode()' on a null object reference
    05-09 03:19:46.741 E/mono ( 2999): --- End of managed Java.Lang.NullPointerException stack trace ---
    05-09 03:19:46.741 E/mono ( 2999): java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.Object.hashCode()' on a null object reference
    05-09 03:19:46.741 E/mono ( 2999): at java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:746)
    05-09 03:19:46.741 E/mono ( 2999): at com.facebook.internal.Utility.getDialogFeatureConfig(Utility.java:907)
    05-09 03:19:46.741 E/mono ( 2999): at com.facebook.internal.DialogPresenter.getVersionSpecForFeature(DialogPresenter.java:255)
    05-09 03:19:46.741 E/mono ( 2999): at com.facebook.internal.DialogPresenter.getProtocolVersionForNativeDialog(DialogPresenter.java:241)
    05-09 03:19:46.741 E/mono ( 2999): at com.facebook.internal.DialogPresenter.canPresentNativeDialogWithFeature(DialogPresenter.java:75)
    05-09 03:19:46.741 E/mono ( 2999): at com.facebook.share.widget.AppInviteDialog.canShowNativeDialog(AppInviteDialog.java:135)
    05-09 03:19:46.741 E/mono ( 2999): at com.facebook.share.widget.AppInviteDialog.canShow(AppInviteDialog.java:84)
    05-09 03:19:46.741 E/mono ( 2999): at md5b60ffeb829f638581ab2bb9b1a7f4f3f.PageRenderer.n_onAttachedToWindow(Native Method)
    05-09 03:19:46.741 E/mono ( 2999): at md5b60ffeb829f638581ab2bb9b1a7f4f3f.PageRenderer.onAttachedToWindow(PageRenderer.java:55)
    05-09 03:19:46.741 E/mono ( 2999): at android.view.View.dispatchAttachedToWindow(View.java:13414)
    05-09 03:19:46.741 E/mono ( 2999): at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2709)
    05-09 03:19:46.741 E/mono ( 2999): at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2716)
    05-09 03:19:46.741 E/mono ( 2999): at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2716)
    05-09 03:19:46.741 E/mono ( 2999): at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2716)
    05-09 03:19:46.741 E/mono ( 2999): at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2716)
    05-09 03:19:46.741 E/mono ( 2999): at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2716)
    05-09 03:19:46.741 E/mono ( 2999): at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2716)
    05-09 03:19:46.741 E/mono ( 2999): at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2716)
    05-09 03:19:46.741 E/mono ( 2999): at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1292)
    05-09 03:19:46.741 E/mono ( 2999): at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1054)
    05-09 03:19:46.741 E/mono ( 2999): at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5786)
    05-09 03:19:46.741 E/mono ( 2999): at android.view.Choreographer$CallbackRecord.run(Choreographer.java:767)
    05-09 03:19:46.741 E/mono ( 2999): at android.view.Choreographer.doCallbacks(Choreographer.java:580)
    05-09 03:19:46.741 E/mono ( 2999): at android.view.Choreographer.doFrame(Choreographer.java:550)
    05-09 03:19:46.741 E/mono ( 2999): at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:753)
    05-09 03:19:46.741 E/mono ( 2999): at android.os.Handler.handleCallback(Handler.java:739)
    05-09 03:19:46.741 E/mono ( 2999): at android.os.Handler.dispatchMessage(Handler.java:95)
    05-09 03:19:46.741 E/mono ( 2999): at android.os.Looper.loop(Looper.java:135)
    05-09 03:19:46.741 E/mono ( 2999): at android.app.ActivityThread.main(ActivityThread.java:5233)
    05-09 03:19:46.741 E/mono ( 2999): at java.lang.reflect.Method.invoke(Native Method)
    05-09 03:19:46.741 E/mono ( 2999): at java.lang.reflect.Method.invoke(Method.java:372)
    05-09 03:19:46.741 E/mono ( 2999): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:898)
    05-09 03:19:46.741 E/mono ( 2999): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:693)
    05-09 03:19:46.741 E/mono ( 2999):
    05-09 03:19:46.742 E/mono-rt ( 2999): [ERROR] FATAL UNHANDLED EXCEPTION: Java.Lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.Object.hashCode()' on a null object reference
    05-09 03:19:46.742 E/mono-rt ( 2999): --- End of managed Java.Lang.NullPointerException stack trace ---
    05-09 03:19:46.742 E/mono-rt ( 2999): java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.Object.hashCode()' on a null object reference
    05-09 03:19:46.742 E/mono-rt ( 2999): at java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:746)
    05-09 03:19:46.742 E/mono-rt ( 2999): at com.facebook.internal.Utility.getDialogFeatureConfig(Utility.java:907)
    05-09 03:19:46.742 E/mono-rt ( 2999): at com.facebook.internal.DialogPresenter.getVersionSpecForFeature(DialogPresenter.java:255)
    05-09 03:19:46.742 E/mono-rt ( 2999): at com.facebook.internal.DialogPresenter.getProtocolVersionForNativeDialog(DialogPresenter.java:241)
    05-09 03:19:46.742 E/mono-rt ( 2999): at com.facebook.internal.DialogPresenter.canPresentNativeDialogWithFeature(DialogPresenter.java:75)
    05-09 03:19:46.742 E/mono-rt ( 2999): at com.facebook.share.widget.AppInviteDialog.canShowNativeDialog(AppInviteDialog.java:135)
    05-09 03:19:46.742 E/mono-rt ( 2999): at com.facebook.share.widget.AppInviteDialog.canShow(AppInviteDialog.java:84)
    05-09 03:19:46.742 E/mono-rt ( 2999): at md5b60ffeb829f638581ab2bb9b1a7f4f3f.PageRenderer.n_onAttachedToWindow(Native Method)
    05-09 03:19:46.742 E/mono-rt ( 2999): at md5b60ffeb829f638581ab2bb9b1a7f4f3f.PageRenderer.onAttachedToWindow(PageRenderer.java:55)
    05-09 03:19:46.742 E/mono-rt ( 2999): at android.view.View.dispatchAttachedToWindow(View.java:13414)
    05-09 03:19:46.742 E/mono-rt ( 2999): at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2709)
    05-09 03:19:46.742 E/mono-rt ( 2999): at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2716)
    05-09 03:19:46.742 E/mono-rt ( 2999): at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2716)
    05-09 03:19:46.742 E/mono-rt ( 2999): at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2716)
    05-09 03:19:46.742 E/mono-rt ( 2999): at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2716)
    05-09 03:19:46.742 E/mono-rt ( 2999): at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2716)
    05-09 03:19:46.742 E/mono-rt ( 2999): at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2716)
    05-09 03:19:46.742 E/mono-rt ( 2999): at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2716)
    05-09 03:19:46.742 E/mono-rt ( 2999): at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1292)
    05-09 03:19:46.742 E/mono-rt ( 2999): at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1054)
    05-09 03:19:46.742 E/mono-rt ( 2999): at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5786)
    05-09 03:19:46.742 E/mono-rt ( 2999): at android.view.Choreographer$CallbackRecord.run(Choreographer.java:767)
    05-09 03:19:46.742 E/mono-rt ( 2999): at android.view.Choreographer.doCallbacks(Choreographer.java:580)
    05-09 03:19:46.742 E/mono-rt ( 2999): at android.view.Choreographer.doFrame(Choreographer.java:550)
    05-09 03:19:46.742 E/mono-rt ( 2999): at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:753)
    05-09 03:19:46.742 E/mono-rt ( 2999): at android.os.Handler.handleCallback(Handler.java:739)
    05-09 03:19:46.742 E/mono-rt ( 2999): at android.os.Handler.dispatchMessage(Handler.java:95)
    05-09 03:19:46.742 E/mono-rt ( 2999): at android.os.Looper.loop(Looper.java:135)
    05-09 03:19:46.742 E/mono-rt ( 2999): at android.app.ActivityThread.main(ActivityThread.java:5233)
    05-09 03:19:46.742 E/mono-rt ( 2999): at java.lang.reflect.Method.invoke(Native Method)
    05-09 03:19:46.742 E/mono-rt ( 2999): at java.lang.reflect.Method.invoke(Method.java:372)
    05-09 03:19:46.742 E/mono-rt ( 2999): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:898)
    05-09 03:19:46.742 E/mono-rt ( 2999): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:693)
    05-09 03:19:46.742 E/mono-rt ( 2999):

  • Richy_GeorgeRichy_George INMember ✭✭✭

    Ok find the issue
    add facebook id in resource/values/string.xml and add the following tag in manifest.xml
    " meta-data
    android:name="com.facebook.sdk.ApplicationId"
    android:value="@string/facebook_app_id" "

  • abdulraufraufiabdulraufraufi PKMember ✭✭

    mono.android.DesignerException: java.lang.NullPointerException
    at mono.android.DesignerException.fromThrowable(DesignerException.java:46)
    at mono.android.DesignerSession.checkRenderResultForError(DesignerSession.java:187)
    at mono.android.DesignerSession.load(DesignerSession.java:239)
    at mono.android.DesignerSession.processMessage(DesignerSession.java:702)
    at mono.android.MessageListener.executeMessage(MessageListener.java:88)
    at mono.android.MessageListener$Runner.run(MessageListener.java:44)
    at java.lang.Thread.run(Thread.java:748)
    Caused by: java.lang.NullPointerException
    at android.content.res.Resources_Delegate.disposeSystem(Resources_Delegate.java:85)
    at com.android.layoutlib.bridge.android.BridgeContext.disposeResources(BridgeContext.java:264)
    at com.android.layoutlib.bridge.impl.RenderAction.tearDown(RenderAction.java:257)
    at com.android.layoutlib.bridge.impl.RenderAction.release(RenderAction.java:220)
    at com.android.layoutlib.bridge.Bridge.createSession(Bridge.java:438)
    at com.android.ide.common.rendering.LayoutLibrary.createSession(LayoutLibrary.java:368)
    at mono.android.DesignerSession.load(DesignerSession.java:233)
    ... 4 more

Sign In or Register to comment.