Mono Support Mobile Page errors (Closed)

Viewed 54687 time(s), 7 post(s), 7/8/2014 6:29:35 PM - by Chuck
7/8/2014 6:29:35 PM
35 Reputation 5 Total posts

I have installed MonoX v 4.9.40.4906 and I am getting an error in the mobile app when I click on 'Wall' and when I click on a persons name to view their profile.  Any help would be appreciated:

The wall error is:

Error

An error has occured in the application.

This event has been logged and will be addressed by the maintenance department. We appreciate your patience.

Object reference not set to an instance of an object.
at MonoSoftware.MonoX.ModuleGallery.SocialNetworking.Comments.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.AddedControl(Control control, Int32 index) at System.Web.UI.ControlCollection.Add(Control child) at MonoSoftware.MonoX.Utilities.MonoXUtility.RenderMonoXTemplate(Control templateContainer, StringBuilder sb, Hashtable tagObjectMappingCollection, VelocityContext velocityContext, VelocityEngine velocityEngine) at MonoSoftware.MonoX.BasePart.RenderTemplatedPart(Control templateContainer, String templateName, StringBuilder sb, Hashtable tagObjectMappingCollection, VelocityContext velocityContext, VelocityEngine velocityEngine) at MonoSoftware.MonoX.BasePart.RenderTemplatedPart(Control templateContainer, String templateName, String template, Hashtable tagObjectMappingCollection, VelocityContext velocityContext, VelocityEngine velocityEngine) at MonoSoftware.MonoX.BasePart.RenderTemplatedPart(Control templateContainer, String templateName, String template, Hashtable tagObjectMappingCollection, VelocityContext velocityContext) at MonoSoftware.MonoX.ModuleGallery.SocialNetworking.WallNotes.lvItems_OnItemDataBound(Object sender, ListViewItemEventArgs e) at System.Web.UI.WebControls.ListView.OnItemDataBound(ListViewItemEventArgs e) at System.Web.UI.WebControls.ListView.CreateItemsWithoutGroups(ListViewPagedDataSource dataSource, Boolean dataBinding, InsertItemPosition insertPosition, ArrayList keyArray) at System.Web.UI.WebControls.ListView.CreateChildControls(IEnumerable dataSource, Boolean dataBinding) at System.Web.UI.WebControls.ListView.PerformDataBinding(IEnumerable data) at System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data) at System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) at System.Web.UI.WebControls.DataBoundControl.PerformSelect() at System.Web.UI.WebControls.ListView.PerformSelect() at System.Web.UI.WebControls.BaseDataBoundControl.DataBind() at MonoSoftware.MonoX.Utilities.PagerUtility.BindPager(Pager pager, PagerAction bindDelegate, Control pagedControl, Object dataSource, Int32 pagerVirtualCount, Control warningControl) at MonoSoftware.MonoX.Utilities.PagerUtility.BindPager(Pager pager, PagerAction bindDelegate, Control pagedControl, Object dataSource, Int32 pagerVirtualCount) at MonoSoftware.MonoX.ModuleGallery.SocialNetworking.WallNotes.BindData() at MonoSoftware.MonoX.ModuleGallery.SocialNetworking.WallNotes.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

The profile error is:

ErrorAn error has occured in the application.This event has been logged and will be addressed by the maintenance department. We appreciate your patience.

Object reference not set to an instance of an object.
at MonoSoftware.MonoX.ModuleGallery.EditProfile.OnInit(EventArgs e) at MonoSoftware.MonoX.ModuleGallery.Mobile.ProfileModule.EditProfile.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

1
7/9/2014 7:09:37 AM
15993 Reputation 2214 Total posts

Hi,

you are probably missing some elements in the markup, please try to sync the following pages:

\MonoX\ModuleGallery\ProfileModule\EditProfile.ascx ->  \MonoX\ModuleGallery\Mobile\ProfileModule\EditProfile.ascx 
\MonoX\ModuleGallery\SocialNetworking\Comments.ascx -> \MonoX\ModuleGallery\Mobile\Comments.ascx

We will try to fix this in next release, let us know if this works for you.

Regards

2
7/9/2014 7:15:52 AM
443 Reputation 50 Total posts

Hi,
this is missing in Mobile EditProfile.ascx

<asp:RegularExpressionValidator ID="PasswordLength" runat="server" CssClass="ValidatorAdapter" SetFocusOnError="true" ControlToValidate="Password"></asp:RegularExpressionValidator>
Regards,
Igor

3
7/9/2014 12:36:14 PM
35 Reputation 5 Total posts

Igor,  I made the change you noted above and I am now getting  a binding error.  Here is the error:

This event has been logged and will be addressed by the maintenance department. We appreciate your patience.

Object reference not set to an instance of an object.
at MonoSoftware.MonoX.ModuleGallery.EditProfile.DataBind(Boolean rebind) at MonoSoftware.MonoX.ModuleGallery.UserProfile.DataBind(Boolean rebind) at MonoSoftware.MonoX.ModuleGallery.UserProfileModule.DataBind(Boolean isRebind) at MonoSoftware.MonoX.ModuleGallery.UserProfileModule.#Ge(Object sender, EventArgs e) at System.EventHandler.Invoke(Object sender, EventArgs e) at System.Web.UI.Page.OnLoadComplete(EventArgs e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

4
7/9/2014 12:46:50 PM
443 Reputation 50 Total posts

Could you do what KHorvat suggested?

5
7/9/2014 12:51:12 PM
35 Reputation 5 Total posts

My apologies, I failed to mention that I received this error after syncing the pages.  Syncing did fix the comments.acsx issue but produced the error above on  EditProfile.acsx

6
7/9/2014 12:57:02 PM
35 Reputation 5 Total posts

I think I am good!  Thanks for your help!!!

7
This is a demo site for MonoX. Please visit Mono Software for more info.