Loading...

qDiscussionView and qListView error “Object reference not set to an instnace of an object”

Title

qDiscussionView and qListView error “Object reference not set to an instnace of an object”

Description

qDiscussionView and qListView error “Object reference not set to an instnace of an object”

Please wait...

With both qDiscussionView and qListView (pointing to a Document Library) placed on the same page, the following error is thrown on qDiscussionView after uploading a document through qListView:

“Object reference not set to an instnace of an object”

This error does not occur with a Out-of-the-Box SharePoint document library web part and a qDiscussionView web part on the page.

Cause

As designed, after uploading a document using qListView and saving its properties, a parameter called “RootFolder” will be appended to the URL. qDiscussionView can also accept this URL parameter and use it as a filter condition. If the discussion board used by qDiscussionView doesn’t contain the folder passed by this parameter, qDiscussionView will throw an exception.

Resolution

WORKAROUND:

Use javascript to replace the URL parameter “RootFolder” with another one which can’t be recognized by qDiscussionView. Reference the attached detailed steps document.

Defect ID

As designed, after uploading a document using qListView and saving its properties, a parameter called “RootFolder” will be appended to the URL. qDiscussionView can also accept this URL parameter and use it as a filter condition. If the discussion board used by qDiscussionView doesn’t contain the folder passed by this parameter, qDiscussionView will throw an exception.

Leave a Reply