Failed to get value of the "MP" column from the "Bamboo MashPoint" field type control. Error when saving list item

rated by 0 users
Answered (Verified) This post has 1 verified answer | 3 Replies | 2 Followers

Top 500 Contributor
3 Posts
Points 81
SiPurdy posted on Wed, Feb 11 2009 5:03 AM

Hi All.

Recently downloaded MashPoint and MashPoint Business Data Column, which I have installed against WSS3. I have successfully created a DBC Definition which has been successfully imported, and created a MashPoint column following the instructions on the website.

Whenever I set a value on the MashPoint column, and save the list item it results in the following error:-

Failed to get value of the "MP" column from the "Bamboo MashPoint" field type control.  See details in log. Exception message: Object reference not set to an instance of an object..

[SPException: Failed to get value of the "MP" column from the "Bamboo MashPoint" field type control.  See details in log. Exception message: Object reference not set to an instance of an object..]

   Microsoft.SharePoint.WebControls.BaseFieldControl.OnLoad(EventArgs e) +1655

   Bamboo.ListCustomColumn.BambooMashPointColumnControl.OnLoad(EventArgs e) +26

   System.Web.UI.Control.LoadRecursive() +47

   System.Web.UI.Control.LoadRecursive() +131

   <Duplicate Lines Removed>

   System.Web.UI.Control.LoadRecursive() +131

   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436

I've followed th einstructions so I'm not quite sure why the error is happening.


Thanks in advance.

 

 

Answered (Verified) Verified Answer

Top 500 Contributor
3 Posts
Points 49
Answered (Verified) BenBlok replied on Tue, Jun 30 2009 3:20 AM
Verified by Jonas Nilsson

I think I found the answer to this issue.

When the specificFinder returns null or an error it causes this error. The confusion was created because my finder worked fine and because the stacktrace ended inside the MashPoint Business Data Column.

All Replies

Top 500 Contributor
3 Posts
Points 49
BenBlok replied on Fri, Jun 26 2009 10:28 AM

I did not see this issue when I posted my new message.

It looks like I have the exact same issue. However my stacktrace is slightly different:

[SPException: Failed to get value of the "mp" column from the "Bamboo MashPoint" field type control. See details in log. Exception message: Object reference not set to an instance of an object..]
  Microsoft.SharePoint.WebControls.BaseFieldControl.OnLoad(EventArgs e) +1986
  Bamboo.ListCustomColumn.BambooMashPointColumnControl.OnLoad(EventArgs e) +40
  System.Web.UI.Control.LoadRecursive() +50
  System.Web.UI.Control.LoadRecursive() +141
  System.Web.UI.Control.LoadRecursive() +141
  System.Web.UI.Control.LoadRecursive() +141
  System.Web.UI.Control.LoadRecursive() +141
  System.Web.UI.Control.LoadRecursive() +141
  System.Web.UI.Control.LoadRecursive() +141
  System.Web.UI.Control.LoadRecursive() +141
  System.Web.UI.Control.LoadRecursive() +141
  System.Web.UI.Control.LoadRecursive() +141
  System.Web.UI.Control.LoadRecursive() +141
  System.Web.UI.Control.LoadRecursive() +141
  System.Web.UI.Control.LoadRecursive() +141
  System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627

Top 500 Contributor
3 Posts
Points 49
Answered (Verified) BenBlok replied on Tue, Jun 30 2009 3:20 AM
Verified by Jonas Nilsson

I think I found the answer to this issue.

When the specificFinder returns null or an error it causes this error. The confusion was created because my finder worked fine and because the stacktrace ended inside the MashPoint Business Data Column.

Top 10 Contributor
434 Posts
Points 12,355

Ben,

Thanks for posting this. We will review the error handling and try to generate a user friendly message.

/Jonas

Page 1 of 1 (4 items) | RSS
Bamboo Solutions Corporation, 2002-2010