Welcome Guest Search | Active Topics | Sign In | Register

NullReferenceExcetion when databinding Options
Chris
Posted: Tuesday, June 26, 2007 2:19:14 AM
Rank: Newbie
Groups: Member

Joined: 6/25/2007
Posts: 7
I get the following exception when calling Menu.DataBind()

It seems to be related to the ItemCreated event, as the exception does not occure if I do not subscribe to this event.

As a test I tried:
Private Sub menu_ItemCreated(ByVal sender As Object, ByVal e As EO.Web.NavigationItemEventArgs) Handles menu.ItemCreated
End Sub

This still caused the exception, if I remove this method I no longer get the exception.


[NullReferenceException: Object reference not set to an instance of an object.]
EO.Web.NavigationItemGroup.a(Object A_0, Object A_1, DataBindingCollection A_2, Int32 A_3) +496
EO.Web.Internal.fp.a(NavigationItemGroup A_0, IEnumerator A_1, String[] A_2, Object[] A_3, DataBindingCollection A_4, Int32 A_5, Boolean A_6) +191
EO.Web.Internal.fp.a(NavigationItemGroup A_0, Object A_1) +398
EO.Web.Internal.fp.a(NavigationItemGroup A_0) +136
EO.Web.NavigationItemGroup.b() +42
EO.Web.BaseNavigator.f() +283
EO.Web.DataBoundControl.OnDataBinding(EventArgs e) +68
EO.Web.BaseNavigator.DataBind() +23

eo_support
Posted: Tuesday, June 26, 2007 7:12:09 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,098
Hi Chris,

This is a known bug. We already have an internal build that fixed this problem. Please see your private messages for download location.

Thanks


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.