We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

SfNavigationDrawer crashes for Xamarin forms 2.3.5 pre6

Thread ID:

Created:

Updated:

Platform:

Replies:

131865 Aug 1,2017 02:22 AM UTC Aug 9,2017 04:15 PM UTC Xamarin.Forms 5
loading
Tags: SfNavigationDrawer
Emil
Asked On August 1, 2017 02:22 AM UTC

Hi,

I know it is in pre-release but xamarin anounced on their forum that this pre6 is closer to the final release and it is expected to be released as xamarin forms 2.4 in following days. 
I wanted to give it a try and it looks like navigationdrawer is crashing, below is the stracktrace. 





Emil
Replied On August 1, 2017 02:25 AM UTC

08-01 04:18:11.221 I/MonoDroid(17238): UNHANDLED EXCEPTION:

08-01 04:18:11.294 I/MonoDroid(17238): System.NullReferenceException: Object reference not set to an instance of an object.

08-01 04:18:11.294 I/MonoDroid(17238):   at Syncfusion.SfNavigationDrawer.XForms.Droid.SfNavigationDrawerRenderer.Convert (Xamarin.Forms.View source, Xamarin.Forms.VisualElement valid) [0x00033] in <e35d9033040141f7aae4a0080463db4b>:0 

08-01 04:18:11.294 I/MonoDroid(17238):   at Syncfusion.SfNavigationDrawer.XForms.Droid.SfNavigationDrawerRenderer.ConvertFormsToNative (Xamarin.Forms.View view, Xamarin.Forms.Rectangle size, Syncfusion.SfNavigationDrawer.XForms.SfNavigationDrawer formsnavigationDrawer, System.Boolean contentView) [0x00007] in <e35d9033040141f7aae4a0080463db4b>:0 

08-01 04:18:11.294 I/MonoDroid(17238):   at Syncfusion.SfNavigationDrawer.XForms.Droid.SfNavigationDrawerMapping.OnNavigationDrawerPropertiesChanged (System.String propertyName, Syncfusion.SfNavigationDrawer.XForms.SfNavigationDrawer formsnavigationDrawer, Com.Syncfusion.Navigationdrawer.SfNavigationDrawer nativenavigationDrawer, System.Single width, System.Single height) [0x0040f] in <e35d9033040141f7aae4a0080463db4b>:0 

08-01 04:18:11.294 I/MonoDroid(17238):   at Syncfusion.SfNavigationDrawer.XForms.Droid.SfNavigationDrawerRenderer.OnElementChanged (Xamarin.Forms.Platform.Android.ElementChangedEventArgs`1[TElement] e) [0x000ed] in <e35d9033040141f7aae4a0080463db4b>:0 

08-01 04:18:11.294 I/MonoDroid(17238):   at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].SetElement (TElement element) [0x00040] in C:\BuildAgent3\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\FastRenderers\ImageRenderer.cs:134 

08-01 04:18:11.294 I/MonoDroid(17238):   at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].Xamarin.Forms.Platform.Android.IVisualElementRenderer.SetElement (Xamarin.Forms.VisualElement element) [0x00024] in C:\BuildAgent3\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\FastRenderers\VisualElementRenderer.cs:67 

08-01 04:18:11.294 I/MonoDroid(17238):   at Xamarin.Forms.Platform.Android.Platform.CreateRenderer (Xamarin.Forms.VisualElement element) [0x00000] in C:\BuildAgent3\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\Renderers\EntryRenderer.cs:43 

08-01 04:18:11.294 I/MonoDroid(17238):   at Xamarin.Forms.Platform.Android.VisualElementPackager.AddChild (Xamarin.Forms.VisualElement view, Xamarin.Forms.Platform.Android.IVisualElementRenderer oldRenderer, Xamarin.Forms.Platform.Android.RendererPool pool, System.Boolean sameChildren) [0x00000] in C:\BuildAgent3\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\FastRenderers\LabelRenderer.cs:42 

08-01 04:18:11.294 I/MonoDroid(17238):   at Xamarin.Forms.Platform.Android.VisualElementPackager.SetElement (Xamarin.Forms.VisualElement oldElement, Xamarin.Forms.VisualElement newElement) [0x00040] in C:\BuildAgent3\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\FastRenderers\LabelRenderer.cs:123 

08-01 04:18:11.294 I/MonoDroid(17238):   at Xamarin.Forms.Platform.Android.VisualElementPackager.Load () [0x00000] in C:\BuildAgent3\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\FastRenderers\LabelRenderer.cs:40 

08-01 04:18:11.294 I/MonoDroid(17238):   at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].SetPackager (Xamarin.Forms.Platform.Android.VisualElementPackager packager) <0x967eaab0 + 0x00073> in <3364a2d206a142d8a54cb7a9b77626da>:0 

08-01 04:18:11.294 I/MonoDroid(17238):   at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].SetElement (TElement element) [0x00040] in C:\BuildAgent3\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\FastRenderers\ImageRenderer.cs:134 

08-01 04:18:11.294 I/MonoDroid(17238):   at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].Xamarin.Forms.Platform.Android.IVisualElementRenderer.SetElement (Xamarin.Forms.VisualElement element) [0x00024] in C:\BuildAgent3\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\FastRenderers\VisualElementRenderer.cs:67 

08-01 04:18:11.294 I/MonoDroid(17238):   at Xamarin.Forms.Platform.Android.Platform.CreateRenderer (Xamarin.Forms.VisualElement element) [0x00000] in C:\BuildAgent3\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\Renderers\EntryRenderer.cs:43 

08-01 04:18:11.294 I/MonoDroid(17238):   at Xamarin.Forms.Platform.Android.VisualElementPackager.AddChild (Xamarin.Forms.VisualElement view, Xamarin.Forms.Platform.Android.IVisualElementRenderer oldRenderer, Xamarin.Forms.Platform.Android.RendererPool pool, System.Boolean sameChildren) [0x00000] in C:\BuildAgent3\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\FastRenderers\LabelRenderer.cs:42 

08-01 04:18:11.294 I/MonoDroid(17238):   at Xamarin.Forms.Platform.Android.VisualElementPackager.SetElement (Xamarin.Forms.VisualElement oldElement, Xamarin.Forms.VisualElement newElement) [0x00040] in C:\BuildAgent3\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\FastRenderers\LabelRenderer.cs:123 

08-01 04:18:11.294 I/MonoDroid(17238):   at Xamarin.Forms.Platform.Android.VisualElementPackager.Load () [0x00000] in C:\BuildAgent3\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\FastRenderers\LabelRenderer.cs:40 





Vanaja  Annasamy [Syncfusion]
Replied On August 1, 2017 04:32 PM UTC

Hi Emil,

Thank you for contacting Syncfusion support.

We were unable to reproduce the reported issue " Exception occurs when using SfNavigationDrawer in Xamarin.Forms 2.3.5 pre6. We have created the sample for your reference. Please download the same from the below link.

Link:  http://www.syncfusion.com/downloads/support/forum/131865/ze/NavigationDrawer_(2)-1219012030 

Please run the sample and check whether issue reproduces at your end. If not please modify your changes in the above sample and revert the modified sample with the issue reproduces at your end and this help us to proceed further with the same.

Regards,
Vanaja R.A,
 


Emil
Replied On August 5, 2017 04:30 PM UTC

Hi, I am sorry but your sample is not working for me. I am getting same error message if I try to run this application without any single change. I dont know what else information can I give you? I am getting exception above. I tried it on 2 different computers on 2 different applications. All other Syncfusion tools are working without any problem 

Emil
Replied On August 5, 2017 04:31 PM UTC

Here is the entire StackTrace 



Xamarin caused by: android.runtime.JavaProxyThrowable: System.NullReferenceException: Object reference not set to an instance of an object at Syncfusion.SfNavigationDrawer.XForms.Droid.SfNavigationDrawerRenderer.Convert (Xamarin.Forms.View source, Xamarin.Forms.VisualElement valid) [0x00033] in :0    at Syncfusion.SfNavigationDrawer.XForms.Droid.SfNavigationDrawerRenderer.ConvertFormsToNative (Xamarin.Forms.View view, Xamarin.Forms.Rectangle size, Syncfusion.SfNavigationDrawer.XForms.SfNavigationDrawer formsnavigationDrawer, System.Boolean contentView) [0x00007] in :0 at Syncfusion.SfNavigationDrawer.XForms.Droid.SfNavigationDrawerMapping.OnNavigationDrawerPropertiesChanged (System.String propertyName, Syncfusion.SfNavigationDrawer.XForms.SfNavigationDrawer formsnavigationDrawer, Com.Syncfusion.Navigationdrawer.SfNavigationDrawer nativenavigationDrawer, System.Single width, System.Single height) [0x0040f] in :0 at Syncfusion.SfNavigationDrawer.XForms.Droid.SfNavigationDrawerRenderer.OnElementChanged (Xamarin.Forms.Platform.Android.ElementChangedEventArgs`1[TElement] e) [0x000ed] in :0 at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].SetElement (TElement element) [0x000e6] in <3364a2d206a142d8a54cb7a9b77626da>:0 at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].Xamarin.Forms.Platform.Android.IVisualElementRenderer.SetElement (Xamarin.Forms.VisualElement element) [0x00027] in <3364a2d206a142d8a54cb7a9b77626da>:0 at Xamarin.Forms.Platform.Android.Platform.CreateRenderer (Xamarin.Forms.VisualElement element) [0x0001f] in <3364a2d206a142d8a54cb7a9b77626da>:0 at Xamarin.Forms.Platform.Android.VisualElementPackager.AddChild (Xamarin.Forms.VisualElement view, Xamarin.Forms.Platform.Android.IVisualElementRenderer oldRenderer, Xamarin.Forms.Platform.Android.RendererPool pool, System.Boolean sameChildren) [0x00023] in <3364a2d206a142d8a54cb7a9b77626da>:0 at Xamarin.Forms.Platform.Android.VisualElementPackager.SetElement (Xamarin.Forms.VisualElement oldElement, Xamarin.Forms.VisualElement newElement) [0x0010d] in <3364a2d206a142d8a54cb7a9b77626da>:0 at Xamarin.Forms.Platform.Android.VisualElementPackager.Load () [0x0000d] in <3364a2d206a142d8a54cb7a9b77626da>:0 at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].SetPackager (Xamarin.Forms.Platform.Android.VisualElementPackager packager) [0x00007] in <3364a2d206a142d8a54cb7a9b77626da>:0 at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].SetElement (TElement element) [0x00102] in <3364a2d206a142d8a54cb7a9b77626da>:0 at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].Xamarin.Forms.Platform.Android.IVisualElementRenderer.SetElement (Xamarin.Forms.VisualElement element) [0x00027] in <3364a2d206a142d8a54cb7a9b77626da>:0 at Xamarin.Forms.Platform.Android.Platform.CreateRenderer (Xamarin.Forms.VisualElement element, Android.Support.V4.App.FragmentManager fragmentManager) [0x00031] in <3364a2d206a142d8a54cb7a9b77626da>:0 at Xamarin.Forms.Platform.Android.AppCompat.FragmentContainer.OnCreateView (Android.Views.LayoutInflater inflater, Android.Views.ViewGroup container, Android.OS.Bundle savedInstanceState) [0x00015] in <3364a2d206a142d8a54cb7a9b77626da>:0 at Android.Support.V4.App.Fragment.n_OnCreateView_Landroid_view_LayoutInflater_Landroid_view_ViewGroup_Landroid_os_Bundle_ (System.IntPtr jnienv, System.IntPtr native__this, System.IntPtr native_inflater, System.IntPtr native_container, System.IntPtr native_savedInstanceState) [0x00022] in <7e083afc7c9045f59e01d9c14931060d>:0 at (wrapper dynamic-method) System.Object:c286c650-061f-4d73-846e-6828e23feb9d (intptr,intptr,intptr,intptr,intptr) at md5270abb39e60627f0f200893b490a1ade.FragmentContainer.n_onCreateView(Native Method) at md5270abb39e60627f0f200893b490a1ade.FragmentContainer.onCreateView(FragmentContainer.java:51) at android.support.v4.app.Fragment.performCreateView(Fragment.java:2192) at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1299) at android.support.v4.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManager.java:1528) at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1595) at android.support.v4.app.BackStackRecord.executeOps(BackStackRecord.java:758) at android.support.v4.app.FragmentManagerImpl.executeOps(FragmentManager.java:2363) at android.support.v4.app.FragmentManagerImpl.executeOpsTogether(FragmentManager.java:2149) at android.support.v4.app.FragmentManagerImpl.optimizeAndExecuteOps(FragmentManager.java:2103) at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:2013) at android.support.v4.app.FragmentManagerImpl$1.run(FragmentManager.java:710) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:234) at android.app.ActivityThread.main(ActivityThread.java:5526) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)


Chozarajan Pandiyarajan [Syncfusion]
Replied On August 9, 2017 04:15 PM UTC

Hi Emil,

We have considered the issue "NavigationDrawer was crashed in Xamarin Forms Version 2.3.5.256pre6 " as a bug and the support incident will be created under your account by tomorrow(10th August) to track the status of this requirement. Please log on to our support website to check for further updates.

Link: https://www.syncfusion.com/account/login?ReturnUrl=/support/directtrac/incidents 
 
Regards,
Chozarajan P 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;