Edit folder exception?

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
3/28/2018 5:28:16 AM
Gravatar
Total Posts 83

Edit folder exception?

Hi,

We have 2 file archive controls on 1 page in MojoPortal to share files with customers. After a folder is created we can click the edit button on the folder and the edit page will show for 1 of the archive control, the other file archive control will throw the following exception : 

Exception

2018-03-28 12:16:30,333 ERROR 85.197.153.42 - sv-SE - /SharedFiles/Edit.aspx?pageid=3&ItemID=21~folder&mid=5 - mojoPortal.Web.Global -  Referrer(https://www.orbitsupport.se/produkter.aspx) useragent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36 
System.NullReferenceException: Object reference not set to an instance of an object.
   at mojoPortal.Web.SharedFilesUI.SharedFilesHelper.GetAllParentsFolder(SharedFileFolder folder, List`1 allFolders)
   at mojoPortal.Web.SharedFilesUI.SharedFilesHelper.GetAllParentsFolderIds(SharedFileFolder folder, List`1 allFolders)
   at mojoPortal.Web.SharedFilesUI.SharedFilesEdit.PopulateFolderControls()
   at mojoPortal.Web.SharedFilesUI.SharedFilesEdit.PopulateControls()
   at mojoPortal.Web.SharedFilesUI.SharedFilesEdit.Page_Load(Object sender, EventArgs e)
   at System.Web.UI.Control.OnLoad(EventArgs e)
   at mojoPortal.Web.mojoBasePage.OnLoad(EventArgs e)
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
2018-03-28 12:17:16,942 ERROR 85.197.153.42 - sv-SE - /SharedFiles/Edit.aspx?pageid=3&ItemID=26~folder&mid=5 - mojoPortal.Web.Global -  Referrer(https://www.orbitsupport.se/produkter.aspx) useragent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36 
System.NullReferenceException: Object reference not set to an instance of an object.
   at mojoPortal.Web.SharedFilesUI.SharedFilesHelper.GetAllParentsFolder(SharedFileFolder folder, List`1 allFolders)
   at mojoPortal.Web.SharedFilesUI.SharedFilesHelper.GetAllParentsFolderIds(SharedFileFolder folder, List`1 allFolders)
   at mojoPortal.Web.SharedFilesUI.SharedFilesEdit.PopulateFolderControls()
   at mojoPortal.Web.SharedFilesUI.SharedFilesEdit.PopulateControls()
   at mojoPortal.Web.SharedFilesUI.SharedFilesEdit.Page_Load(Object sender, EventArgs e)
   at System.Web.UI.Control.OnLoad(EventArgs e)
   at mojoPortal.Web.mojoBasePage.OnLoad(EventArgs e)
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

It does not mather if its a existing folder or a newly created one.

Also, is there any way to set the desciption on folder?

 

Systeminformation

mojoPortal Version2.4.0.8 MySQL
Operating SystemMicrosoft Windows NT 6.3.9600.0
ASP.NET Information4.0.30319.42000 Running in Full Trust
Serverns tidszon:W. Europe Daylight Time
Serverns lokala tid:(GMT 2) 2018-03-28 12:26:10
Tiden nu i Greenwich (sk. GMT eller UTC):2018-03-28 10:26:10
Version av funktion 

FunktionSchemaversion

blog2.6.1.7
contactform0.0.0.6
eventcalendar0.0.0.6
feed-manager1.0.1.1
forums2.2.0.5
imagegallery0.0.0.8
kdmediaplayer1.0.0.1
linksmodule1.0.0.9
pollfeature-byChristianFredh0.0.0.5
sharedfiles1.0.0.0
surveyfeature1.8.0.0
webstore0.0.7.3

 

 

 

 

You must sign in to post in the forums. This thread is closed to new posts.