MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

Mobile Page errors (Closed) (Mono Support )

Viewed 52333 time(s), 7 post(s) 7/8/2014 6:29:35 PMby Chuck
Chuck

Chuck

7/8/2014 6:29:35 PM
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)

This content has not been rated yet. 
35 Reputation 5 Total posts
khorvat

khorvat

7/9/2014 7:09:37 AM
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
This content has not been rated yet. 
15993 Reputation 2214 Total posts
iruzak

iruzak

7/9/2014 7:15:52 AM
Hi,
this is missing in Mobile EditProfile.ascx
<asp:RegularExpressionValidator ID="PasswordLength" runat="server" CssClass="ValidatorAdapter" SetFocusOnError="true" ControlToValidate="Password"></asp:RegularExpressionValidator>
Regards,
Igor
This content has not been rated yet. 
443 Reputation 50 Total posts
Chuck

Chuck

7/9/2014 12:36:14 PM
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)
This content has not been rated yet. 
35 Reputation 5 Total posts
iruzak

iruzak

7/9/2014 12:46:50 PM
Could you do what KHorvat suggested?
This content has not been rated yet. 
443 Reputation 50 Total posts
Chuck

Chuck

7/9/2014 12:51:12 PM
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
This content has not been rated yet. 
35 Reputation 5 Total posts
Chuck

Chuck

7/9/2014 12:57:02 PM
I think I am good!  Thanks for your help!!!
This content has not been rated yet. 
35 Reputation 5 Total posts