Synchronize SLAM

Mar 3, 2010 at 3:10 PM

Hi,

First, great work guys, this is something we have been looking out for some time.

After installing SLAM and creating a simple relation to a sharepoint list, I got the following error:

System.NullReferenceException: Object reference not set to an instance of an object. at AWS.SLAM.Configuration.XmlSqlDataMapping.GetTypeFields(String id, String typeName) at AWS.SLAM.Events.ListItemUpdater.Update(SPListItem listItem)

Here's how my slam.config file looks like:

<DataMapping DataSchema="SLAM">
    <List Name="VerlofAanvraag" ActivationOrder="1">
      <Fields>
        <Field Name="Gebruiker" SqlType="varchar(255)" SPType="Text" Required="false"></Field>
      </Fields>
    </List>
  </DataMapping>

In my database I have a table called SLAM.VerlofAanvraag containing the following fields: ListItemId varchar(40) not null, ListID varchar(40) not null, ListRelativeId int not null, Gebruiker varchar(255) null. 

I added a few links to some screenshots.

http://www.4shared.com/file/233567501/76e23b3f/slamconfig.html
http://www.4shared.com/file/233567529/4a0fd18f/column_definition.html
http://www.4shared.com/file/233567557/e2f66a4f/database.html

http://www.4shared.com/file/233568807/cf3a1d0f/diagnostic.html

Any help would be nice.

With kind regards,

Koen

Developer
Mar 5, 2010 at 10:03 PM

Koen,

Are you using v1.3?  I'm assuming if you activated it successfully/it created tables that your config validates without any issues and you have event handlers attached to your list.  This is happening when you just edit an item in your list?

-Brian

Mar 8, 2010 at 12:46 PM

Brian,

Thx for your reply, I've figured it out.  I made a typo, the name of the list "VerlofAanvraag" should have been "Verlofaanvraag".

I didn't get any errors when I validated the slam.config.  The error occured when I synchronized for the first time. My version = 1.3.

With kind regards,

Koen